[Webkit-unassigned] [Bug 175339] New: Change the animated image tests to use the 'webkitImageFrameReady' event

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 8 13:05:58 PDT 2017


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

            Bug ID: 175339
           Summary: Change the animated image tests to use the
                    'webkitImageFrameReady' event
           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

The 'webkitImageFrameReady' event is used in some tests but not in all the tests. The tests which do not use it, use the Internals.setImageFrameDecodingDuration() API. This API tries to synchronize the image decoding with the drawing actions. Using the 'webkitImageFrameReady' event can synchronize the decoding better and more reliable. So the requirements are:

1. Use the 'webkitImageFrameReady' event to detect exactly when an image frame is ready for drawing.
2. Remove Internals.setImageFrameDecodingDuration() API. Instead add Internals.setAnimatedImageAsyncDecodingEnabledForTesting() which is similar to Internals.setLargeImageAsyncDecodingEnabledForTesting(). Use the new API to force asynchronous decoding for animated images.

-- 
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/20170808/b25bcb06/attachment.html>


More information about the webkit-unassigned mailing list