[Webkit-unassigned] [Bug 249915] New: Don't update MemoryCache during drawImage if the image is decoded into DiscardableMemory

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 27 17:51:34 PST 2022


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

            Bug ID: 249915
           Summary: Don't update MemoryCache during drawImage if the image
                    is decoded into DiscardableMemory
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Images
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ahmad.saleem792 at gmail.com
                CC: sabouhallawa at apple.com

Hi Team,

While going through Blink commit, I came across following performance optimization done for improving Canvas benchmarks on mobile devices.

Blink Commit - https://chromium.googlesource.com/chromium/blink/+/53145cb436d6033ee2c3d0d1974ba719642c320f

WebKit GitHub Source - https://github.com/WebKit/WebKit/blob/55b3d145b200da84bc53e06eb13832850e0579c0/Source/WebCore/loader/cache/CachedImage.cpp#L655

I am not sure whether we need this or not but I just wanted to raise this for discussion purposes whether we can use something similar to get from this commit for any future optimisation.

For discussion only.

Thanks!

-- 
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/20221228/8216e3c6/attachment-0001.htm>


More information about the webkit-unassigned mailing list