{"action":"created","issue":{"url":"https://api.github.com/repos/pixelpicosean/Mural/issues/4","labels_url":"https://api.github.com/repos/pixelpicosean/Mural/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/pixelpicosean/Mural/issues/4/comments","events_url":"https://api.github.com/repos/pixelpicosean/Mural/issues/4/events","html_url":"https://github.com/pixelpicosean/Mural/issues/4","id":49215156,"number":4,"title":"Batch \"prepare\" and \"present\" for CanvasContext drawing","user":{"login":"pixelpicosean","id":539820,"avatar_url":"https://avatars.githubusercontent.com/u/539820?v=3","gravatar_id":"","url":"https://api.github.com/users/pixelpicosean","html_url":"https://github.com/pixelpicosean","followers_url":"https://api.github.com/users/pixelpicosean/followers","following_url":"https://api.github.com/users/pixelpicosean/following{/other_user}","gists_url":"https://api.github.com/users/pixelpicosean/gists{/gist_id}","starred_url":"https://api.github.com/users/pixelpicosean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pixelpicosean/subscriptions","organizations_url":"https://api.github.com/users/pixelpicosean/orgs","repos_url":"https://api.github.com/users/pixelpicosean/repos","events_url":"https://api.github.com/users/pixelpicosean/events{/privacy}","received_events_url":"https://api.github.com/users/pixelpicosean/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pixelpicosean/Mural/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-11-18T12:04:47Z","updated_at":"2015-10-06T01:34:37Z","closed_at":"2015-10-06T01:34:37Z","body":"Currently prepare and present are called in every drawing methods (stroke, fill, drawImage...). But CanvasContext is mostly not changed between draw calls.\r\n\r\n# Solution\r\nChecking whether the context instance is just the `JavaScriptView.currentRenderingContext`, only do matrix things if it's not and save itself as the `currentRenderingContext`."},"comment":{"url":"https://api.github.com/repos/pixelpicosean/Mural/issues/comments/145718902","html_url":"https://github.com/pixelpicosean/Mural/issues/4#issuecomment-145718902","issue_url":"https://api.github.com/repos/pixelpicosean/Mural/issues/4","id":145718902,"user":{"login":"pixelpicosean","id":539820,"avatar_url":"https://avatars.githubusercontent.com/u/539820?v=3","gravatar_id":"","url":"https://api.github.com/users/pixelpicosean","html_url":"https://github.com/pixelpicosean","followers_url":"https://api.github.com/users/pixelpicosean/followers","following_url":"https://api.github.com/users/pixelpicosean/following{/other_user}","gists_url":"https://api.github.com/users/pixelpicosean/gists{/gist_id}","starred_url":"https://api.github.com/users/pixelpicosean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pixelpicosean/subscriptions","organizations_url":"https://api.github.com/users/pixelpicosean/orgs","repos_url":"https://api.github.com/users/pixelpicosean/repos","events_url":"https://api.github.com/users/pixelpicosean/events{/privacy}","received_events_url":"https://api.github.com/users/pixelpicosean/received_events","type":"User","site_admin":false},"created_at":"2015-10-06T01:34:37Z","updated_at":"2015-10-06T01:34:37Z","body":"Fixed from latest update."}}