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

Issue 1968363002: SurfaceAggregator should check whether output is secure when drawin (Closed)

Created:
4 years, 7 months ago by jbauman
Modified:
4 years, 7 months ago
Reviewers:
sky, dcheng, piman
CC:
cc-bugs_chromium.org, chromium-reviews, danakj+watch_chromium.org, darin-cc_chromium.org, feature-media-reviews_chromium.org, jam, jbauman+watch_chromium.org, kalyank, piman+watch_chromium.org, posciak+watch_chromium.org, sievers+watch_chromium.org, Ian Vollick
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

SurfaceAggregator should check whether output is secure when drawing. Currently the ui::Compositor checks whether the output is secure and whether there's a copy output request on it before drawing a secure_output_only texture. This is insufficient, because there may be a copy output request on the final Surface and the compositor won't know about it. Instead pass that information through the TextureDrawQuad and allow the SurfaceAggregator to check it. BUG=610086 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/0c1bf2113c63491c9ebbe78f6dc45e184562c545 Cr-Commit-Position: refs/heads/master@{#394827}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Total comments: 1

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+236 lines, -209 lines) Patch
M ash/mus/stub_context_factory.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M cc/ipc/cc_param_traits_macros.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M cc/ipc/cc_param_traits_unittest.cc View 1 2 3 4 5 6 7 8 3 chunks +8 lines, -5 lines 0 comments Download
M cc/layers/heads_up_display_layer_impl.cc View 1 chunk +4 lines, -12 lines 0 comments Download
M cc/layers/layer_impl.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -1 line 0 comments Download
M cc/layers/layer_impl.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -11 lines 0 comments Download
M cc/layers/nine_patch_layer_impl.cc View 1 2 3 4 5 6 7 9 chunks +9 lines, -9 lines 0 comments Download
M cc/layers/painted_scrollbar_layer_impl.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M cc/layers/texture_layer_impl.cc View 1 chunk +11 lines, -18 lines 0 comments Download
M cc/layers/texture_layer_impl_unittest.cc View 1 2 3 4 5 6 7 2 chunks +5 lines, -22 lines 0 comments Download
M cc/layers/ui_resource_layer_impl.cc View 1 chunk +4 lines, -12 lines 0 comments Download
M cc/layers/video_layer_impl.cc View 1 2 3 4 5 6 7 8 2 chunks +6 lines, -13 lines 0 comments Download
M cc/output/gl_renderer_unittest.cc View 1 2 3 4 5 6 7 4 chunks +4 lines, -4 lines 0 comments Download
M cc/output/overlay_unittest.cc View 1 2 3 4 5 6 7 1 chunk +4 lines, -12 lines 0 comments Download
M cc/output/renderer_pixeltest.cc View 5 chunks +7 lines, -5 lines 0 comments Download
M cc/quads/draw_quad_perftest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/quads/draw_quad_unittest.cc View 4 chunks +16 lines, -26 lines 0 comments Download
M cc/quads/texture_draw_quad.h View 3 chunks +5 lines, -2 lines 0 comments Download
M cc/quads/texture_draw_quad.cc View 4 chunks +6 lines, -2 lines 0 comments Download
M cc/surfaces/display.h View 2 chunks +3 lines, -0 lines 0 comments Download
M cc/surfaces/display.cc View 2 chunks +14 lines, -0 lines 0 comments Download
M cc/surfaces/surface_aggregator.h View 2 chunks +2 lines, -0 lines 0 comments Download
M cc/surfaces/surface_aggregator.cc View 1 2 3 4 5 6 2 chunks +16 lines, -0 lines 0 comments Download
M cc/surfaces/surface_aggregator_perftest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/surfaces/surface_aggregator_unittest.cc View 1 2 3 4 5 6 3 chunks +69 lines, -1 line 0 comments Download
M cc/test/fake_proxy.h View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M cc/test/layer_test_common.h View 1 2 3 4 5 1 chunk +0 lines, -4 lines 0 comments Download
M cc/test/render_pass_test_utils.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -4 lines 0 comments Download
M cc/trees/layer_tree_host_impl.h View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -8 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -1 line 0 comments Download
M cc/trees/layer_tree_impl.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_impl.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -4 lines 0 comments Download
M cc/trees/proxy.h View 1 2 3 4 5 1 chunk +0 lines, -2 lines 0 comments Download
M cc/trees/proxy_main.h View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M cc/trees/proxy_main.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -4 lines 0 comments Download
M cc/trees/remote_channel_impl.h View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M cc/trees/remote_channel_impl.cc View 1 2 3 4 5 1 chunk +0 lines, -4 lines 0 comments Download
M cc/trees/single_thread_proxy.h View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M cc/trees/single_thread_proxy.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -4 lines 0 comments Download
M components/mus/public/interfaces/quads.mojom View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/compositor/gpu_process_transport_factory.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/compositor/gpu_process_transport_factory.cc View 1 2 3 4 5 6 7 3 chunks +14 lines, -0 lines 0 comments Download
M mojo/converters/surfaces/surfaces_type_converters.cc View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M mojo/converters/surfaces/tests/surface_unittest.cc View 1 2 4 chunks +8 lines, -2 lines 0 comments Download
M ui/compositor/compositor.h View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M ui/compositor/compositor.cc View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
M ui/compositor/test/in_process_context_factory.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/mus/surface_context_factory.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 25 (14 generated)
jbauman
4 years, 7 months ago (2016-05-17 15:40:21 UTC) #6
piman
lgtm https://codereview.chromium.org/1968363002/diff/120001/cc/trees/layer_tree_host.cc File cc/trees/layer_tree_host.cc (left): https://codereview.chromium.org/1968363002/diff/120001/cc/trees/layer_tree_host.cc#oldcode662 cc/trees/layer_tree_host.cc:662: void LayerTreeHost::SetOutputIsSecure(bool output_is_secure) { nit: also remove from ...
4 years, 7 months ago (2016-05-17 19:59:31 UTC) #7
jbauman
sky: ash/, components/mus, mojo/ and ui/views OWNERS reviews, please.
4 years, 7 months ago (2016-05-18 19:35:05 UTC) #9
sky
LGTM
4 years, 7 months ago (2016-05-18 21:17:15 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1968363002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1968363002/140001
4 years, 7 months ago (2016-05-18 22:02:37 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/86151) chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, ...
4 years, 7 months ago (2016-05-18 22:07:47 UTC) #15
jbauman
dcheng: cc/ipc/ OWNERS review
4 years, 7 months ago (2016-05-19 17:47:57 UTC) #17
dcheng
ipc lgtm
4 years, 7 months ago (2016-05-19 17:58:37 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1968363002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1968363002/180001
4 years, 7 months ago (2016-05-19 18:32:20 UTC) #21
commit-bot: I haz the power
Committed patchset #10 (id:180001)
4 years, 7 months ago (2016-05-19 19:20:19 UTC) #23
commit-bot: I haz the power
4 years, 7 months ago (2016-05-19 19:21:54 UTC) #25
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/0c1bf2113c63491c9ebbe78f6dc45e184562c545
Cr-Commit-Position: refs/heads/master@{#394827}

Powered by Google App Engine
This is Rietveld 408576698