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

Unified Diff: ui/gl/gl_image_linux_dma_buffer.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: Trybot issues fixed. 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: ui/gl/gl_image_linux_dma_buffer.h
diff --git a/ui/gl/gl_image_linux_dma_buffer.h b/ui/gl/gl_image_linux_dma_buffer.h
index 5256211aa838b17ba6f02a3ae2c059f3c7834100..f36657b9d38d2afd6f373166e87806ca99ff36ab 100644
--- a/ui/gl/gl_image_linux_dma_buffer.h
+++ b/ui/gl/gl_image_linux_dma_buffer.h
@@ -16,9 +16,10 @@ class GL_EXPORT GLImageLinuxDMABuffer : public GLImageEGL {
// Returns true on success and the file descriptor can be closed as the
// implementation will take a reference to the dma_buf.
- bool Initialize(const base::FileDescriptor& handle,
- gfx::GpuMemoryBuffer::Format format,
- int pitch);
+ bool Initialize(int num_buffers,
reveman 2015/03/12 19:37:23 Only add this if you're going to also add support
emircan 2015/03/12 22:34:26 Done.
+ const std::vector<base::FileDescriptor>& handles,
+ const std::vector<gfx::GpuMemoryBuffer::Format>& formats,
+ const std::vector<int>& pitches);
protected:
~GLImageLinuxDMABuffer() override;

Powered by Google App Engine
This is Rietveld 408576698