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

Issue 1688563002: cc :: Move some tracking of layer_property_changed to main thread. (Closed)

Created:
4 years, 10 months ago by jaydasika
Modified:
4 years, 10 months ago
Reviewers:
ajuma, weiliangc, enne (OOO)
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc :: Move some tracking of layer_property_changed to main thread. This CL computes layer_property_changed for some properties that do not change on the compositor on the main thread and pushes the computed value to compositor. This is necessary to make computation of layer_property_changed on compositor independant of the layer hierarchy information. BUG=584512 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/03a99c40d0ef00bc160dee70c11f230927412b4d Cr-Commit-Position: refs/heads/master@{#374983}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 8

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Total comments: 6

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+185 lines, -34 lines) Patch
M cc/layers/layer.h View 2 chunks +4 lines, -0 lines 0 comments Download
M cc/layers/layer.cc View 1 2 3 16 chunks +25 lines, -0 lines 0 comments Download
M cc/layers/layer_impl.h View 2 chunks +2 lines, -1 line 0 comments Download
M cc/layers/layer_impl.cc View 11 chunks +3 lines, -10 lines 0 comments Download
M cc/layers/layer_impl_unittest.cc View 2 chunks +16 lines, -21 lines 0 comments Download
M cc/layers/layer_unittest.cc View 1 2 3 4 5 6 2 chunks +105 lines, -0 lines 0 comments Download
M cc/proto/layer.proto View 2 chunks +2 lines, -1 line 0 comments Download
M cc/trees/damage_tracker_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M cc/trees/layer_tree_host.h View 1 chunk +1 line, -0 lines 0 comments Download
M cc/trees/layer_tree_host.cc View 2 chunks +12 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M cc/trees/layer_tree_host_unittest.cc View 1 2 3 2 chunks +4 lines, -1 line 0 comments Download
M cc/trees/property_tree_builder.cc View 1 2 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (5 generated)
jaydasika
This CL moves layer_property_changed tracking of all properties that do not change on compositor (except ...
4 years, 10 months ago (2016-02-10 01:00:16 UTC) #3
ajuma
https://codereview.chromium.org/1688563002/diff/40001/cc/layers/layer.cc File cc/layers/layer.cc (right): https://codereview.chromium.org/1688563002/diff/40001/cc/layers/layer.cc#newcode1237 cc/layers/layer.cc:1237: // to all descendants. So, it is enough to ...
4 years, 10 months ago (2016-02-10 15:31:32 UTC) #4
jaydasika
https://codereview.chromium.org/1688563002/diff/40001/cc/layers/layer_unittest.cc File cc/layers/layer_unittest.cc (right): https://codereview.chromium.org/1688563002/diff/40001/cc/layers/layer_unittest.cc#newcode61 cc/layers/layer_unittest.cc:61: EXPECT_TRUE(grand_child->subtree_property_changed()); On 2016/02/10 15:31:32, ajuma wrote: > Also verify ...
4 years, 10 months ago (2016-02-10 16:33:40 UTC) #5
ajuma
https://codereview.chromium.org/1688563002/diff/40001/cc/layers/layer_unittest.cc File cc/layers/layer_unittest.cc (right): https://codereview.chromium.org/1688563002/diff/40001/cc/layers/layer_unittest.cc#newcode61 cc/layers/layer_unittest.cc:61: EXPECT_TRUE(grand_child->subtree_property_changed()); On 2016/02/10 16:33:40, jaydasika wrote: > On 2016/02/10 ...
4 years, 10 months ago (2016-02-10 16:40:18 UTC) #6
jaydasika
https://codereview.chromium.org/1688563002/diff/40001/cc/layers/layer.cc File cc/layers/layer.cc (right): https://codereview.chromium.org/1688563002/diff/40001/cc/layers/layer.cc#newcode1237 cc/layers/layer.cc:1237: // to all descendants. So, it is enough to ...
4 years, 10 months ago (2016-02-10 19:18:25 UTC) #7
ajuma
On 2016/02/10 19:18:25, jaydasika wrote: > https://codereview.chromium.org/1688563002/diff/40001/cc/layers/layer.cc > File cc/layers/layer.cc (right): > > https://codereview.chromium.org/1688563002/diff/40001/cc/layers/layer.cc#newcode1237 > ...
4 years, 10 months ago (2016-02-10 19:43:18 UTC) #8
jaydasika
Some CHECKs were failing on some bots because of not clearing needs_push_properties of mask and ...
4 years, 10 months ago (2016-02-11 01:48:38 UTC) #9
ajuma
lgtm https://codereview.chromium.org/1688563002/diff/100001/cc/layers/layer_unittest.cc File cc/layers/layer_unittest.cc (right): https://codereview.chromium.org/1688563002/diff/100001/cc/layers/layer_unittest.cc#newcode574 cc/layers/layer_unittest.cc:574: dummy_layer2->PushPropertiesTo(dummy_layer1_impl.get())); On 2016/02/11 01:48:38, jaydasika wrote: > Adding ...
4 years, 10 months ago (2016-02-11 14:22:16 UTC) #10
jaydasika
Summary of discussion with ajuma@ : Masks and Replicas are not damaged when the owning ...
4 years, 10 months ago (2016-02-11 19:24:24 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1688563002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1688563002/120001
4 years, 10 months ago (2016-02-11 19:27:06 UTC) #14
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 10 months ago (2016-02-11 21:07:15 UTC) #15
commit-bot: I haz the power
4 years, 10 months ago (2016-02-16 22:37:59 UTC) #17
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/03a99c40d0ef00bc160dee70c11f230927412b4d
Cr-Commit-Position: refs/heads/master@{#374983}

Powered by Google App Engine
This is Rietveld 408576698