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

Unified Diff: cc/surfaces/display.cc

Issue 2120713002: Fix use_image_texture_target inconsistencies (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleanup 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
Index: cc/surfaces/display.cc
diff --git a/cc/surfaces/display.cc b/cc/surfaces/display.cc
index e4ad249b3f0f76a8b34993a821d85e2b2dc58bc3..2724484a12b6e00e6fc38ec58b1bcc44c4e62bc1 100644
--- a/cc/surfaces/display.cc
+++ b/cc/surfaces/display.cc
@@ -159,8 +159,7 @@ void Display::InitializeRenderer() {
settings_.texture_id_allocation_chunk_size,
output_surface_->capabilities().delegated_sync_points_required,
settings_.use_gpu_memory_buffer_resources,
- std::vector<unsigned>(static_cast<size_t>(gfx::BufferFormat::LAST) + 1,
- GL_TEXTURE_2D)));
+ settings_.use_image_texture_targets));
erikchen 2016/07/15 21:08:35 thanks. I was going to do this myself in a follow-
if (output_surface_->context_provider()) {
std::unique_ptr<GLRenderer> renderer = GLRenderer::Create(

Powered by Google App Engine
This is Rietveld 408576698