RESOLVED WONTFIX 99135
Change creation of layer when blendmode is set
https://bugs.webkit.org/show_bug.cgi?id=99135
Summary Change creation of layer when blendmode is set
Rik Cabanier
Reported 2012-10-11 21:51:59 PDT
The current code always creates a layer when it sees a blend mode. This is not always necessary since Core Graphics supports this idiom. This patch will change the code so it no longer creates a layer. Subsequent patches are needed for cases that layers are needed such as when there is video, nested blending or filters.
Attachments
Patch (6.89 KB, patch)
2012-10-11 22:12 PDT, Rik Cabanier
simon.fraser: review-
simon.fraser: commit-queue-
Rik Cabanier
Comment 1 2012-10-11 22:12:30 PDT
Simon Fraser (smfr)
Comment 2 2012-10-12 09:58:01 PDT
Comment on attachment 168358 [details] Patch You need to change RenderLayerCompositor::requiresCompositingForIndirectReason() to make a compositing layer when blending is on, when children are composited. You need a test that has a blended div with a 3d-transformed descendant to test this.
Rik Cabanier
Comment 3 2012-10-12 12:14:08 PDT
(In reply to comment #2) > (From update of attachment 168358 [details]) > You need to change RenderLayerCompositor::requiresCompositingForIndirectReason() to make a compositing layer when blending is on, when children are composited. > > You need a test that has a blended div with a 3d-transformed descendant to test this. I know that this is not a complete patch. As we discussed, I want to land the CG code first but the tests won't work since the layer negates the effect of blending.
Note You need to log in before you can comment on or make changes to this bug.