[Webkit-unassigned] [Bug 115342] New: CSS Gradients are drawn into an Image instead of directly access Gradient
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Apr 28 21:44:13 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=115342
Summary: CSS Gradients are drawn into an Image instead of
directly access Gradient
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: krit at webkit.org
CC: hyatt at apple.com, koivisto at iki.fi,
simon.fraser at apple.com, pdr at google.com
If I understand the code correctly, a CSS Gradient gets drawn into an Image and this image is draw onto the surface. I would like to change the code to use the Gradient class directly to draw to the surface, because:
1) For most platforms it should be more efficient to draw the gradient on command
2) On many platforms the quality could be improve by that (zooming)
3) This will allow to support animations
4) CSS Gradients can be used on SVG elements
I looked at the code briefly. It looks like it should not be to hard to implement that. The biggest problem might just be in RenderBoxModelObject::paintFillLayerExtended. I should be able to report later.
CCing people who might have some input.
--
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