Bug 119690

Summary: [CSS Shapes] Eliminate GraphicsContext3D::ImageExtractor dependency
Product: WebKit Reporter: Hans Muller <giles_joplin>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 116643    

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.