Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(297)

Unified Diff: cc/layers/append_quads_data.h

Issue 14417014: cc: Add tile-free software compositing mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add tests and optimize quad generation Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | cc/layers/picture_layer_impl.cc » ('j') | cc/output/direct_renderer.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « no previous file | cc/layers/picture_layer_impl.cc » ('j') | cc/output/direct_renderer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698