Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(584)

Issue 101623002: Drop "only composite opacity animations when already in compositing mode". (Closed)

Created:
7 years ago by dshwang
Modified:
7 years ago
CC:
blink-reviews, shans, rjwright, alancutter (OOO until 2018), Mike Lawther (Google), zoltan1, eae+blinkwatch, leviw+renderwatch, blink-layers+watch_chromium.org, dstockwell, Timothy Loh, jchaffraix+rendering, darktears, bemjb+rendering_chromium.org, Steve Block, dino_apple.com, Eric Willigers
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Drop "only composite opacity animations when already in compositing mode". This CL fixes a bug caused by incomplete memory optimization made in r162118. r162118 logic causes a complicated bug. When there is webkit-transform animation as well as opacity animation, and it is not in compositing mode, it is possible for Blink to handle opacity animation incorrectly, because Blink expects opacity animation is accelerated. It can be fixed, but code would be more complicated, so this CL drops this incomplete memory optimization. BUG=324685 TEST=transitions/opacity-transform-transitions-inside-iframe.html Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=163136

Patch Set 1 #

Total comments: 2

Patch Set 2 : Make try-bot pass #

Patch Set 3 : Use internals.forceCompositingUpdate instead of setTimeout #

Total comments: 2

Patch Set 4 : Get rid of useless setTimeout #

Total comments: 2

Patch Set 5 : Seperate window.internals and window.testRunner #

Messages

Total messages: 15 (0 generated)
dshwang
7 years ago (2013-12-03 10:57:34 UTC) #1
dshwang
This CL fixes BUG=324685. transitions/opacity-transform-transitions-inside-iframe.html is minimal test cast of BUG=324685 This bug is related ...
7 years ago (2013-12-03 11:03:11 UTC) #2
dshwang
https://codereview.chromium.org/101623002/diff/1/LayoutTests/transitions/resources/opacity-transform-transitions-inside-iframe-inner.html File LayoutTests/transitions/resources/opacity-transform-transitions-inside-iframe-inner.html (right): https://codereview.chromium.org/101623002/diff/1/LayoutTests/transitions/resources/opacity-transform-transitions-inside-iframe-inner.html#newcode59 LayoutTests/transitions/resources/opacity-transform-transitions-inside-iframe-inner.html:59: } Let me explain this test in detail. - ...
7 years ago (2013-12-03 11:08:58 UTC) #3
ajuma
Note that while r162118 was needed to address a regression on Mac OS 10.6 (caused ...
7 years ago (2013-12-03 14:19:25 UTC) #4
dshwang
On 2013/12/03 14:19:25, ajuma wrote: > Note that while r162118 was needed to address a ...
7 years ago (2013-12-03 14:41:50 UTC) #5
ajuma
https://codereview.chromium.org/101623002/diff/40001/LayoutTests/transitions/resources/opacity-transform-transitions-inside-iframe-inner.html File LayoutTests/transitions/resources/opacity-transform-transitions-inside-iframe-inner.html (right): https://codereview.chromium.org/101623002/diff/40001/LayoutTests/transitions/resources/opacity-transform-transitions-inside-iframe-inner.html#newcode59 LayoutTests/transitions/resources/opacity-transform-transitions-inside-iframe-inner.html:59: }, 0.5); Can we do without this setTimeout? (I'm ...
7 years ago (2013-12-03 16:30:37 UTC) #6
dshwang
https://codereview.chromium.org/101623002/diff/40001/LayoutTests/transitions/resources/opacity-transform-transitions-inside-iframe-inner.html File LayoutTests/transitions/resources/opacity-transform-transitions-inside-iframe-inner.html (right): https://codereview.chromium.org/101623002/diff/40001/LayoutTests/transitions/resources/opacity-transform-transitions-inside-iframe-inner.html#newcode59 LayoutTests/transitions/resources/opacity-transform-transitions-inside-iframe-inner.html:59: }, 0.5); On 2013/12/03 16:30:37, ajuma wrote: > Can ...
7 years ago (2013-12-03 16:50:21 UTC) #7
ajuma
Thanks, non-OWNER lgtm.
7 years ago (2013-12-03 16:53:18 UTC) #8
dshwang
On 2013/12/03 16:53:18, ajuma wrote: > Thanks, non-OWNER lgtm. Thank you for good review. This ...
7 years ago (2013-12-03 17:10:21 UTC) #9
dstockwell
https://codereview.chromium.org/101623002/diff/60001/LayoutTests/transitions/opacity-transition-zindex.html File LayoutTests/transitions/opacity-transition-zindex.html (right): https://codereview.chromium.org/101623002/diff/60001/LayoutTests/transitions/opacity-transition-zindex.html#newcode50 LayoutTests/transitions/opacity-transition-zindex.html:50: if (window.internals && window.testRunner) { Please format this as: ...
7 years ago (2013-12-03 18:49:30 UTC) #10
dshwang
On 2013/12/03 18:49:30, dstockwell wrote: > https://codereview.chromium.org/101623002/diff/60001/LayoutTests/transitions/opacity-transition-zindex.html > File LayoutTests/transitions/opacity-transition-zindex.html (right): > > https://codereview.chromium.org/101623002/diff/60001/LayoutTests/transitions/opacity-transition-zindex.html#newcode50 > ...
7 years ago (2013-12-03 19:17:30 UTC) #11
dstockwell
lgtm
7 years ago (2013-12-04 00:57:32 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dongseong.hwang@intel.com/101623002/80001
7 years ago (2013-12-04 00:58:03 UTC) #13
commit-bot: I haz the power
Change committed as 163136
7 years ago (2013-12-04 01:57:30 UTC) #14
dshwang
7 years ago (2013-12-04 06:35:45 UTC) #15
Message was sent while issue was closed.
Thank you for review!

Powered by Google App Engine
This is Rietveld 408576698