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

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: s/GL_WRITE_ONLY/GL_READ_WRITE/ for map mode 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..58dc8df7764316cc298483056008d804455cb2f8 100644
--- a/cc/trees/layer_tree_host_impl.cc
+++ b/cc/trees/layer_tree_host_impl.cc
@@ -1383,6 +1383,9 @@ bool LayerTreeHostImpl::InitializeRenderer(
if (!resource_provider)
return false;
+ if (settings_.use_gpu_memory_buffers)
reveman 2013/05/17 01:48:08 Pass settings_.use_gpu_memory_buffers to the tile
kaanb 2013/05/17 21:27:36 Done.
+ resource_provider->SetUseGpuMemoryBuffers(true);
+
if (settings_.impl_side_painting) {
tile_manager_.reset(new TileManager(this,
resource_provider.get(),

Powered by Google App Engine
This is Rietveld 408576698