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

Issue 633773004: cc: Pass Occlusion instead of OcclusionTracker to LayerImpls (Closed)

Created:
6 years, 2 months ago by vmpstr
Modified:
6 years, 2 months ago
Reviewers:
danakj
CC:
chromium-reviews, feature-media-reviews_chromium.org, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

cc: Pass Occlusion instead of OcclusionTracker to LayerImpls This patch updates LayerImpls to accept Occlusion into AppendQuads instead of OcclusionTracker. This makes it possible for the layer to retain a local copy for whatever reason, and restricts the code from modifying occlusion information in unexpected ways. R=danakj Committed: https://crrev.com/11b77b43a0cc725b4acfc7a1a13441a1ad8e2d97 Cr-Commit-Position: refs/heads/master@{#298556}

Patch Set 1 #

Total comments: 12

Patch Set 2 : update #

Unified diffs Side-by-side diffs Delta from patch set Stats (+161 lines, -208 lines) Patch
M cc/layers/delegated_renderer_layer_impl.h View 2 chunks +6 lines, -7 lines 0 comments Download
M cc/layers/delegated_renderer_layer_impl.cc View 1 6 chunks +11 lines, -8 lines 0 comments Download
M cc/layers/heads_up_display_layer_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/heads_up_display_layer_impl.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/heads_up_display_layer_impl_unittest.cc View 1 2 chunks +1 line, -3 lines 0 comments Download
M cc/layers/io_surface_layer_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/io_surface_layer_impl.cc View 3 chunks +3 lines, -5 lines 0 comments Download
M cc/layers/layer_impl.h View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/nine_patch_layer_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/nine_patch_layer_impl.cc View 11 chunks +19 lines, -14 lines 0 comments Download
M cc/layers/nine_patch_layer_impl_unittest.cc View 2 chunks +1 line, -2 lines 0 comments Download
M cc/layers/painted_scrollbar_layer_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/painted_scrollbar_layer_impl.cc View 1 4 chunks +4 lines, -6 lines 0 comments Download
M cc/layers/picture_image_layer_impl_unittest.cc View 1 2 chunks +1 line, -3 lines 0 comments Download
M cc/layers/picture_layer_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/picture_layer_impl.cc View 1 4 chunks +7 lines, -11 lines 0 comments Download
M cc/layers/picture_layer_impl_unittest.cc View 10 chunks +8 lines, -16 lines 0 comments Download
M cc/layers/scrollbar_layer_unittest.cc View 1 5 chunks +5 lines, -15 lines 0 comments Download
M cc/layers/solid_color_layer_impl.h View 2 chunks +7 lines, -9 lines 0 comments Download
M cc/layers/solid_color_layer_impl.cc View 1 5 chunks +5 lines, -10 lines 0 comments Download
M cc/layers/solid_color_layer_impl_unittest.cc View 8 chunks +5 lines, -10 lines 0 comments Download
M cc/layers/solid_color_scrollbar_layer_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/solid_color_scrollbar_layer_impl.cc View 3 chunks +3 lines, -5 lines 0 comments Download
M cc/layers/surface_layer_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/surface_layer_impl.cc View 3 chunks +5 lines, -8 lines 0 comments Download
M cc/layers/texture_layer_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/texture_layer_impl.cc View 3 chunks +5 lines, -8 lines 0 comments Download
M cc/layers/tiled_layer_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/tiled_layer_impl.cc View 4 chunks +5 lines, -8 lines 0 comments Download
M cc/layers/tiled_layer_impl_unittest.cc View 7 chunks +6 lines, -13 lines 0 comments Download
M cc/layers/ui_resource_layer_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/ui_resource_layer_impl.cc View 1 3 chunks +3 lines, -5 lines 0 comments Download
M cc/layers/ui_resource_layer_impl_unittest.cc View 1 2 chunks +2 lines, -4 lines 0 comments Download
M cc/layers/video_layer_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/video_layer_impl.cc View 3 chunks +7 lines, -7 lines 0 comments Download
M cc/test/fake_picture_layer_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/test/fake_picture_layer_impl.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/test/layer_test_common.cc View 1 2 chunks +12 lines, -4 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 1 chunk +4 lines, -1 line 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 4 chunks +8 lines, -6 lines 0 comments Download
M cc/trees/layer_tree_host_pixeltest_on_demand_raster.cc View 2 chunks +1 line, -3 lines 0 comments Download
M cc/trees/layer_tree_host_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 8 (1 generated)
vmpstr
PTAL https://codereview.chromium.org/633773004/diff/1/cc/layers/picture_layer_impl.cc File cc/layers/picture_layer_impl.cc (left): https://codereview.chromium.org/633773004/diff/1/cc/layers/picture_layer_impl.cc#oldcode173 cc/layers/picture_layer_impl.cc:173: draw_properties().target_space_transform, Transform here went away. https://codereview.chromium.org/633773004/diff/1/cc/layers/solid_color_layer_impl.h File cc/layers/solid_color_layer_impl.h ...
6 years, 2 months ago (2014-10-07 06:44:35 UTC) #1
danakj
LGTM https://codereview.chromium.org/633773004/diff/1/cc/layers/heads_up_display_layer_impl_unittest.cc File cc/layers/heads_up_display_layer_impl_unittest.cc (right): https://codereview.chromium.org/633773004/diff/1/cc/layers/heads_up_display_layer_impl_unittest.cc#newcode10 cc/layers/heads_up_display_layer_impl_unittest.cc:10: #include "cc/test/mock_occlusion_tracker.h" update this? https://codereview.chromium.org/633773004/diff/1/cc/test/layer_test_common.cc File cc/test/layer_test_common.cc (right): ...
6 years, 2 months ago (2014-10-07 17:01:23 UTC) #2
vmpstr
https://codereview.chromium.org/633773004/diff/1/cc/layers/heads_up_display_layer_impl_unittest.cc File cc/layers/heads_up_display_layer_impl_unittest.cc (right): https://codereview.chromium.org/633773004/diff/1/cc/layers/heads_up_display_layer_impl_unittest.cc#newcode10 cc/layers/heads_up_display_layer_impl_unittest.cc:10: #include "cc/test/mock_occlusion_tracker.h" On 2014/10/07 17:01:23, danakj wrote: > update ...
6 years, 2 months ago (2014-10-07 18:50:10 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/633773004/20001
6 years, 2 months ago (2014-10-07 18:52:14 UTC) #5
danakj
https://codereview.chromium.org/633773004/diff/1/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/633773004/diff/1/cc/trees/layer_tree_host_impl.cc#newcode572 cc/trees/layer_tree_host_impl.cc:572: occlusion_tracker, On 2014/10/07 18:50:10, vmpstr wrote: > On 2014/10/07 ...
6 years, 2 months ago (2014-10-07 18:54:26 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001) as 6b6dfad5040f783367be746310004dfe50cfadbf
6 years, 2 months ago (2014-10-07 20:11:55 UTC) #7
commit-bot: I haz the power
6 years, 2 months ago (2014-10-07 20:12:39 UTC) #8
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/11b77b43a0cc725b4acfc7a1a13441a1ad8e2d97
Cr-Commit-Position: refs/heads/master@{#298556}

Powered by Google App Engine
This is Rietveld 408576698