|
|
cc: Remove redundant overlay arguments
Whether or not a quad can be made into an overlay is dependent on
whether there is a GLImage backing the texture resources that the quad
uses.
Prior to this patch, this information was passed along to the layer or
quad via a side-channel, in the form of a "allow overlay" argument.
Now, store this information in the cc::Resource, in particular, through
the cc::TextureMailbox that it is created from, and have the overlay
strategy query the property of the cc::Resource.
Add appropriate plumbing of the parameters from the cc::TextureMailbox,
through the cc::Resource, to cc::TransferableResource, and finally to
a cc::Resource in other compositors.
R=reveman,fsamuel,dcheng
TBR=danakj
BUG= 533690
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Committed: https://crrev.com/268c09fdae64b08957aba9b31797adb93525c90f
Cr-Commit-Position: refs/heads/master@{#353128}
Total comments: 7
Total comments: 7
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+241 lines, -247 lines) |
Patch |
 |
M |
cc/layers/io_surface_layer_impl.cc
|
View
|
|
1 chunk |
+3 lines, -8 lines |
0 comments
|
Download
|
 |
M |
cc/layers/texture_layer_impl.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/layers/video_layer_impl.h
|
View
|
1
|
1 chunk |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/layers/video_layer_impl.cc
|
View
|
1
|
3 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cc/output/direct_renderer.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/output/gl_renderer_unittest.cc
|
View
|
|
6 chunks |
+9 lines, -8 lines |
0 comments
|
Download
|
 |
M |
cc/output/overlay_candidate.h
|
View
|
|
2 chunks |
+10 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cc/output/overlay_candidate.cc
|
View
|
1
|
6 chunks |
+19 lines, -11 lines |
0 comments
|
Download
|
 |
M |
cc/output/overlay_processor.h
|
View
|
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/output/overlay_processor.cc
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/output/overlay_strategy_all_or_nothing.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/output/overlay_strategy_all_or_nothing.cc
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/output/overlay_strategy_sandwich.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/output/overlay_strategy_sandwich.cc
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/output/overlay_strategy_single_on_top.h
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/output/overlay_strategy_single_on_top.cc
|
View
|
5
|
3 chunks |
+8 lines, -7 lines |
0 comments
|
Download
|
 |
M |
cc/output/overlay_strategy_underlay.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/output/overlay_strategy_underlay.cc
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/output/overlay_unittest.cc
|
View
|
1
|
42 chunks |
+92 lines, -48 lines |
0 comments
|
Download
|
 |
M |
cc/quads/draw_quad_unittest.cc
|
View
|
|
6 chunks |
+15 lines, -41 lines |
0 comments
|
Download
|
 |
M |
cc/quads/io_surface_draw_quad.h
|
View
|
|
2 chunks |
+2 lines, -5 lines |
0 comments
|
Download
|
 |
M |
cc/quads/io_surface_draw_quad.cc
|
View
|
|
4 chunks |
+3 lines, -9 lines |
0 comments
|
Download
|
 |
M |
cc/quads/stream_video_draw_quad.h
|
View
|
|
3 chunks |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
M |
cc/quads/stream_video_draw_quad.cc
|
View
|
|
3 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
cc/quads/texture_draw_quad.h
|
View
|
|
3 chunks |
+0 lines, -8 lines |
0 comments
|
Download
|
 |
M |
cc/quads/texture_draw_quad.cc
|
View
|
|
3 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cc/resources/resource_provider.h
|
View
|
1
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/resources/resource_provider.cc
|
View
|
1
|
5 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/resources/texture_mailbox.h
|
View
|
1
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/resources/texture_mailbox.cc
|
View
|
1
|
1 chunk |
+8 lines, -10 lines |
0 comments
|
Download
|
 |
M |
cc/resources/transferable_resource.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/resources/transferable_resource.cc
|
View
|
1
|
1 chunk |
+1 line, -2 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 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/test/render_pass_test_utils.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/common/cc_messages.h
|
View
|
1
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
content/common/cc_messages.cc
|
View
|
|
6 chunks |
+0 lines, -10 lines |
0 comments
|
Download
|
 |
M |
content/common/cc_messages_unittest.cc
|
View
|
1
|
10 chunks |
+6 lines, -11 lines |
0 comments
|
Download
|
 |
M |
mojo/converters/surfaces/surfaces_type_converters.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mojo/converters/surfaces/tests/surface_unittest.cc
|
View
|
1
2
|
2 chunks |
+6 lines, -10 lines |
0 comments
|
Download
|
Dependent Patchsets:
Total messages: 39 (13 generated)
|