RESOLVED WONTFIX 100071
Add canvas blending modes for chromium
https://bugs.webkit.org/show_bug.cgi?id=100071
Summary Add canvas blending modes for chromium
Rik Cabanier
Reported 2012-10-22 20:28:42 PDT
This bug will add the canvas blend modes using the chromium backend
Attachments
not for review. awaiting fixes in skia (111.50 KB, patch)
2013-03-13 10:38 PDT, Rik Cabanier
no flags
Patch (111.55 KB, patch)
2013-03-22 10:48 PDT, Rik Cabanier
no flags
Archive of layout-test-results from gce-cr-linux-01 (563.06 KB, application/zip)
2013-03-22 11:53 PDT, WebKit Review Bot
no flags
Patch (111.61 KB, patch)
2013-03-27 08:42 PDT, Rik Cabanier
no flags
Patch (114.12 KB, patch)
2013-03-28 23:42 PDT, Ion Rosca
no flags
Rik Cabanier
Comment 1 2013-03-13 10:38:17 PDT
Created attachment 192946 [details] not for review. awaiting fixes in skia
WebKit Review Bot
Comment 2 2013-03-13 11:25:37 PDT
Comment on attachment 192946 [details] not for review. awaiting fixes in skia Attachment 192946 [details] did not pass chromium-ews (chromium-xvfb): Output: http://webkit-commit-queue.appspot.com/results/17179068 New failing tests: fast/canvas/canvas-blend-solid.html
Justin Novosad
Comment 3 2013-03-13 20:32:34 PDT
Comment on attachment 192946 [details] not for review. awaiting fixes in skia View in context: https://bugs.webkit.org/attachment.cgi?id=192946&action=review What are the skia fixes this is blocked on? Why the expected test results with FAILs in them? > Source/WebCore/platform/graphics/skia/SkiaUtils.cpp:89 > + for (unsigned i = 0; i < SK_ARRAY_COUNT(gMapBlendOpsToXfermodeModes); i++) { This loop is unfortunate. Is there no way we could turn this into: return gMapBlendOpsToXfermodeModes[blendMode]
Rik Cabanier
Comment 4 2013-03-13 21:14:39 PDT
(In reply to comment #3) > (From update of attachment 192946 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=192946&action=review > > What are the skia fixes this is blocked on? https://chromiumcodereview.appspot.com/12662006/ > > Why the expected test results with FAILs in them? The core graphics libraries don't follow the blending modes exactly. I'm trying to get Apple to fix them. If they won't fix them, I will have to put platform specific test results in. > > > Source/WebCore/platform/graphics/skia/SkiaUtils.cpp:89 > > + for (unsigned i = 0; i < SK_ARRAY_COUNT(gMapBlendOpsToXfermodeModes); i++) { > > This loop is unfortunate. Is there no way we could turn this into: return gMapBlendOpsToXfermodeModes[blendMode] I agree. I followed the example right under my new code that sets up the compositing
Rik Cabanier
Comment 5 2013-03-22 10:48:05 PDT
WebKit Review Bot
Comment 6 2013-03-22 11:52:58 PDT
Comment on attachment 194595 [details] Patch Attachment 194595 [details] did not pass chromium-ews (chromium-xvfb): Output: http://webkit-commit-queue.appspot.com/results/17200676 New failing tests: fast/canvas/canvas-blend-solid.html
WebKit Review Bot
Comment 7 2013-03-22 11:53:01 PDT
Created attachment 194609 [details] Archive of layout-test-results from gce-cr-linux-01 The attached test failures were seen while running run-webkit-tests on the chromium-ews. Bot: gce-cr-linux-01 Port: <class 'webkitpy.common.config.ports.ChromiumXVFBPort'> Platform: Linux-3.3.8-gcg-201212281604-x86_64-with-GCEL-10.04-gcel_10.04
Rik Cabanier
Comment 8 2013-03-27 08:42:08 PDT
Ion Rosca
Comment 9 2013-03-28 23:42:19 PDT
Darin Adler
Comment 10 2013-04-09 09:26:10 PDT
Comment on attachment 195701 [details] Patch Clearing flags from a Skia-specific patch.
Stephen Chenney
Comment 11 2013-04-09 10:50:10 PDT
(In reply to comment #10) > (From update of attachment 195701 [details]) > Clearing flags from a Skia-specific patch. Sorry, from now on I'll make sure to clear flags as I migrate bugs.
Note You need to log in before you can comment on or make changes to this bug.