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

Unified Diff: cc/surfaces/display.cc

Issue 1230203007: Re-land: cc: Use worker context for one-copy tile initialization. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add ContextProvider::ScopedContextGL class Created 5 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/surfaces/display.cc
diff --git a/cc/surfaces/display.cc b/cc/surfaces/display.cc
index 54a76efc3d76175fbb2b244f1ee73be4cd6fbe82..9a19c4a1a10e5d54c9edc78d54f9806f2f562566 100644
--- a/cc/surfaces/display.cc
+++ b/cc/surfaces/display.cc
@@ -96,13 +96,10 @@ void Display::InitializeRenderer() {
if (resource_provider_)
return;
- // Display does not use GpuMemoryBuffers, so persistent map is not relevant.
- bool use_persistent_map_for_gpu_memory_buffers = false;
scoped_ptr<ResourceProvider> resource_provider = ResourceProvider::Create(
output_surface_.get(), bitmap_manager_, gpu_memory_buffer_manager_,
nullptr, settings_.highp_threshold_min, settings_.use_rgba_4444_textures,
- settings_.texture_id_allocation_chunk_size,
- use_persistent_map_for_gpu_memory_buffers);
+ settings_.texture_id_allocation_chunk_size);
if (!resource_provider)
return;

Powered by Google App Engine
This is Rietveld 408576698