[Webkit-unassigned] [Bug 226916] New: [CG] Postpone creating and caching the sub-image until it is referenced twice

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 11 01:39:18 PDT 2021


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

            Bug ID: 226916
           Summary: [CG] Postpone creating and caching the sub-image until
                    it is referenced twice
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Images
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sabouhallawa at apple.com

Creating a sub-image using CGImageCreateWithImageInRect() is expensive. But the cost of its creation will be worthy, if it is referenced multiple times. So we should postpone creating and caching the sub-image until it is referenced twice.

-- 
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/20210611/15105add/attachment.htm>


More information about the webkit-unassigned mailing list