RESOLVED FIXED 115107
[Qt] Animated opacity does not trigger accelerated compositing
https://bugs.webkit.org/show_bug.cgi?id=115107
Summary [Qt] Animated opacity does not trigger accelerated compositing
Allan Sandfeld Jensen
Reported 2013-04-24 08:10:36 PDT
Opacity is one of the properties where we support accelerated compositing, but only animated transforms and filters they do not themselves trigger accelerated compositing. Since opacity are always performed through some type of compositing (using TransparencyLayers if not accelerated), it should always be faster for us to choose AC. That opacity animations does not trigger compositing was changed in http://trac.webkit.org/changeset/45309, which means it is desired behavior at least on Mac. So we should make sure this is an optional behavior change.
Attachments
Patch (3.95 KB, patch)
2013-04-24 08:15 PDT, Allan Sandfeld Jensen
no flags
Allan Sandfeld Jensen
Comment 1 2013-04-24 08:15:50 PDT
WebKit Commit Bot
Comment 2 2013-04-24 08:18:32 PDT
Attachment 199457 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCore/page/ChromeClient.h', u'Source/WebCore/rendering/RenderLayerCompositor.cpp', u'Source/WebKit/qt/ChangeLog', u'Source/WebKit/qt/WebCoreSupport/ChromeClientQt.cpp']" exit_code: 1 Source/WebCore/rendering/RenderLayerCompositor.cpp:2110: When wrapping a line, only indent 4 spaces. [whitespace/indent] [3] Total errors found: 1 in 5 files If any of these errors are false positives, please file a bug against check-webkit-style.
Allan Sandfeld Jensen
Comment 3 2013-04-24 08:19:26 PDT
(In reply to comment #0) > but only animated transforms and filters they do not themselves trigger accelerated compositing. > Sentence refactoring mistake, read: "but unlike..."
Noam Rosenthal
Comment 4 2013-04-24 09:05:37 PDT
Comment on attachment 199457 [details] Patch Shouldn't AnimationTrigger cover this?
Allan Sandfeld Jensen
Comment 5 2013-04-24 09:35:27 PDT
(In reply to comment #4) > (From update of attachment 199457 [details]) > Shouldn't AnimationTrigger cover this? Well apparently not. It only triggers on animated transforms and filters.
WebKit Commit Bot
Comment 6 2013-04-25 11:18:02 PDT
Comment on attachment 199457 [details] Patch Clearing flags on attachment: 199457 Committed r149123: <http://trac.webkit.org/changeset/149123>
WebKit Commit Bot
Comment 7 2013-04-25 11:18:05 PDT
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.