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

Unified Diff: cc/surfaces/display.cc

Issue 1139063002: cc: Partial tile update for one-copy raster. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: monocle: rebase Created 5 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
« no previous file with comments | « cc/resources/resource_provider_unittest.cc ('k') | cc/test/data/blue_yellow_partial_flipped.png » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/display.cc
diff --git a/cc/surfaces/display.cc b/cc/surfaces/display.cc
index 3ceb3ef78536a838a69bc99e3c88823c92fe92f0..a9cef088a5526818512a085cb553d2eb7e6b10c6 100644
--- a/cc/surfaces/display.cc
+++ b/cc/surfaces/display.cc
@@ -92,10 +92,13 @@ 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);
+ settings_.texture_id_allocation_chunk_size,
+ use_persistent_map_for_gpu_memory_buffers);
if (!resource_provider)
return;
« no previous file with comments | « cc/resources/resource_provider_unittest.cc ('k') | cc/test/data/blue_yellow_partial_flipped.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698