|
|
cc: Turn DrawQuad into a struct-like class with public data members.
We add a SetAll() method that sets everything to keep the compile-time guard
that verifies everything gets set from all appropriate callsites. This replaces
the constructor which now takes no arguments at all.
We will replace the constructor with an overriding SetAll() for
each subclass of DrawQuads and make them into structs as well.
Covered by existing tests.
TBR=aelias
BUG= 152337
NOTRY=true
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=168460
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+208 lines, -209 lines) |
Patch |
 |
M |
cc/checkerboard_draw_quad.cc
|
View
|
1
2
3
|
1 chunk |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
cc/debug_border_draw_quad.cc
|
View
|
1
2
3
|
1 chunk |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
cc/delegated_renderer_layer_impl.cc
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cc/delegated_renderer_layer_impl_unittest.cc
|
View
|
|
5 chunks |
+15 lines, -15 lines |
0 comments
|
Download
|
 |
M |
cc/draw_quad.h
|
View
|
1
2
3
4
|
1 chunk |
+21 lines, -47 lines |
0 comments
|
Download
|
 |
M |
cc/draw_quad.cc
|
View
|
|
3 chunks |
+24 lines, -15 lines |
0 comments
|
Download
|
 |
M |
cc/draw_quad_unittest.cc
|
View
|
|
7 chunks |
+13 lines, -13 lines |
0 comments
|
Download
|
 |
M |
cc/gl_renderer.cc
|
View
|
|
16 chunks |
+24 lines, -24 lines |
0 comments
|
Download
|
 |
M |
cc/io_surface_draw_quad.cc
|
View
|
1
2
3
|
1 chunk |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/layer_tree_host_impl.cc
|
View
|
1
2
|
4 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
cc/layer_tree_host_impl_unittest.cc
|
View
|
|
20 chunks |
+26 lines, -26 lines |
0 comments
|
Download
|
 |
M |
cc/nine_patch_layer_impl_unittest.cc
|
View
|
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
cc/quad_culler.cc
|
View
|
|
3 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
 |
M |
cc/quad_culler_unittest.cc
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cc/render_pass_draw_quad.cc
|
View
|
1
2
3
|
2 chunks |
+8 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cc/software_renderer.cc
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/solid_color_draw_quad.cc
|
View
|
1
2
3
|
1 chunk |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
cc/solid_color_layer_impl_unittest.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/stream_video_draw_quad.cc
|
View
|
1
2
3
|
1 chunk |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/test/layer_test_common.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/test/mock_quad_culler.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/texture_draw_quad.cc
|
View
|
1
2
3
|
1 chunk |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/tile_draw_quad.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/tile_draw_quad.cc
|
View
|
1
2
3
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
cc/tiled_layer_impl_unittest.cc
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/yuv_video_draw_quad.cc
|
View
|
1
2
3
|
2 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
Total messages: 15 (0 generated)
|