|
Use RenderPass to create DrawQuad in unittests
Instead of calling DQ::Create() function and then push it into
RenderPass in unittest, use RenderPass's function call to create and
append a DQ while only pass out a raw pointer instead of ownership.
Follow CL 369623002.
BUG= 344962
TEST=cc_unittests, content_unittests
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=282179
Total comments: 10
Total comments: 1
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+668 lines, -683 lines) |
Patch |
 |
M |
cc/layers/delegated_frame_provider_unittest.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/output/overlay_unittest.cc
|
View
|
|
15 chunks |
+95 lines, -82 lines |
0 comments
|
Download
|
 |
M |
cc/output/renderer_pixeltest.cc
|
View
|
1
2
3
4
|
69 chunks |
+321 lines, -372 lines |
0 comments
|
Download
|
 |
M |
cc/output/software_renderer_unittest.cc
|
View
|
|
5 chunks |
+20 lines, -20 lines |
0 comments
|
Download
|
 |
M |
cc/quads/render_pass.h
|
View
|
1
2
3
4
5
6
|
3 chunks |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/quads/render_pass.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+65 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/quads/render_pass_unittest.cc
|
View
|
|
7 chunks |
+16 lines, -25 lines |
0 comments
|
Download
|
 |
M |
cc/surfaces/surface_aggregator_unittest.cc
|
View
|
1
2
3
4
5
|
5 chunks |
+9 lines, -14 lines |
0 comments
|
Download
|
 |
M |
cc/surfaces/surfaces_pixeltest.cc
|
View
|
|
6 chunks |
+20 lines, -24 lines |
0 comments
|
Download
|
 |
M |
cc/test/render_pass_test_common.h
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/test/render_pass_test_common.cc
|
View
|
|
13 chunks |
+23 lines, -34 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_unittest_delegated.cc
|
View
|
1
2
3
4
|
6 chunks |
+10 lines, -10 lines |
0 comments
|
Download
|
 |
M |
content/common/cc_messages_perftest.cc
|
View
|
|
5 chunks |
+15 lines, -20 lines |
0 comments
|
Download
|
 |
M |
content/common/cc_messages_unittest.cc
|
View
|
1
2
3
4
|
14 chunks |
+56 lines, -78 lines |
0 comments
|
Download
|
Total messages: 12 (0 generated)
|