Index: webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc |
diff --git a/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc b/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc |
index 46403d702f8709c8b4946aaf9976dbc2accdc74d..e738004281ee455b23de0eee8a397ea9747abbb5 100644 |
--- a/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc |
+++ b/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc |
@@ -1643,6 +1643,18 @@ DELEGATE_TO_GL_2(bindTexImage2DCHROMIUM, BindTexImage2DCHROMIUM, |
DELEGATE_TO_GL_2(releaseTexImage2DCHROMIUM, ReleaseTexImage2DCHROMIUM, |
WGC3Denum, WGC3Dint) |
+void* WebGraphicsContext3DInProcessCommandBufferImpl::mapBufferCHROMIUM( |
+ WGC3Denum target, WGC3Denum access) { |
+ ClearContext(); |
+ return gl_->MapBufferCHROMIUM(target, access); |
+} |
+ |
+WGC3Dboolean WebGraphicsContext3DInProcessCommandBufferImpl:: |
+ unmapBufferCHROMIUM(WGC3Denum target) { |
+ ClearContext(); |
+ return gl_->UnmapBufferCHROMIUM(target); |
+} |
+ |
GrGLInterface* WebGraphicsContext3DInProcessCommandBufferImpl:: |
onCreateGrGLInterface() { |
return webkit_glue::CreateCommandBufferSkiaGLBinding(); |