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

Unified Diff: components/exo/buffer.cc

Issue 2052003006: More YVU_420 buffers support. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address dnicoara's comment. Created 4 years, 6 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 | « no previous file | content/browser/gpu/browser_gpu_memory_buffer_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/buffer.cc
diff --git a/components/exo/buffer.cc b/components/exo/buffer.cc
index 3cb123190d4912cbb9612a4bfc20eb6532dea57c..5b02cc3c130e4ffff31c1659992b56af080061a7 100644
--- a/components/exo/buffer.cc
+++ b/components/exo/buffer.cc
@@ -185,6 +185,8 @@ Buffer::Texture::Texture(cc::ContextProvider* context_provider,
image_id_ =
gles2->CreateImageCHROMIUM(gpu_memory_buffer->AsClientBuffer(),
size.width(), size.height(), internalformat_);
+ DLOG_IF(WARNING, !image_id_) << "Failed to create GLImage";
+
gles2->GenQueriesEXT(1, &query_id_);
texture_id_ = CreateGLTexture(gles2, texture_target_);
}
« no previous file with comments | « no previous file | content/browser/gpu/browser_gpu_memory_buffer_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698