Index: gpu/command_buffer/service/in_process_command_buffer.h |
diff --git a/gpu/command_buffer/service/in_process_command_buffer.h b/gpu/command_buffer/service/in_process_command_buffer.h |
index f8986d81ab09e765d2c747024dc4831d05f9b3eb..1612b264d6a3b8a41015d938ee6854e54d6380c9 100644 |
--- a/gpu/command_buffer/service/in_process_command_buffer.h |
+++ b/gpu/command_buffer/service/in_process_command_buffer.h |
@@ -53,7 +53,6 @@ class ShaderTranslatorCache; |
class CommandBufferServiceBase; |
class GpuControlService; |
-class GpuMemoryBufferFactory; |
class GpuScheduler; |
class TransferBufferManagerInterface; |
@@ -68,8 +67,6 @@ class GPU_EXPORT InProcessCommandBuffer : public CommandBuffer, |
explicit InProcessCommandBuffer(const scoped_refptr<Service>& service); |
virtual ~InProcessCommandBuffer(); |
- static void SetGpuMemoryBufferFactory(GpuMemoryBufferFactory* factory); |
- |
// If |surface| is not NULL, use it directly; in this case, the command |
// buffer gpu thread must be the same as the client thread. Otherwise create |
// a new GLSurface. |
@@ -177,7 +174,14 @@ class GPU_EXPORT InProcessCommandBuffer : public CommandBuffer, |
void RetireSyncPointOnGpuThread(uint32 sync_point); |
void SignalSyncPointOnGpuThread(uint32 sync_point, |
const base::Closure& callback); |
- void DestroyTransferBufferOnGputhread(int32 id); |
+ void DestroyTransferBufferOnGpuThread(int32 id); |
+ void RegisterGpuMemoryBufferOnGpuThread( |
+ int32 id, |
+ const gfx::GpuMemoryBufferHandle& handle, |
+ size_t width, |
+ size_t height, |
+ unsigned internalformat); |
+ void UnregisterGpuMemoryBufferOnGpuThread(int32 id); |
// Callbacks: |
void OnContextLost(); |