{"action":"created","comment":{"url":"https://api.github.com/repos/pixijs/pixi.js/pulls/comments/44245581","id":44245581,"diff_hunk":"@@ -52,6 +69,22 @@ MaskManager.prototype.popMask = function (target, maskData)\n     {\n         this.popSpriteMask(target, maskData);\n     }\n+    else if (maskData.type === CONST.SHAPES.RECT) {\n+        this.popScissorMask(target, maskData);\n+    }\n+    else if (maskData.graphicsData && maskData.graphicsData.length === 1) {\n+        var graphicsData = maskData.graphicsData[0];\n+        if (graphicsData.type === CONST.SHAPES.RECT && maskData.rotation === 0 &&\n+            maskData.skew.x === 0 && maskData.skew.y === 0)\n+        {\n+            // The graphics object has no rotation or skew and only a single rectangle in it","path":"src/core/renderers/webgl/managers/MaskManager.js","position":43,"original_position":43,"commit_id":"838bc8191718dbfb4b684b67b2d5cc6c224682b6","original_commit_id":"838bc8191718dbfb4b684b67b2d5cc6c224682b6","user":{"login":"englercj","id":944497,"avatar_url":"https://avatars.githubusercontent.com/u/944497?v=3","gravatar_id":"","url":"https://api.github.com/users/englercj","html_url":"https://github.com/englercj","followers_url":"https://api.github.com/users/englercj/followers","following_url":"https://api.github.com/users/englercj/following{/other_user}","gists_url":"https://api.github.com/users/englercj/gists{/gist_id}","starred_url":"https://api.github.com/users/englercj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/englercj/subscriptions","organizations_url":"https://api.github.com/users/englercj/orgs","repos_url":"https://api.github.com/users/englercj/repos","events_url":"https://api.github.com/users/englercj/events{/privacy}","received_events_url":"https://api.github.com/users/englercj/received_events","type":"User","site_admin":false},"body":"DERP, missed that. Carry on! :see_no_evil: ","created_at":"2015-11-09T07:00:00Z","updated_at":"2015-11-09T07:00:00Z","html_url":"https://github.com/pixijs/pixi.js/pull/2184#discussion_r44245581","pull_request_url":"https://api.github.com/repos/pixijs/pixi.js/pulls/2184","_links":{"self":{"href":"https://api.github.com/repos/pixijs/pixi.js/pulls/comments/44245581"},"html":{"href":"https://github.com/pixijs/pixi.js/pull/2184#discussion_r44245581"},"pull_request":{"href":"https://api.github.com/repos/pixijs/pixi.js/pulls/2184"}}},"pull_request":{"url":"https://api.github.com/repos/pixijs/pixi.js/pulls/2184","id":49753136,"html_url":"https://github.com/pixijs/pixi.js/pull/2184","diff_url":"https://github.com/pixijs/pixi.js/pull/2184.diff","patch_url":"https://github.com/pixijs/pixi.js/pull/2184.patch","issue_url":"https://api.github.com/repos/pixijs/pixi.js/issues/2184","number":2184,"state":"open","locked":false,"title":"Webgl scissor manager","user":{"login":"TannerRogalsky","id":654931,"avatar_url":"https://avatars.githubusercontent.com/u/654931?v=3","gravatar_id":"","url":"https://api.github.com/users/TannerRogalsky","html_url":"https://github.com/TannerRogalsky","followers_url":"https://api.github.com/users/TannerRogalsky/followers","following_url":"https://api.github.com/users/TannerRogalsky/following{/other_user}","gists_url":"https://api.github.com/users/TannerRogalsky/gists{/gist_id}","starred_url":"https://api.github.com/users/TannerRogalsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TannerRogalsky/subscriptions","organizations_url":"https://api.github.com/users/TannerRogalsky/orgs","repos_url":"https://api.github.com/users/TannerRogalsky/repos","events_url":"https://api.github.com/users/TannerRogalsky/events{/privacy}","received_events_url":"https://api.github.com/users/TannerRogalsky/received_events","type":"User","site_admin":false},"body":"A Scissor Mask for the WebGLRenderer.\r\n\r\nAPI:\r\n```javascript\r\ndisplayObject.mask = new PIXI.Rectangle(0, 0, 20, 20);\r\n```","created_at":"2015-11-04T22:09:10Z","updated_at":"2015-11-09T07:00:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"40d706dfcad2e1d62b110849aaa1aac83dba4d62","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pixijs/pixi.js/pulls/2184/commits","review_comments_url":"https://api.github.com/repos/pixijs/pixi.js/pulls/2184/comments","review_comment_url":"https://api.github.com/repos/pixijs/pixi.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pixijs/pixi.js/issues/2184/comments","statuses_url":"https://api.github.com/repos/pixijs/pixi.js/statuses/838bc8191718dbfb4b684b67b2d5cc6c224682b6","head":{"label":"TannerRogalsky:webgl_scissor_manager","ref":"webgl_scissor_manager","sha":"838bc8191718dbfb4b684b67b2d5cc6c224682b6","user":{"login":"TannerRogalsky","id":654931,"avatar_url":"https://avatars.githubusercontent.com/u/654931?v=3","gravatar_id":"","url":"https://api.github.com/users/TannerRogalsky","html_url":"https://github.com/TannerRogalsky","followers_url":"https://api.github.com/users/TannerRogalsky/followers","following_url":"https://api.github.com/users/TannerRogalsky/following{/other_user}","gists_url":"https://api.github.com/users/TannerRogalsky/gists{/gist_id}","starred_url":"https://api.github.com/users/TannerRogalsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TannerRogalsky/subscriptions","organizations_url":"https://api.github.com/users/TannerRogalsky/orgs","repos_url":"https://api.github.com/users/TannerRogalsky/repos","events_url":"https://api.github.com/users/TannerRogalsky/events{/privacy}","received_events_url":"https://api.github.com/users/TannerRogalsky/received_events","type":"User","site_admin":false},"repo":{"id":30985702,"name":"pixi.js","full_name":"TannerRogalsky/pixi.js","owner":{"login":"TannerRogalsky","id":654931,"avatar_url":"https://avatars.githubusercontent.com/u/654931?v=3","gravatar_id":"","url":"https://api.github.com/users/TannerRogalsky","html_url":"https://github.com/TannerRogalsky","followers_url":"https://api.github.com/users/TannerRogalsky/followers","following_url":"https://api.github.com/users/TannerRogalsky/following{/other_user}","gists_url":"https://api.github.com/users/TannerRogalsky/gists{/gist_id}","starred_url":"https://api.github.com/users/TannerRogalsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TannerRogalsky/subscriptions","organizations_url":"https://api.github.com/users/TannerRogalsky/orgs","repos_url":"https://api.github.com/users/TannerRogalsky/repos","events_url":"https://api.github.com/users/TannerRogalsky/events{/privacy}","received_events_url":"https://api.github.com/users/TannerRogalsky/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TannerRogalsky/pixi.js","description":"Super fast HTML 5 2D rendering engine that uses webGL with canvas fallback","fork":true,"url":"https://api.github.com/repos/TannerRogalsky/pixi.js","forks_url":"https://api.github.com/repos/TannerRogalsky/pixi.js/forks","keys_url":"https://api.github.com/repos/TannerRogalsky/pixi.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TannerRogalsky/pixi.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TannerRogalsky/pixi.js/teams","hooks_url":"https://api.github.com/repos/TannerRogalsky/pixi.js/hooks","issue_events_url":"https://api.github.com/repos/TannerRogalsky/pixi.js/issues/events{/number}","events_url":"https://api.github.com/repos/TannerRogalsky/pixi.js/events","assignees_url":"https://api.github.com/repos/TannerRogalsky/pixi.js/assignees{/user}","branches_url":"https://api.github.com/repos/TannerRogalsky/pixi.js/branches{/branch}","tags_url":"https://api.github.com/repos/TannerRogalsky/pixi.js/tags","blobs_url":"https://api.github.com/repos/TannerRogalsky/pixi.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TannerRogalsky/pixi.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TannerRogalsky/pixi.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/TannerRogalsky/pixi.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TannerRogalsky/pixi.js/statuses/{sha}","languages_url":"https://api.github.com/repos/TannerRogalsky/pixi.js/languages","stargazers_url":"https://api.github.com/repos/TannerRogalsky/pixi.js/stargazers","contributors_url":"https://api.github.com/repos/TannerRogalsky/pixi.js/contributors","subscribers_url":"https://api.github.com/repos/TannerRogalsky/pixi.js/subscribers","subscription_url":"https://api.github.com/repos/TannerRogalsky/pixi.js/subscription","commits_url":"https://api.github.com/repos/TannerRogalsky/pixi.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/TannerRogalsky/pixi.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/TannerRogalsky/pixi.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/TannerRogalsky/pixi.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/TannerRogalsky/pixi.js/contents/{+path}","compare_url":"https://api.github.com/repos/TannerRogalsky/pixi.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TannerRogalsky/pixi.js/merges","archive_url":"https://api.github.com/repos/TannerRogalsky/pixi.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TannerRogalsky/pixi.js/downloads","issues_url":"https://api.github.com/repos/TannerRogalsky/pixi.js/issues{/number}","pulls_url":"https://api.github.com/repos/TannerRogalsky/pixi.js/pulls{/number}","milestones_url":"https://api.github.com/repos/TannerRogalsky/pixi.js/milestones{/number}","notifications_url":"https://api.github.com/repos/TannerRogalsky/pixi.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TannerRogalsky/pixi.js/labels{/name}","releases_url":"https://api.github.com/repos/TannerRogalsky/pixi.js/releases{/id}","created_at":"2015-02-18T20:39:14Z","updated_at":"2015-02-18T20:41:50Z","pushed_at":"2015-11-06T16:56:46Z","git_url":"git://github.com/TannerRogalsky/pixi.js.git","ssh_url":"git@github.com:TannerRogalsky/pixi.js.git","clone_url":"https://github.com/TannerRogalsky/pixi.js.git","svn_url":"https://github.com/TannerRogalsky/pixi.js","homepage":null,"size":36809,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"pixijs:dev","ref":"dev","sha":"ab542ffda27f3704c813553c748919e565a0b11f","user":{"login":"pixijs","id":5406849,"avatar_url":"https://avatars.githubusercontent.com/u/5406849?v=3","gravatar_id":"","url":"https://api.github.com/users/pixijs","html_url":"https://github.com/pixijs","followers_url":"https://api.github.com/users/pixijs/followers","following_url":"https://api.github.com/users/pixijs/following{/other_user}","gists_url":"https://api.github.com/users/pixijs/gists{/gist_id}","starred_url":"https://api.github.com/users/pixijs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pixijs/subscriptions","organizations_url":"https://api.github.com/users/pixijs/orgs","repos_url":"https://api.github.com/users/pixijs/repos","events_url":"https://api.github.com/users/pixijs/events{/privacy}","received_events_url":"https://api.github.com/users/pixijs/received_events","type":"Organization","site_admin":false},"repo":{"id":7741856,"name":"pixi.js","full_name":"pixijs/pixi.js","owner":{"login":"pixijs","id":5406849,"avatar_url":"https://avatars.githubusercontent.com/u/5406849?v=3","gravatar_id":"","url":"https://api.github.com/users/pixijs","html_url":"https://github.com/pixijs","followers_url":"https://api.github.com/users/pixijs/followers","following_url":"https://api.github.com/users/pixijs/following{/other_user}","gists_url":"https://api.github.com/users/pixijs/gists{/gist_id}","starred_url":"https://api.github.com/users/pixijs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pixijs/subscriptions","organizations_url":"https://api.github.com/users/pixijs/orgs","repos_url":"https://api.github.com/users/pixijs/repos","events_url":"https://api.github.com/users/pixijs/events{/privacy}","received_events_url":"https://api.github.com/users/pixijs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pixijs/pixi.js","description":"Super fast HTML 5 2D rendering engine that uses webGL with canvas fallback","fork":false,"url":"https://api.github.com/repos/pixijs/pixi.js","forks_url":"https://api.github.com/repos/pixijs/pixi.js/forks","keys_url":"https://api.github.com/repos/pixijs/pixi.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pixijs/pixi.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pixijs/pixi.js/teams","hooks_url":"https://api.github.com/repos/pixijs/pixi.js/hooks","issue_events_url":"https://api.github.com/repos/pixijs/pixi.js/issues/events{/number}","events_url":"https://api.github.com/repos/pixijs/pixi.js/events","assignees_url":"https://api.github.com/repos/pixijs/pixi.js/assignees{/user}","branches_url":"https://api.github.com/repos/pixijs/pixi.js/branches{/branch}","tags_url":"https://api.github.com/repos/pixijs/pixi.js/tags","blobs_url":"https://api.github.com/repos/pixijs/pixi.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pixijs/pixi.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pixijs/pixi.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/pixijs/pixi.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pixijs/pixi.js/statuses/{sha}","languages_url":"https://api.github.com/repos/pixijs/pixi.js/languages","stargazers_url":"https://api.github.com/repos/pixijs/pixi.js/stargazers","contributors_url":"https://api.github.com/repos/pixijs/pixi.js/contributors","subscribers_url":"https://api.github.com/repos/pixijs/pixi.js/subscribers","subscription_url":"https://api.github.com/repos/pixijs/pixi.js/subscription","commits_url":"https://api.github.com/repos/pixijs/pixi.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/pixijs/pixi.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/pixijs/pixi.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/pixijs/pixi.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/pixijs/pixi.js/contents/{+path}","compare_url":"https://api.github.com/repos/pixijs/pixi.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pixijs/pixi.js/merges","archive_url":"https://api.github.com/repos/pixijs/pixi.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pixijs/pixi.js/downloads","issues_url":"https://api.github.com/repos/pixijs/pixi.js/issues{/number}","pulls_url":"https://api.github.com/repos/pixijs/pixi.js/pulls{/number}","milestones_url":"https://api.github.com/repos/pixijs/pixi.js/milestones{/number}","notifications_url":"https://api.github.com/repos/pixijs/pixi.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pixijs/pixi.js/labels{/name}","releases_url":"https://api.github.com/repos/pixijs/pixi.js/releases{/id}","created_at":"2013-01-21T22:40:50Z","updated_at":"2015-11-09T05:38:38Z","pushed_at":"2015-11-08T12:30:09Z","git_url":"git://github.com/pixijs/pixi.js.git","ssh_url":"git@github.com:pixijs/pixi.js.git","clone_url":"https://github.com/pixijs/pixi.js.git","svn_url":"https://github.com/pixijs/pixi.js","homepage":null,"size":61837,"stargazers_count":8941,"watchers_count":8941,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1807,"mirror_url":null,"open_issues_count":202,"forks":1807,"open_issues":202,"watchers":8941,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pixijs/pixi.js/pulls/2184"},"html":{"href":"https://github.com/pixijs/pixi.js/pull/2184"},"issue":{"href":"https://api.github.com/repos/pixijs/pixi.js/issues/2184"},"comments":{"href":"https://api.github.com/repos/pixijs/pixi.js/issues/2184/comments"},"review_comments":{"href":"https://api.github.com/repos/pixijs/pixi.js/pulls/2184/comments"},"review_comment":{"href":"https://api.github.com/repos/pixijs/pixi.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pixijs/pixi.js/pulls/2184/commits"},"statuses":{"href":"https://api.github.com/repos/pixijs/pixi.js/statuses/838bc8191718dbfb4b684b67b2d5cc6c224682b6"}}}}