Bug 105609

Summary: Implement blend mode for accelerated canvas with Core Graphics
Product: WebKit Reporter: Rik Cabanier <cabanier>
Component: CanvasAssignee: Nobody <webkit-unassigned>
Status: RESOLVED MOVED    
Severity: Normal CC: bfulgham, krit, mihnea, rniwa, rosca, simon.fraser, thorton, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.8   
Bug Depends on: 100070    
Bug Blocks: 100069    
Attachments:
Description Flags
updated script test none

Rik Cabanier
Reported 2012-12-20 20:39:22 PST
When cgcontext is created with an IOSurfaceRef instead of a CGBitmapContext, certain blend modes either don't work or work incorrectly. Wrong blend modes: color-burn and color-dodge Non working mode: hue, color, saturation and luminosity To reproduce, drop attached file in LayoutTests/fast/canvas/script-tests and run the test. You can also reproduce by opening ayoutTests/fast/canvas/canvas-blend-solid.html in webkit and make sure that accelerated canvas is enabled in the debug menu.
Attachments
updated script test (7.93 KB, text/javascript)
2012-12-20 20:39 PST, Rik Cabanier
no flags
Rik Cabanier
Comment 1 2012-12-20 20:39:49 PST
Created attachment 180472 [details] updated script test
Rik Cabanier
Comment 2 2012-12-20 20:48:12 PST
Also reported as radar 12922671
Rik Cabanier
Comment 3 2013-02-28 12:01:02 PST
(In reply to comment #2) > Also reported as radar 12922671 I attached a small test application that demonstrates the issue
Rik Cabanier
Comment 4 2013-02-28 12:01:20 PST
(In reply to comment #3) > (In reply to comment #2) > > Also reported as radar 12922671 > > I attached a small test application that demonstrates the issue (to the radar bug :-))
Brent Fulgham
Comment 5 2022-07-18 15:18:48 PDT
Brent Fulgham
Comment 6 2022-07-18 15:19:57 PDT
The fix for this issue was outside of the WebKit Open Source project.
Note You need to log in before you can comment on or make changes to this bug.