Bug 174337

Summary: Bitmap should try to match asynchronously decoded frames for synchronous drawing if possible
Product: WebKit Reporter: Said Abou-Hallawa <sabouhallawa>
Component: ImagesAssignee: Said Abou-Hallawa <sabouhallawa>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: buildbot, mjs, simon.fraser, thorton, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
buildbot: commit-queue-
Archive of layout-test-results from ews121 for ios-simulator-wk2 none

Said Abou-Hallawa
Reported 2017-07-10 17:05:38 PDT
Currently we assume if an image has been drawn asynchronously, it will never been drawn synchronously after that. The conditions, which controls synchronous versus asynchronous drawing, rely on the settings and the image size. These condition will include soon other things which change at runtime like, for example, an image will be drawn asynchronously only for the first time a tile is painted. But after that the image will be drawn synchronously. So we need to be more efficient and try to use the already decoded frames instead of decoding new ones unnecessarily.
Attachments
Patch (2.98 KB, patch)
2017-07-10 17:37 PDT, Said Abou-Hallawa
buildbot: commit-queue-
Archive of layout-test-results from ews121 for ios-simulator-wk2 (963.45 KB, application/zip)
2017-07-10 19:03 PDT, Build Bot
no flags
Said Abou-Hallawa
Comment 1 2017-07-10 17:37:04 PDT
Build Bot
Comment 2 2017-07-10 19:03:20 PDT
Comment on attachment 315055 [details] Patch Attachment 315055 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: http://webkit-queues.webkit.org/results/4096924 New failing tests: imported/w3c/IndexedDB-private-browsing/idbfactory_open12.html
Build Bot
Comment 3 2017-07-10 19:03:21 PDT
Created attachment 315062 [details] Archive of layout-test-results from ews121 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews121 Port: ios-simulator-wk2 Platform: Mac OS X 10.12.5
Radar WebKit Bug Importer
Comment 4 2017-07-18 13:44:19 PDT
Said Abou-Hallawa
Comment 5 2017-07-27 16:26:57 PDT
The fix of this bug was included in https://bugs.webkit.org/show_bug.cgi?id=174451 *** This bug has been marked as a duplicate of bug 174451 ***
Maciej Stachowiak
Comment 6 2020-06-01 14:57:37 PDT
Comment on attachment 315055 [details] Patch Unflagging and obsoleting, since this patch has been resolved as a duplicate.
Note You need to log in before you can comment on or make changes to this bug.