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

Issue 1246363002: Avoid updating compositor animations in hitTest path (Closed)

Created:
5 years, 5 months ago by qiankun
Modified:
5 years, 3 months ago
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Avoid updating compositor animations in hitTest path Before doing hit testing, animations has already been updated. So update the animation again in hitTest will result in wrong animation. This CL moves updatecompositorAnimations out of hitTest path. BUG=501297

Patch Set 1 #

Total comments: 1

Patch Set 2 : fix comments#7 #

Total comments: 1

Patch Set 3 : fix the bug in another method #

Total comments: 1

Patch Set 4 : revert advancing lifecycle to CompositingClean prior to hit testing #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -13 lines) Patch
M Source/core/frame/FrameView.h View 1 2 3 1 chunk +0 lines, -4 lines 0 comments Download
M Source/core/frame/FrameView.cpp View 1 2 3 1 chunk +0 lines, -6 lines 1 comment Download
M Source/core/layout/LayoutView.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M Source/core/paint/DeprecatedPaintLayer.cpp View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 29 (6 generated)
qiankun
PTAL.
5 years, 5 months ago (2015-07-22 09:08:29 UTC) #2
chrishtr
https://codereview.chromium.org/1246363002/diff/1/Source/core/frame/FrameView.cpp File Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/1246363002/diff/1/Source/core/frame/FrameView.cpp#newcode2462 Source/core/frame/FrameView.cpp:2462: view->compositor()->updateIfNeededRecursive(); updateIfNeededRecursive() should be a no-op if called when ...
5 years, 5 months ago (2015-07-22 14:14:20 UTC) #3
qiankun
On 2015/07/22 14:14:20, chrishtr wrote: > https://codereview.chromium.org/1246363002/diff/1/Source/core/frame/FrameView.cpp > File Source/core/frame/FrameView.cpp (right): > > https://codereview.chromium.org/1246363002/diff/1/Source/core/frame/FrameView.cpp#newcode2462 > ...
5 years, 5 months ago (2015-07-22 15:07:08 UTC) #4
chrishtr
On 2015/07/22 at 15:07:08, qiankun.miao wrote: > On 2015/07/22 14:14:20, chrishtr wrote: > > https://codereview.chromium.org/1246363002/diff/1/Source/core/frame/FrameView.cpp ...
5 years, 5 months ago (2015-07-22 15:15:51 UTC) #5
qiankun
On 2015/07/22 15:15:51, chrishtr wrote: > On 2015/07/22 at 15:07:08, qiankun.miao wrote: > > On ...
5 years, 5 months ago (2015-07-22 15:23:07 UTC) #6
chrishtr
On 2015/07/22 at 15:23:07, qiankun.miao wrote: > On 2015/07/22 15:15:51, chrishtr wrote: > > On ...
5 years, 5 months ago (2015-07-22 15:28:29 UTC) #7
chrishtr
+dstockwell
5 years, 5 months ago (2015-07-22 15:28:42 UTC) #9
qiankun
On 2015/07/22 15:28:29, chrishtr wrote: > On 2015/07/22 at 15:23:07, qiankun.miao wrote: > > On ...
5 years, 5 months ago (2015-07-23 09:10:25 UTC) #10
chrishtr
Doug, does this change seem reasonable to you? In addition, whatever makes updateCompositorAnimations not a ...
5 years, 5 months ago (2015-07-23 15:54:45 UTC) #11
qiankun
https://codereview.chromium.org/1246363002/diff/20001/Source/core/layout/compositing/DeprecatedPaintLayerCompositor.cpp File Source/core/layout/compositing/DeprecatedPaintLayerCompositor.cpp (left): https://codereview.chromium.org/1246363002/diff/20001/Source/core/layout/compositing/DeprecatedPaintLayerCompositor.cpp#oldcode242 Source/core/layout/compositing/DeprecatedPaintLayerCompositor.cpp:242: Move these code out of updateIfNeededRecursive will make subFrame ...
5 years, 5 months ago (2015-07-24 10:57:08 UTC) #13
chrishtr
This CL is fine as long as dstockwell or timloh approves of it, and we ...
5 years, 5 months ago (2015-07-24 14:12:51 UTC) #15
qiankun
On 2015/07/24 14:12:51, chrishtr -- OOO til Aug 3 wrote: > This CL is fine ...
5 years, 4 months ago (2015-07-29 17:27:18 UTC) #16
qiankun
On 2015/07/24 14:12:51, chrishtr -- OOO til Aug 3 wrote: > This CL is fine ...
5 years, 4 months ago (2015-07-29 17:27:19 UTC) #17
dstockwell
> > Why will updatecompositorAnimations reschedule the animation? That seems like > > the bug ...
5 years, 4 months ago (2015-08-06 01:31:22 UTC) #18
qiankun
On 2015/08/06 01:31:22, dstockwell wrote: > > > Why will updatecompositorAnimations reschedule the animation? That ...
5 years, 4 months ago (2015-08-06 04:22:21 UTC) #19
dstockwell
On 2015/08/06 at 04:22:21, qiankun.miao wrote: > On 2015/08/06 01:31:22, dstockwell wrote: > > > ...
5 years, 4 months ago (2015-08-13 07:46:40 UTC) #21
esprehn
This is a lot of copy pasta, I'd prefer we didn't do this. The paths ...
5 years, 4 months ago (2015-08-13 08:53:49 UTC) #22
esprehn
On 2015/08/13 at 08:53:49, esprehn wrote: > This is a lot of copy pasta, I'd ...
5 years, 4 months ago (2015-08-13 09:03:36 UTC) #24
qiankun
https://codereview.chromium.org/1246363002/diff/60001/Source/core/frame/FrameView.cpp File Source/core/frame/FrameView.cpp (left): https://codereview.chromium.org/1246363002/diff/60001/Source/core/frame/FrameView.cpp#oldcode2462 Source/core/frame/FrameView.cpp:2462: view->compositor()->updateIfNeededRecursive(); I agree with esprehn that this fix has ...
5 years, 4 months ago (2015-08-14 09:40:47 UTC) #25
esprehn
This seems like an animation engine bug, you should be able to run the pipeline ...
5 years, 4 months ago (2015-08-14 15:45:35 UTC) #26
qiankun
hi reviewers, I updated the patch. The current problem is due to animation update in ...
5 years, 4 months ago (2015-08-25 07:26:38 UTC) #27
esprehn
This still doesn't seem right, please fix the animation engine. The bug is not in ...
5 years, 4 months ago (2015-08-25 07:37:53 UTC) #28
qiankun
5 years, 3 months ago (2015-08-31 09:10:56 UTC) #29
The bug should be fixed in https://codereview.chromium.org/1319653002. Close
this CL.

Powered by Google App Engine
This is Rietveld 408576698