| 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 4ef463727133779c1be7d0bbc9e263113be8de98..9e5c7dadfea470b34a481d16c65837120863ff79 100644
|
| --- a/content/common/gpu/client/gpu_memory_buffer_impl.h
|
| +++ b/content/common/gpu/client/gpu_memory_buffer_impl.h
|
| @@ -33,6 +33,10 @@
|
|
|
| // Type-checking upcast routine. Returns an NULL on failure.
|
| static GpuMemoryBufferImpl* FromClientBuffer(ClientBuffer buffer);
|
| +
|
| + // Returns the number of planes based on the format of the buffer.
|
| + static size_t NumberOfPlanesForGpuMemoryBufferFormat(
|
| + gfx::BufferFormat format);
|
|
|
| // Returns the subsampling factor applied to the given zero-indexed |plane| of
|
| // the |format| both horizontally and vertically.
|
|
|