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

Issue 11529006: [cc] Fold more update calls into updateDrawProperties (Closed)

Created:
8 years ago by nduca
Modified:
8 years ago
CC:
chromium-reviews, cc-bugs_chromium.org
Visibility:
Public.

Description

[cc] Fold more update calls into updateDrawProperties Now that we have a clean update system, we can remove the manual calling of updateRootScrollLayerImplTransform and other similar kinds of "I'm going to do something manually in a half dozen places because I can." This removes some surface area on LTHI which helps with the LTHI->LTI push. BUG=155209 R=enne,skyostil Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=173406

Patch Set 1 #

Total comments: 4

Patch Set 2 : wip #

Patch Set 3 : works, but funky #

Total comments: 2

Patch Set 4 : with enne comments applied #

Patch Set 5 : . #

Total comments: 12

Patch Set 6 : nits #

Total comments: 3

Patch Set 7 : for cq #

Patch Set 8 : cq really #

Patch Set 9 : rebase #

Patch Set 10 : rebase yet again ughhh #

Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -78 lines) Patch
M cc/layer_impl_unittest.cc View 1 2 3 4 5 6 7 5 chunks +6 lines, -3 lines 0 comments Download
M cc/layer_tree_host_impl.h View 1 2 3 4 5 6 7 8 9 4 chunks +8 lines, -12 lines 0 comments Download
M cc/layer_tree_host_impl.cc View 1 2 3 4 5 6 7 8 9 5 chunks +9 lines, -36 lines 0 comments Download
M cc/layer_tree_host_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 16 chunks +39 lines, -23 lines 0 comments Download
M cc/layer_tree_host_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +6 lines, -2 lines 0 comments Download
M cc/test/fake_layer_tree_host_impl.h View 1 1 chunk +5 lines, -1 line 0 comments Download
M cc/test/layer_tree_test_common.h View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 26 (0 generated)
nduca
Does this make sense, you two?
8 years ago (2012-12-11 08:21:32 UTC) #1
Sami
I think this also improves things by making the tests behave more like the real ...
8 years ago (2012-12-11 11:51:54 UTC) #2
danakj
https://codereview.chromium.org/11529006/diff/1/cc/layer_tree_host_impl.h File cc/layer_tree_host_impl.h (right): https://codereview.chromium.org/11529006/diff/1/cc/layer_tree_host_impl.h#newcode259 cc/layer_tree_host_impl.h:259: void updateDrawProperties(); You shouldn't need to make this public, ...
8 years ago (2012-12-11 15:49:24 UTC) #3
enne (OOO)
https://codereview.chromium.org/11529006/diff/1/cc/layer_tree_host_impl_unittest.cc File cc/layer_tree_host_impl_unittest.cc (right): https://codereview.chromium.org/11529006/diff/1/cc/layer_tree_host_impl_unittest.cc#newcode1297 cc/layer_tree_host_impl_unittest.cc:1297: m_hostImpl->updateDrawProperties(); On 2012/12/11 15:49:24, danakj wrote: > You could ...
8 years ago (2012-12-11 17:09:02 UTC) #4
nduca
Okay. @enne, PTAL. Dana, your help is needed to resolve an issue in the pinchZoomPan ...
8 years ago (2012-12-12 08:30:30 UTC) #5
nduca
thanks to some (HUGE) help from @shawnsingh, I present patchet #3, which passes tests but ...
8 years ago (2012-12-12 10:43:00 UTC) #6
enne (OOO)
https://codereview.chromium.org/11529006/diff/9008/cc/layer_tree_host_impl.cc File cc/layer_tree_host_impl.cc (right): https://codereview.chromium.org/11529006/diff/9008/cc/layer_tree_host_impl.cc#newcode1189 cc/layer_tree_host_impl.cc:1189: // TODO(nduca): Try to delete this before landing. I ...
8 years ago (2012-12-12 18:44:24 UTC) #7
wjmaclean
On 2012/12/12 18:44:24, enne wrote: > https://codereview.chromium.org/11529006/diff/9008/cc/layer_tree_host_impl.cc > File cc/layer_tree_host_impl.cc (right): > > https://codereview.chromium.org/11529006/diff/9008/cc/layer_tree_host_impl.cc#newcode1189 > ...
8 years ago (2012-12-12 21:55:35 UTC) #8
nduca
Okay. Dana, Enne, need your approval plz.
8 years ago (2012-12-12 22:11:00 UTC) #9
danakj
lookin :) On Wed, Dec 12, 2012 at 5:11 PM, <nduca@chromium.org> wrote: > Okay. Dana, ...
8 years ago (2012-12-12 22:11:37 UTC) #10
enne (OOO)
lgtm, but I'd definitely like extra eyes from danakj on the math
8 years ago (2012-12-12 22:22:33 UTC) #11
danakj
https://codereview.chromium.org/11529006/diff/10016/cc/layer_tree_host_impl.cc File cc/layer_tree_host_impl.cc (left): https://codereview.chromium.org/11529006/diff/10016/cc/layer_tree_host_impl.cc#oldcode769 cc/layer_tree_host_impl.cc:769: DCHECK(canDraw()); I don't like this.. I assume this is ...
8 years ago (2012-12-13 00:03:37 UTC) #12
enne (OOO)
https://codereview.chromium.org/11529006/diff/10016/cc/layer_tree_host_impl.cc File cc/layer_tree_host_impl.cc (left): https://codereview.chromium.org/11529006/diff/10016/cc/layer_tree_host_impl.cc#oldcode769 cc/layer_tree_host_impl.cc:769: DCHECK(canDraw()); On 2012/12/13 00:03:37, danakj wrote: > I don't ...
8 years ago (2012-12-13 00:18:07 UTC) #13
danakj
https://codereview.chromium.org/11529006/diff/10016/cc/layer_tree_host_impl.cc File cc/layer_tree_host_impl.cc (left): https://codereview.chromium.org/11529006/diff/10016/cc/layer_tree_host_impl.cc#oldcode769 cc/layer_tree_host_impl.cc:769: DCHECK(canDraw()); On 2012/12/13 00:18:07, enne wrote: > On 2012/12/13 ...
8 years ago (2012-12-13 00:20:14 UTC) #14
nduca
I've still got the earlyOut on canDraw, its just slightly later. I think we should ...
8 years ago (2012-12-13 00:27:05 UTC) #15
danakj
https://codereview.chromium.org/11529006/diff/10016/cc/layer_tree_host_impl_unittest.cc File cc/layer_tree_host_impl_unittest.cc (right): https://codereview.chromium.org/11529006/diff/10016/cc/layer_tree_host_impl_unittest.cc#newcode4651 cc/layer_tree_host_impl_unittest.cc:4651: gfx::Vector2d scrollDeltaInViewportSpace = ToFlooredVector2d(gfx::ScaleVector2d(scrollDelta, m_hostImpl->totalPageScaleFactor())); On further thought I ...
8 years ago (2012-12-13 00:30:47 UTC) #16
danakj
https://codereview.chromium.org/11529006/diff/10016/cc/layer_tree_host_impl_unittest.cc File cc/layer_tree_host_impl_unittest.cc (right): https://codereview.chromium.org/11529006/diff/10016/cc/layer_tree_host_impl_unittest.cc#newcode4651 cc/layer_tree_host_impl_unittest.cc:4651: gfx::Vector2d scrollDeltaInViewportSpace = ToFlooredVector2d(gfx::ScaleVector2d(scrollDelta, m_hostImpl->totalPageScaleFactor())); On 2012/12/13 00:30:47, danakj ...
8 years ago (2012-12-13 00:56:33 UTC) #17
nduca
Okay so clearly this patch just unearths some brain damage in pinch path that was, ...
8 years ago (2012-12-13 06:30:00 UTC) #18
danakj
On Wed, Dec 12, 2012 at 10:30 PM, <nduca@chromium.org> wrote: > Okay so clearly this ...
8 years ago (2012-12-13 07:02:23 UTC) #19
wjmaclean
Not sure if this is related: https://codereview.chromium.org/11570008/
8 years ago (2012-12-13 16:10:37 UTC) #20
nduca
folks, 2 days 9 hours on this patch. Whats holding up final review approval.
8 years ago (2012-12-13 17:56:27 UTC) #21
wjmaclean
On 2012/12/13 17:56:27, nduca wrote: > folks, 2 days 9 hours on this patch. Whats ...
8 years ago (2012-12-13 18:06:18 UTC) #22
danakj
Oh, sorry Nat. Without a "PTAL" I didn't know to look for a new version. ...
8 years ago (2012-12-13 18:12:27 UTC) #23
enne (OOO)
https://codereview.chromium.org/11529006/diff/23001/cc/test/fake_layer_tree_host_impl.h File cc/test/fake_layer_tree_host_impl.h (right): https://codereview.chromium.org/11529006/diff/23001/cc/test/fake_layer_tree_host_impl.h#newcode19 cc/test/fake_layer_tree_host_impl.h:19: void forcePrepareToDraw() { On 2012/12/13 18:12:28, danakj wrote: > ...
8 years ago (2012-12-13 18:17:31 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nduca@chromium.org/11529006/41002
8 years ago (2012-12-16 23:21:17 UTC) #25
commit-bot: I haz the power
8 years ago (2012-12-17 01:16:50 UTC) #26
Message was sent while issue was closed.
Change committed as 173406

Powered by Google App Engine
This is Rietveld 408576698