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

Unified Diff: content/browser/compositor/buffer_queue.cc

Issue 962723002: Change CHROMIUM_image declarations to support multi planar input. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mcasas@comments Created 5 years, 10 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: content/browser/compositor/buffer_queue.cc
diff --git a/content/browser/compositor/buffer_queue.cc b/content/browser/compositor/buffer_queue.cc
index 689288f6d63b75d10c0b329fb32205d234ee1140..afbbfbc2ff5785d2cfe66fde7b172a2d0510af17 100644
--- a/content/browser/compositor/buffer_queue.cc
+++ b/content/browser/compositor/buffer_queue.cc
@@ -178,8 +178,9 @@ BufferQueue::AllocatedSurface BufferQueue::GetNextSurface() {
return AllocatedSurface();
}
+ const ClientBuffer& client_buffer = buffer->AsClientBuffer();
reveman 2015/03/02 20:09:55 &buffer->AsClientBuffer() below instead of this te
emircan 2015/03/03 02:02:18 Same issue as the earlier.
unsigned int id = gl->CreateImageCHROMIUM(
- buffer->AsClientBuffer(), size_.width(), size_.height(), internalformat_);
+ &client_buffer, size_.width(), size_.height(), internalformat_);
if (!id) {
LOG(ERROR) << "Failed to allocate backing image surface";

Powered by Google App Engine
This is Rietveld 408576698