| Index: content/common/gpu/client/gpu_memory_buffer_impl.h
|
| diff --git a/content/common/gpu/client/gpu_memory_buffer_impl.h b/content/common/gpu/client/gpu_memory_buffer_impl.h
|
| index 61800c80f482d69ba4e2a6f0f5f01c0963232908..cd8c108f571a5aaa6709ac5e718a04ec5d9708cf 100644
|
| --- a/content/common/gpu/client/gpu_memory_buffer_impl.h
|
| +++ b/content/common/gpu/client/gpu_memory_buffer_impl.h
|
| @@ -39,6 +39,10 @@ class CONTENT_EXPORT GpuMemoryBufferImpl : public gfx::GpuMemoryBuffer {
|
| Format format,
|
| size_t* stride_in_bytes);
|
|
|
| + // Returns the number of planes based on the format of the buffer.
|
| + static size_t NumberOfPlanesForGpuMemoryBufferFormat(
|
| + gfx::GpuMemoryBuffer::Format format);
|
| +
|
| // Overridden from gfx::GpuMemoryBuffer:
|
| bool IsMapped() const override;
|
| Format GetFormat() const override;
|
|
|