[Webkit-unassigned] [Bug 214515] New: [CG] Flushing ImageBuffer IOSurface cached image can happen when creating an image for encoding only

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 17 23:55:01 PDT 2020


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

            Bug ID: 214515
           Summary: [CG] Flushing ImageBuffer IOSurface cached image can
                    happen when creating an image for encoding only
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Canvas
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sabouhallawa at apple.com
                CC: dino at apple.com

This is related to bug 65767 and bug 157966ز

Flushing the IOSurface of the ImageBuffer after calling putImageData() is expensive. Drawing the ImageBuffer to a GraphicsContext causes the cached image of the IOSurface to be flushed. But we should flush the cached image when getting the CFData of the ImageBuffer.

There is no direct command to flush the cached image of an IOSurface. We do this by drawing an empty rectangle to the context of the IOSurface.

-- 
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/20200718/169b4510/attachment.htm>


More information about the webkit-unassigned mailing list