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

Unified Diff: cc/test/pixel_test.cc

Issue 2120713002: Fix use_image_texture_target inconsistencies (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix content browsertests Created 4 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
« no previous file with comments | « cc/test/layer_tree_test.cc ('k') | cc/tiles/tile_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/pixel_test.cc
diff --git a/cc/test/pixel_test.cc b/cc/test/pixel_test.cc
index 13fc91959a799066702aa5f61880f7e8f38cc647..bbfbf6ca4e16f94b810fab6e84c47007f8dc4c4e 100644
--- a/cc/test/pixel_test.cc
+++ b/cc/test/pixel_test.cc
@@ -142,7 +142,7 @@ void PixelTest::SetUpGLRenderer(bool use_skia_gpu_backend,
gpu_memory_buffer_manager_.get(), main_thread_task_runner_.get(), 0, 1,
output_surface_->capabilities().delegated_sync_points_required,
settings_.renderer_settings.use_gpu_memory_buffer_resources,
- settings_.use_image_texture_targets);
+ settings_.renderer_settings.buffer_to_texture_target_map);
texture_mailbox_deleter_ = base::WrapUnique(
new TextureMailboxDeleter(base::ThreadTaskRunnerHandle::Get()));
@@ -186,7 +186,7 @@ void PixelTest::SetUpSoftwareRenderer() {
nullptr, shared_bitmap_manager_.get(), gpu_memory_buffer_manager_.get(),
main_thread_task_runner_.get(), 0, 1, delegated_sync_points_required,
settings_.renderer_settings.use_gpu_memory_buffer_resources,
- settings_.use_image_texture_targets);
+ settings_.renderer_settings.buffer_to_texture_target_map);
std::unique_ptr<SoftwareRenderer> renderer =
SoftwareRenderer::Create(this, &settings_.renderer_settings,
output_surface_.get(), resource_provider_.get());
« no previous file with comments | « cc/test/layer_tree_test.cc ('k') | cc/tiles/tile_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698