RESOLVED FIXED 102043
Coordinated Graphics: Directly composited animated GIFs only render the first image.
https://bugs.webkit.org/show_bug.cgi?id=102043
Summary Coordinated Graphics: Directly composited animated GIFs only render the first...
Dongseong Hwang
Reported 2012-11-12 21:17:14 PST
CoordinatedGraphicsLayer::setContentsToImage() checks the pointer to the image, not nativeImagePtr, so Coordinated Graphics currently draws only the first frame of gif animations. This patch makes Coordinated Graphics draw gif animations. In addition, handling a composited image is not the similar style of handling a layer state, filters, animations and etc. This patch fits handling a composited image to others.
Attachments
Patch (11.52 KB, patch)
2012-11-12 21:20 PST, Dongseong Hwang
no flags
Patch (11.76 KB, patch)
2012-11-12 21:50 PST, Dongseong Hwang
no flags
Dongseong Hwang
Comment 1 2012-11-12 21:20:26 PST
Noam Rosenthal
Comment 2 2012-11-12 21:32:15 PST
Comment on attachment 173809 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=173809&action=review Nice! Some rewording suggestions, otherwise good. > Source/WebKit2/ChangeLog:14 > + In addition, handling a composited image is not the similar style of handling a > + layer state, filters, animations and etc. This patch fits handling a composited > + image to others. In addition, this patch modifies the style of direct image compositing code to match other parts of CoordinatedGraphicsLayer. > Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.cpp:357 > + // Make the decision about whether the image has changed. This line is not needed.
Dongseong Hwang
Comment 3 2012-11-12 21:50:49 PST
Dongseong Hwang
Comment 4 2012-11-12 21:52:06 PST
(In reply to comment #2) > (From update of attachment 173809 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=173809&action=review > > Nice! Some rewording suggestions, otherwise good. Thank you for review! > > > Source/WebKit2/ChangeLog:14 > > + In addition, handling a composited image is not the similar style of handling a > > + layer state, filters, animations and etc. This patch fits handling a composited > > + image to others. > > In addition, this patch modifies the style of direct image compositing code to match other parts of CoordinatedGraphicsLayer. Done. Thanks you, English teacher! > > > Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.cpp:357 > > + // Make the decision about whether the image has changed. > > This line is not needed. Done.
WebKit Review Bot
Comment 5 2012-11-13 00:11:52 PST
Comment on attachment 173818 [details] Patch Clearing flags on attachment: 173818 Committed r134376: <http://trac.webkit.org/changeset/134376>
WebKit Review Bot
Comment 6 2012-11-13 00:11:55 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.