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
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.