{"action":"created","issue":{"url":"https://api.github.com/repos/openfl/openfl/issues/1406","repository_url":"https://api.github.com/repos/openfl/openfl","labels_url":"https://api.github.com/repos/openfl/openfl/issues/1406/labels{/name}","comments_url":"https://api.github.com/repos/openfl/openfl/issues/1406/comments","events_url":"https://api.github.com/repos/openfl/openfl/issues/1406/events","html_url":"https://github.com/openfl/openfl/issues/1406","id":198783111,"number":1406,"title":"Expand `displayObject.mask` support","user":{"login":"jgranick","id":833997,"avatar_url":"https://avatars.githubusercontent.com/u/833997?v=3","gravatar_id":"","url":"https://api.github.com/users/jgranick","html_url":"https://github.com/jgranick","followers_url":"https://api.github.com/users/jgranick/followers","following_url":"https://api.github.com/users/jgranick/following{/other_user}","gists_url":"https://api.github.com/users/jgranick/gists{/gist_id}","starred_url":"https://api.github.com/users/jgranick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgranick/subscriptions","organizations_url":"https://api.github.com/users/jgranick/orgs","repos_url":"https://api.github.com/users/jgranick/repos","events_url":"https://api.github.com/users/jgranick/events{/privacy}","received_events_url":"https://api.github.com/users/jgranick/received_events","type":"User","site_admin":false},"labels":[{"id":440798482,"url":"https://api.github.com/repos/openfl/openfl/labels/blocked","name":"blocked","color":"f9646e","default":false},{"id":32465749,"url":"https://api.github.com/repos/openfl/openfl/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-01-04T18:57:04Z","updated_at":"2017-01-21T00:25:58Z","closed_at":null,"body":"In addition to the current square only, full on/off masking that is currently supported, the goal is to enable GLSL-based full masking for hardware targets.\r\n\r\nWhen `cacheAsBitmap` is true for both the mask and the masked object, the alpha from the mask should be used. Otherwise, only `alpha > 0` should be considered for masking.\r\n\r\n- [ ] Add GLSL support for masking (with support for different object sizes) in the core shaders\r\n- [ ] Add `cacheAsBitmap` support (using framebuffers), so we can bake a set of objects (such as `Sprite`-based mask) to a single texture we can use for comparing alpha. Use framebuffers for performance\r\n- [ ] Implement the \"are both using `cacheAsBitmap`?\" behavior for alpha gradient masking\r\n- [ ] Evaluate improved Cairo/canvas support for masks"},"comment":{"url":"https://api.github.com/repos/openfl/openfl/issues/comments/274214932","html_url":"https://github.com/openfl/openfl/issues/1406#issuecomment-274214932","issue_url":"https://api.github.com/repos/openfl/openfl/issues/1406","id":274214932,"user":{"login":"jgranick","id":833997,"avatar_url":"https://avatars.githubusercontent.com/u/833997?v=3","gravatar_id":"","url":"https://api.github.com/users/jgranick","html_url":"https://github.com/jgranick","followers_url":"https://api.github.com/users/jgranick/followers","following_url":"https://api.github.com/users/jgranick/following{/other_user}","gists_url":"https://api.github.com/users/jgranick/gists{/gist_id}","starred_url":"https://api.github.com/users/jgranick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgranick/subscriptions","organizations_url":"https://api.github.com/users/jgranick/orgs","repos_url":"https://api.github.com/users/jgranick/repos","events_url":"https://api.github.com/users/jgranick/events{/privacy}","received_events_url":"https://api.github.com/users/jgranick/received_events","type":"User","site_admin":false},"created_at":"2017-01-21T00:25:57Z","updated_at":"2017-01-21T00:25:57Z","body":"Blocked by https://github.com/openfl/openfl/issues/1404"}}
{"actor":{"display_login":"jgranick"}}