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

Issue 1912893002: cc : Stop pushing properties not used by LayerImpl to LayerImpl. (2) (Closed)

Created:
4 years, 8 months ago by jaydasika
Modified:
4 years, 8 months ago
CC:
chromium-reviews, krit, pdr+graphicswatchlist_chromium.org, drott+blinkwatch_chromium.org, Rik, kinuko+watch, blink-reviews-platform-graphics_chromium.org, dshwang, jbroman, Justin Novosad, feature-media-reviews_chromium.org, danakj+watch_chromium.org, f(malita), blink-reviews, cc-bugs_chromium.org, Stephen Chennney, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc : Stop pushing properties not used on compositor to compositor. (2) This CL moves double_sided and force_render_surface from LayerImpl to LayerImplTestProperties and also deletes non-test calls to SetForceRenderSurface on Layer. BUG=602438 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/6b5a32bf6cabef2f242db43bb483b2e9a94b9c8d Cr-Commit-Position: refs/heads/master@{#389256}

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 4

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+246 lines, -238 lines) Patch
M cc/blink/web_layer_impl.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M cc/blink/web_layer_impl.cc View 1 2 1 chunk +0 lines, -4 lines 0 comments Download
M cc/layers/layer.h View 1 2 2 chunks +5 lines, -3 lines 0 comments Download
M cc/layers/layer.cc View 1 2 3 4 4 chunks +4 lines, -6 lines 0 comments Download
M cc/layers/layer_impl.h View 4 chunks +0 lines, -8 lines 0 comments Download
M cc/layers/layer_impl.cc View 6 chunks +0 lines, -19 lines 0 comments Download
M cc/layers/layer_impl_test_properties.h View 1 chunk +6 lines, -0 lines 0 comments Download
M cc/layers/layer_impl_unittest.cc View 5 chunks +1 line, -13 lines 0 comments Download
M cc/layers/layer_iterator_unittest.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M cc/layers/layer_position_constraint_unittest.cc View 1 2 4 chunks +6 lines, -6 lines 0 comments Download
M cc/layers/layer_unittest.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M cc/layers/nine_patch_layer_impl_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/picture_layer_impl_perftest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/picture_layer_impl_unittest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M cc/layers/render_surface_impl_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/solid_color_layer_impl_unittest.cc View 1 2 4 chunks +4 lines, -4 lines 0 comments Download
M cc/layers/ui_resource_layer_impl_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/video_layer_impl_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/test/layer_tree_host_common_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/tiles/tile_manager_perftest.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/tiles/tile_manager_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/damage_tracker_unittest.cc View 1 2 3 4 5 16 chunks +21 lines, -18 lines 0 comments Download
M cc/trees/layer_tree_host_common_unittest.cc View 1 2 17 chunks +40 lines, -36 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 46 chunks +50 lines, -46 lines 0 comments Download
M cc/trees/layer_tree_host_pixeltest_blending.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_host_pixeltest_filters.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_host_unittest.cc View 1 2 3 4 5 4 chunks +50 lines, -3 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_copyrequest.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_occlusion.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_impl_unittest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M cc/trees/occlusion_tracker_perftest.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/occlusion_tracker_unittest.cc View 11 chunks +14 lines, -14 lines 0 comments Download
M cc/trees/property_tree_builder.cc View 1 2 4 chunks +19 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/CompositorMutableStateTest.cpp View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/public/platform/WebLayer.h View 1 2 1 chunk +0 lines, -4 lines 0 comments Download
M ui/compositor/layer.h View 1 2 2 chunks +0 lines, -7 lines 0 comments Download
M ui/compositor/layer.cc View 1 2 4 chunks +0 lines, -11 lines 0 comments Download
M ui/compositor/layer_unittest.cc View 1 2 4 chunks +0 lines, -5 lines 0 comments Download

Messages

Total messages: 22 (8 generated)
jaydasika
PTAL
4 years, 8 months ago (2016-04-21 22:36:31 UTC) #3
jaydasika
PTAL
4 years, 8 months ago (2016-04-21 22:37:05 UTC) #5
ajuma
https://codereview.chromium.org/1912893002/diff/20001/cc/layers/layer.h File cc/layers/layer.h (right): https://codereview.chromium.org/1912893002/diff/20001/cc/layers/layer.h#newcode491 cc/layers/layer.h:491: bool layer_property_changed() const { return layer_property_changed_; } There aren't ...
4 years, 8 months ago (2016-04-21 23:59:15 UTC) #6
jaydasika
https://codereview.chromium.org/1912893002/diff/20001/cc/layers/layer.h File cc/layers/layer.h (right): https://codereview.chromium.org/1912893002/diff/20001/cc/layers/layer.h#newcode491 cc/layers/layer.h:491: bool layer_property_changed() const { return layer_property_changed_; } On 2016/04/21 ...
4 years, 8 months ago (2016-04-22 17:00:39 UTC) #7
ajuma
https://codereview.chromium.org/1912893002/diff/80001/cc/trees/damage_tracker_unittest.cc File cc/trees/damage_tracker_unittest.cc (right): https://codereview.chromium.org/1912893002/diff/80001/cc/trees/damage_tracker_unittest.cc#newcode576 cc/trees/damage_tracker_unittest.cc:576: child->NoteLayerPropertyChanged(); It looks like this test has been relying ...
4 years, 8 months ago (2016-04-22 18:04:45 UTC) #8
jaydasika
https://codereview.chromium.org/1912893002/diff/80001/cc/trees/damage_tracker_unittest.cc File cc/trees/damage_tracker_unittest.cc (right): https://codereview.chromium.org/1912893002/diff/80001/cc/trees/damage_tracker_unittest.cc#newcode576 cc/trees/damage_tracker_unittest.cc:576: child->NoteLayerPropertyChanged(); On 2016/04/22 18:04:45, ajuma wrote: > It looks ...
4 years, 8 months ago (2016-04-22 19:19:08 UTC) #9
ajuma
Thanks, lgtm. Please update the description (since the handling of SetForceRenderSuface has changed).
4 years, 8 months ago (2016-04-22 20:10:48 UTC) #10
jaydasika
On 2016/04/22 20:10:48, ajuma wrote: > Thanks, lgtm. Please update the description (since the handling ...
4 years, 8 months ago (2016-04-22 20:26:13 UTC) #11
Ian Vollick
On 2016/04/22 20:26:13, jaydasika wrote: > On 2016/04/22 20:10:48, ajuma wrote: > > Thanks, lgtm. ...
4 years, 8 months ago (2016-04-22 20:32:20 UTC) #13
jaydasika
+pdr Can you review changes to public/platform ? I deleted some code that not used.
4 years, 8 months ago (2016-04-22 20:37:56 UTC) #15
pdr.
On 2016/04/22 at 20:37:56, jaydasika wrote: > +pdr > Can you review changes to public/platform ...
4 years, 8 months ago (2016-04-22 21:21:51 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1912893002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1912893002/100001
4 years, 8 months ago (2016-04-22 21:25:57 UTC) #18
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 8 months ago (2016-04-22 21:56:48 UTC) #20
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 21:59:05 UTC) #22
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/6b5a32bf6cabef2f242db43bb483b2e9a94b9c8d
Cr-Commit-Position: refs/heads/master@{#389256}

Powered by Google App Engine
This is Rietveld 408576698