Index: ppapi/thunk/ppb_graphics_3d_api.h |
=================================================================== |
--- ppapi/thunk/ppb_graphics_3d_api.h (revision 123696) |
+++ ppapi/thunk/ppb_graphics_3d_api.h (working copy) |
@@ -7,6 +7,7 @@ |
#include "ppapi/c/ppb_graphics_3d.h" |
#include "ppapi/c/trusted/ppb_graphics_3d_trusted.h" |
+#include "ppapi/c/dev/ppb_gles_chromium_texture_mapping_dev.h" |
#include "ppapi/thunk/ppapi_thunk_export.h" |
namespace ppapi { |
@@ -36,6 +37,18 @@ |
virtual PP_Graphics3DTrustedState FlushSync(int32_t put_offset) = 0; |
virtual PP_Graphics3DTrustedState FlushSyncFast(int32_t put_offset, |
int32_t last_known_get) = 0; |
+ |
+ // GLESChromiumTextureMapping. |
+ virtual void* MapTexSubImage2DCHROMIUM(GLenum target, |
+ GLint level, |
+ GLint xoffset, |
+ GLint yoffset, |
+ GLsizei width, |
+ GLsizei height, |
+ GLenum format, |
+ GLenum type, |
+ GLenum access) = 0; |
+ virtual void UnmapTexSubImage2DCHROMIUM(const void* mem) = 0; |
}; |
} // namespace thunk |