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; |