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

Unified Diff: cc/test/fake_resource_provider.h

Issue 1273163004: Revert of cc: Use worker context for one-copy tile initialization. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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/test/fake_output_surface.h ('k') | cc/test/layer_tree_pixel_resource_test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_resource_provider.h
diff --git a/cc/test/fake_resource_provider.h b/cc/test/fake_resource_provider.h
index 5570703922c0107530bd490bced38190ebc10b2c..c96bebad6474d1101256fe3de2bc6fb5ad04db8f 100644
--- a/cc/test/fake_resource_provider.h
+++ b/cc/test/fake_resource_provider.h
@@ -14,8 +14,9 @@
static scoped_ptr<FakeResourceProvider> Create(
OutputSurface* output_surface,
SharedBitmapManager* shared_bitmap_manager) {
- scoped_ptr<FakeResourceProvider> provider(new FakeResourceProvider(
- output_surface, shared_bitmap_manager, nullptr, nullptr, 0, false, 1));
+ scoped_ptr<FakeResourceProvider> provider(
+ new FakeResourceProvider(output_surface, shared_bitmap_manager, nullptr,
+ nullptr, 0, false, 1, false));
provider->Initialize();
return provider;
}
@@ -26,7 +27,7 @@
gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager) {
scoped_ptr<FakeResourceProvider> provider(new FakeResourceProvider(
output_surface, shared_bitmap_manager, gpu_memory_buffer_manager,
- nullptr, 0, false, 1));
+ nullptr, 0, false, 1, false));
provider->Initialize();
return provider;
}
@@ -38,14 +39,16 @@
BlockingTaskRunner* blocking_main_thread_task_runner,
int highp_threshold_min,
bool use_rgba_4444_texture_format,
- size_t id_allocation_chunk_size)
+ size_t id_allocation_chunk_size,
+ bool use_persistent_map_for_gpu_memory_buffers)
: ResourceProvider(output_surface,
shared_bitmap_manager,
gpu_memory_buffer_manager,
blocking_main_thread_task_runner,
highp_threshold_min,
use_rgba_4444_texture_format,
- id_allocation_chunk_size) {}
+ id_allocation_chunk_size,
+ use_persistent_map_for_gpu_memory_buffers) {}
};
} // namespace cc
« no previous file with comments | « cc/test/fake_output_surface.h ('k') | cc/test/layer_tree_pixel_resource_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698