[Webkit-unassigned] [Bug 115743] New: shrink repaint rectangle when clip was applied to canvas.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue May 7 11:16:46 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=115743
Summary: shrink repaint rectangle when clip was applied to
canvas.
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Canvas
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: arno at renevier.net
Hi,
currently, when an operation is performed on the canvas, the enclosing rect is repainted.
But when a clip is applied to the canvas, we could shrink the rectangle to the clipped area, and decrease the repainted area.
We have GraphicsContext::clipBounds which returns us the an enclosing rectangle of the clipped area. So we could use that rectangle, and intersect it with the dirtyRect in CanvasRenderingContext2D::didDraw
--
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