diff options
Diffstat (limited to 'mojo/gles2/command_buffer_client_impl.cc')
-rw-r--r-- | mojo/gles2/command_buffer_client_impl.cc | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/mojo/gles2/command_buffer_client_impl.cc b/mojo/gles2/command_buffer_client_impl.cc index 5c317a0..a379020 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() { |