WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
119690
[CSS Shapes] Eliminate GraphicsContext3D::ImageExtractor dependency
https://bugs.webkit.org/show_bug.cgi?id=119690
Summary
[CSS Shapes] Eliminate GraphicsContext3D::ImageExtractor dependency
Hans Muller
Reported
2013-08-12 09:26:01 PDT
The reviewer for
bug 116643
had asked for the GraphicsContext3D dependency in Shapes.cpp to be removed. The original plan was to refactor GraphicsContext3D::ImageExtractor et al, to remove its dependency on the rest of the WebGL code. See: The new plan is to render the shape's StyleImage instead:
https://bugs.webkit.org/show_bug.cgi?id=119634
Use ImageBuffer::create() to create an ImageBuffer of the right size. Draw the Image* with the GraphicsContext returned by imageBuffer->context(). Use ImageBuffer::getUnmultipliedImageData() to extract the RGBA pixels data.
Attachments
Add attachment
proposed patch, testcase, etc.
Hans Muller
Comment 1
2013-08-12 09:32:09 PDT
This doesn't need to be a separate bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug