Chromium Code Reviews| Index: cc/layers/append_quads_data.h |
| diff --git a/cc/layers/append_quads_data.h b/cc/layers/append_quads_data.h |
| index 1ec8184a17aa225e9b898c47f4e70e0f75304b61..cef02f60b3e25949b4ed370b4415d441e56a9d32 100644 |
| --- a/cc/layers/append_quads_data.h |
| +++ b/cc/layers/append_quads_data.h |
| @@ -12,17 +12,21 @@ namespace cc { |
| struct AppendQuadsData { |
| AppendQuadsData() |
| - : had_occlusion_from_outside_target_surface(false), |
| + : cannot_append_tile_draw_quads(false), |
|
enne (OOO)
2013/05/07 06:11:22
Please don't use negative booleans. :)
aelias_OOO_until_Jul13
2013/05/07 23:51:47
Renamed to allow_tile_draw_quads.
|
| + had_occlusion_from_outside_target_surface(false), |
| had_incomplete_tile(false), |
| num_missing_tiles(0), |
| render_pass_id(0, 0) {} |
| explicit AppendQuadsData(RenderPass::Id render_pass_id) |
| - : had_occlusion_from_outside_target_surface(false), |
| + : cannot_append_tile_draw_quads(false), |
| + had_occlusion_from_outside_target_surface(false), |
| had_incomplete_tile(false), |
| num_missing_tiles(0), |
| render_pass_id(render_pass_id) {} |
| + // Set by LayerTreeHostImpl. |
| + bool cannot_append_tile_draw_quads; |
| // Set by the QuadCuller. |
| bool had_occlusion_from_outside_target_surface; |
| // Set by the layer appending quads. |