Index: mojo/gles2/command_buffer_client_impl.cc |
diff --git a/mojo/gles2/command_buffer_client_impl.cc b/mojo/gles2/command_buffer_client_impl.cc |
index 5c317a0c40f443f8be136f25a4c619787f3cef82..a379020a0288b02de1265317e44910a9f109eaec 100644 |
--- a/mojo/gles2/command_buffer_client_impl.cc |
+++ b/mojo/gles2/command_buffer_client_impl.cc |
@@ -191,20 +191,28 @@ gpu::Capabilities CommandBufferClientImpl::GetCapabilities() { |
return gpu::Capabilities(); |
} |
-gfx::GpuMemoryBuffer* CommandBufferClientImpl::CreateGpuMemoryBuffer( |
- size_t width, |
- size_t height, |
- unsigned internalformat, |
- unsigned usage, |
- int32* id) { |
+int32_t CommandBufferClientImpl::CreateImage(ClientBuffer buffer, |
+ size_t width, |
+ size_t height, |
+ unsigned internalformat) { |
// TODO(piman) |
NOTIMPLEMENTED(); |
- return NULL; |
+ return -1; |
} |
-void CommandBufferClientImpl::DestroyGpuMemoryBuffer(int32 id) { |
+void CommandBufferClientImpl::DestroyImage(int32 id) { |
+ // TODO(piman) |
+ NOTIMPLEMENTED(); |
+} |
+ |
+int32_t CommandBufferClientImpl::CreateGpuMemoryBufferImage( |
+ size_t width, |
+ size_t height, |
+ unsigned internalformat, |
+ unsigned usage) { |
// TODO(piman) |
NOTIMPLEMENTED(); |
+ return -1; |
} |
uint32 CommandBufferClientImpl::InsertSyncPoint() { |