Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(344)

Unified Diff: ppapi/shared_impl/graphics_3d_impl.cc

Issue 7763007: Make PPB_GLESChromiumTextureMapping_Dev work with PPB_Graphics3D_Dev (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/shared_impl/graphics_3d_impl.h ('k') | ppapi/thunk/ppb_gles_chromium_texture_mapping_thunk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « ppapi/shared_impl/graphics_3d_impl.h ('k') | ppapi/thunk/ppb_gles_chromium_texture_mapping_thunk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698