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

Unified Diff: cc/trees/layer_tree_host_impl.cc

Issue 14409006: cc: Changes to use GL API for GpuMemoryBuffers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@glapi
Patch Set: Cosmetic fixes 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
Index: cc/trees/layer_tree_host_impl.cc
diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc
index 98bafc37599e18271d7c51d5861455e7ab1deeb3..e093a914a34edc00bad200a85c12ac0e2a9576f3 100644
--- a/cc/trees/layer_tree_host_impl.cc
+++ b/cc/trees/layer_tree_host_impl.cc
@@ -1391,6 +1391,8 @@ bool LayerTreeHostImpl::InitializeRenderer(
settings_.prediction_benchmarking,
rendering_stats_instrumentation_));
UpdateTileManagerMemoryPolicy(managed_memory_policy_);
+ if (settings_.use_gpu_memory_buffers)
reveman 2013/05/20 23:16:01 Do we need to filter this setting in LayerTreeHost
kaanb 2013/05/21 00:52:29 Done.
+ tile_manager_->SetUseGpuMemoryBuffers(true);
}
if (output_surface->capabilities().has_parent_compositor) {

Powered by Google App Engine
This is Rietveld 408576698