[Webkit-unassigned] [Bug 261406] New: GraphicsContext::createImageBuffer should not create ImageBuffers that are backed by display lists

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 11 05:18:44 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=261406

            Bug ID: 261406
           Summary: GraphicsContext::createImageBuffer should not create
                    ImageBuffers that are backed by display lists
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Canvas
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: kkinnunen at apple.com
                CC: dino at apple.com

GraphicsContext::createImageBuffer should not create ImageBuffers that are backed by display lists

The calling code which creates ImageBuffers is never agnostic to whether the created buffer is backed by a display list or not.

If the calling code intends to use the display list as display list, it needs to access the list. This is done by creating DisplayList::Recorder explicitly.

Even if the target GraphicsContext would be a DisplayList::Recorder, creating a new image buffer as a display list and drawing that to the target would end up resulting a bitmap drawn to the target.

-- 
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/20230911/a1043282/attachment-0001.htm>


More information about the webkit-unassigned mailing list