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

Unified Diff: content/common/gpu/gpu_memory_buffer_factory_shared_memory.h

Issue 962723002: Change CHROMIUM_image declarations to support multi planar input. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: reveman@ comments. Created 5 years, 9 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/common/gpu/gpu_memory_buffer_factory_shared_memory.h
diff --git a/content/common/gpu/gpu_memory_buffer_factory_shared_memory.h b/content/common/gpu/gpu_memory_buffer_factory_shared_memory.h
index b2a9c705f88726febee5e13973989de52f726775..937ccd7cc2dc8a01db0a97482d9bc01a6c5e3eb5 100644
--- a/content/common/gpu/gpu_memory_buffer_factory_shared_memory.h
+++ b/content/common/gpu/gpu_memory_buffer_factory_shared_memory.h
@@ -38,10 +38,10 @@ class GpuMemoryBufferFactorySharedMemory : public GpuMemoryBufferFactory,
gpu::ImageFactory* AsImageFactory() override;
// Overridden from gpu::ImageFactory:
- scoped_refptr<gfx::GLImage> CreateImageForGpuMemoryBuffer(
- const gfx::GpuMemoryBufferHandle& handle,
+ scoped_refptr<gfx::GLImage> CreateImageForGpuMemoryBuffers(
+ const std::vector<gfx::GpuMemoryBufferHandle>& handles,
const gfx::Size& size,
- gfx::GpuMemoryBuffer::Format format,
+ const std::vector<gfx::GpuMemoryBuffer::Format>& formats,
unsigned internalformat,
int client_id) override;

Powered by Google App Engine
This is Rietveld 408576698