[Webkit-unassigned] [Bug 79659] New: Optimize Canvas fill and drawImage with SourceIn, DestinationIn, SourceOut, and DestinationAtop using transparencyLayer.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Feb 27 04:10:50 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=79659
Summary: Optimize Canvas fill and drawImage with SourceIn,
DestinationIn, SourceOut, and DestinationAtop using
transparencyLayer.
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Canvas
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: luxtella at company100.net
CC: mdelaney at apple.com
SourceIn, DestinationIn, SourceOut, and DestinationAtop need to update an
entire canvas, and transparencyLayer can handle well if amending little.
I represented it using GraphicsContextQt that was easy to change.
The previous implementation requires new graphicsContext creation. It is better to
delegate jobs like this to each platform. Especially, the previous implementation
causes large performance hit to GPU implementation (i.e. ACCELERATED_2D_CANVAS).
If other ports implement endTransparencyLayer like Qt, fullCanvasCompositedFill and
fullCanvasCompositedDrawImage can be removed.
Following test cases cover this patch.
fast/canvas/canvas-composite-alpha.html
fast/canvas/canvas-composite-canvas.html
fast/canvas/canvas-composite-fill-repaint.html
fast/canvas/canvas-composite-image.html
fast/canvas/canvas-composite-transformclip.html
fast/canvas/canvas-composite.html
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list