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

Unified Diff: cc/trees/layer_tree_host_impl.h

Issue 376683004: Pass resourceless software mode in BeginFrameArgs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tiny clean up Created 6 years, 5 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
Index: cc/trees/layer_tree_host_impl.h
diff --git a/cc/trees/layer_tree_host_impl.h b/cc/trees/layer_tree_host_impl.h
index 96e580fc16a4cffdb186cefdf091cec3047fabe7..9ae639a6756c15d1e9145403c10a09353594ed63 100644
--- a/cc/trees/layer_tree_host_impl.h
+++ b/cc/trees/layer_tree_host_impl.h
@@ -213,6 +213,10 @@ class CC_EXPORT LayerTreeHostImpl
// Resets all of the trees to an empty state.
void ResetTreesForTesting();
+ bool resourceless_software_draw() const {
+ return resourceless_software_draw_;
+ }
+
bool device_viewport_valid_for_tile_management() const {
return device_viewport_valid_for_tile_management_;
}
@@ -252,6 +256,7 @@ class CC_EXPORT LayerTreeHostImpl
const gfx::Transform& transform,
const gfx::Rect& viewport,
const gfx::Rect& clip,
+ bool resourceless_software_draw,
bool valid_for_tile_management) OVERRIDE;
virtual void DidLoseOutputSurface() OVERRIDE;
virtual void DidSwapBuffers() OVERRIDE;
@@ -659,6 +664,7 @@ class CC_EXPORT LayerTreeHostImpl
gfx::Transform external_transform_;
gfx::Rect external_viewport_;
gfx::Rect external_clip_;
+ bool resourceless_software_draw_;
bool device_viewport_valid_for_tile_management_;
gfx::Rect viewport_damage_rect_;

Powered by Google App Engine
This is Rietveld 408576698