|
Plumb overlay processing into DirectRenderer.
This change tests for overlays inside DirectRenderer::DrawFrame and if
new overlay passes were produced, it skips rendering them and forwards the
information to FinishDrawingFrame to allow subclasses like GLRenderer and
SoftwareRenderer to schedule overlays in a manner specific to their
implementation.
GLRenderer schedules overlays via ContextSupport.
Adds more tests to ensure overlay quads are not drawn and if no overlays
are present, no quads are skipped.
BUG=
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=260267
Total comments: 5
Total comments: 5
Total comments: 7
Total comments: 1
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+604 lines, -123 lines) |
Patch |
 |
M |
cc/output/direct_renderer.h
|
View
|
1
2
3
|
3 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/output/direct_renderer.cc
|
View
|
1
2
3
|
2 chunks |
+8 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/output/gl_renderer.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/output/gl_renderer.cc
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+35 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/output/overlay_candidate.h
|
View
|
1
2
3
|
3 chunks |
+17 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/output/overlay_candidate.cc
|
View
|
1
2
3
|
2 chunks |
+25 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/output/overlay_candidate_validator.h
|
View
|
1
2
3
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/output/overlay_processor.h
|
View
|
1
2
3
|
3 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/output/overlay_processor.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/output/overlay_strategy_single_on_top.h
|
View
|
1
2
3
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/output/overlay_strategy_single_on_top.cc
|
View
|
1
2
3
|
4 chunks |
+15 lines, -15 lines |
0 comments
|
Download
|
 |
M |
cc/output/overlay_unittest.cc
|
View
|
1
2
3
4
5
|
16 chunks |
+337 lines, -40 lines |
0 comments
|
Download
|
 |
M |
cc/quads/render_pass.h
|
View
|
1
2
3
|
3 chunks |
+1 line, -9 lines |
0 comments
|
Download
|
 |
M |
cc/quads/render_pass.cc
|
View
|
1
2
3
|
5 chunks |
+5 lines, -14 lines |
0 comments
|
Download
|
 |
M |
cc/quads/render_pass_unittest.cc
|
View
|
1
2
3
|
7 chunks |
+4 lines, -15 lines |
0 comments
|
Download
|
 |
M |
cc/resources/resource_provider.cc
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+20 lines, -6 lines |
0 comments
|
Download
|
 |
M |
cc/resources/resource_provider_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+50 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/surfaces/surface_aggregator.cc
|
View
|
1
2
3
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cc/test/test_context_support.h
|
View
|
1
2
3
4
5
|
3 chunks |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/test/test_context_support.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+19 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/common/cc_messages.cc
|
View
|
1
2
3
|
2 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
content/common/cc_messages_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+3 lines, -6 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/client/context_support.h
|
View
|
1
2
3
4
5
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/client/gles2_implementation.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/client/gles2_implementation.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
Total messages: 20 (0 generated)
|