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

Unified Diff: cc/trees/layer_tree_host.cc

Issue 157743007: cc: Prevent usage of rasterize on-demand with delegating renderer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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.cc
diff --git a/cc/trees/layer_tree_host.cc b/cc/trees/layer_tree_host.cc
index 874296bfdf656653981a212b5fe96b4c9ad9e154..0e97d181b543e80862795d29f893cfe1bd92ae03 100644
--- a/cc/trees/layer_tree_host.cc
+++ b/cc/trees/layer_tree_host.cc
@@ -51,19 +51,22 @@ RendererCapabilities::RendererCapabilities(ResourceFormat best_texture_format,
bool allow_partial_texture_updates,
bool using_offscreen_context3d,
int max_texture_size,
- bool using_shared_memory_resources)
+ bool using_shared_memory_resources,
+ bool allow_rasterize_on_demand)
: best_texture_format(best_texture_format),
allow_partial_texture_updates(allow_partial_texture_updates),
using_offscreen_context3d(using_offscreen_context3d),
max_texture_size(max_texture_size),
- using_shared_memory_resources(using_shared_memory_resources) {}
+ using_shared_memory_resources(using_shared_memory_resources),
+ allow_rasterize_on_demand(allow_rasterize_on_demand) {}
RendererCapabilities::RendererCapabilities()
: best_texture_format(RGBA_8888),
allow_partial_texture_updates(false),
using_offscreen_context3d(false),
max_texture_size(0),
- using_shared_memory_resources(false) {}
+ using_shared_memory_resources(false),
+ allow_rasterize_on_demand(false) {}
RendererCapabilities::~RendererCapabilities() {}

Powered by Google App Engine
This is Rietveld 408576698