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 ee85f0f7b57ee02d73e5bca5e74ab26cf8cf77c6..73d9b8e30327ef4db31f89e12ba734cb865b8e06 100644 |
--- a/content/common/gpu/client/gpu_memory_buffer_impl.h |
+++ b/content/common/gpu/client/gpu_memory_buffer_impl.h |
@@ -22,6 +22,8 @@ class GpuMemoryBufferImpl : public gfx::GpuMemoryBuffer { |
virtual ~GpuMemoryBufferImpl(); |
static bool IsFormatValid(unsigned internalformat); |
+ static bool IsUsageValid(unsigned usage); |
+ static bool IsUsageSupportedForSharedMemory(unsigned usage); |
reveman
2014/05/01 18:07:33
Please move this to GpuMemoryBufferImplShm::IsUsag
|
static size_t BytesPerPixel(unsigned internalformat); |
// Overridden from gfx::GpuMemoryBuffer: |