Index: content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.h |
diff --git a/content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.h b/content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.h |
index a7868c15ea39a36ee55f5f071ae9ff88d811e465..b562034e12c397abeb6eef898a1b6175d9c55c60 100644 |
--- a/content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.h |
+++ b/content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.h |
@@ -24,6 +24,11 @@ class GpuMemoryBufferImplSharedMemory : public GpuMemoryBufferImpl { |
base::ProcessHandle child_process, |
const AllocationCallback& callback); |
+ static void Create(const gfx::Size& size, |
reveman
2014/09/09 23:17:54
nit: please order the functions as GpuMemoryBuffer
alexst (slow to review)
2014/09/10 01:57:49
Done.
|
+ unsigned internalformat, |
+ unsigned usage, |
+ const CreationCallback& callback); |
+ |
static bool IsLayoutSupported(const gfx::Size& size, unsigned internalformat); |
static bool IsUsageSupported(unsigned usage); |
static bool IsConfigurationSupported(const gfx::Size& size, |