Index: ppapi/shared_impl/graphics_3d_impl.cc |
diff --git a/ppapi/shared_impl/graphics_3d_impl.cc b/ppapi/shared_impl/graphics_3d_impl.cc |
index 75d3a18b54eea138a7e384ea1c96d6e7814827d6..cb21e77081d782449c4bb22a126886e735ebae16 100644 |
--- a/ppapi/shared_impl/graphics_3d_impl.cc |
+++ b/ppapi/shared_impl/graphics_3d_impl.cc |
@@ -58,6 +58,23 @@ int32_t Graphics3DImpl::SwapBuffers(PP_CompletionCallback callback) { |
return DoSwapBuffers(); |
} |
+void* Graphics3DImpl::MapTexSubImage2DCHROMIUM(GLenum target, |
+ GLint level, |
+ GLint xoffset, |
+ GLint yoffset, |
+ GLsizei width, |
+ GLsizei height, |
+ GLenum format, |
+ GLenum type, |
+ GLenum access) { |
+ return gles2_impl_->MapTexSubImage2DCHROMIUM( |
+ target, level, xoffset, yoffset, width, height, format, type, access); |
+} |
+ |
+void Graphics3DImpl::UnmapTexSubImage2DCHROMIUM(const void* mem) { |
+ gles2_impl_->UnmapTexSubImage2DCHROMIUM(mem); |
+} |
+ |
void Graphics3DImpl::SwapBuffersACK(int32_t pp_error) { |
DCHECK(HasPendingSwap()); |
PP_RunAndClearCompletionCallback(&swap_callback_, pp_error); |