[Webkit-unassigned] [Bug 235758] New: [GPU Process] Move ImageBuffer::createCompatibleImageBuffer() to GraphicsContext
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jan 28 01:00:17 PST 2022
https://bugs.webkit.org/show_bug.cgi?id=235758
Bug ID: 235758
Summary: [GPU Process] Move
ImageBuffer::createCompatibleImageBuffer() to
GraphicsContext
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
Assignee: webkit-unassigned at lists.webkit.org
Reporter: sabouhallawa at apple.com
CC: bfulgham at webkit.org, simon.fraser at apple.com,
zalan at apple.com
GraphicsContext::createCompatibleImageBuffer() will be able to create an ImageBuffer similar to the underlaying ImageBuffer of the GraphicsContext. RecorderImpl and RemoteDisplayListRecorderProxy are superclasses of GraphicsContext, so they can override this method and return the desired type of ImageBuffer.
The goal is to replace all the create() of all the intermediate ImageBuffers by createCompatibleImageBuffer(). So they can be from the same type as the type of the ImageBuffer that they are going to be drawn to eventually. RenderingPurpose should only be used for the top-level ImageBuffers.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220128/3b5e2d1c/attachment.htm>
More information about the webkit-unassigned
mailing list