diff options
author | piman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-27 06:06:32 +0000 |
---|---|---|
committer | piman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-27 06:06:32 +0000 |
commit | 919cabb76079cc2f4819191fca6daa4eced58c30 (patch) | |
tree | ba899ab219c23b92002ea9fdb0a7a74ad7c580e2 /ppapi/thunk/ppb_graphics_3d_api.h | |
parent | 84df7440e4190b54485473d38e5f13f3f88d2514 (diff) | |
download | chromium_src-919cabb76079cc2f4819191fca6daa4eced58c30.zip chromium_src-919cabb76079cc2f4819191fca6daa4eced58c30.tar.gz chromium_src-919cabb76079cc2f4819191fca6daa4eced58c30.tar.bz2 |
Make PPB_GLESChromiumTextureMapping_Dev work with PPB_Graphics3D_Dev
BUG=None
TEST=Pepper Flash
Review URL: http://codereview.chromium.org/7763007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98555 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/thunk/ppb_graphics_3d_api.h')
-rw-r--r-- | ppapi/thunk/ppb_graphics_3d_api.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/ppapi/thunk/ppb_graphics_3d_api.h b/ppapi/thunk/ppb_graphics_3d_api.h index 8df3972..c9af8e4 100644 --- a/ppapi/thunk/ppb_graphics_3d_api.h +++ b/ppapi/thunk/ppb_graphics_3d_api.h @@ -7,6 +7,7 @@ #include "ppapi/c/dev/ppb_graphics_3d_dev.h" #include "ppapi/c/dev/ppb_graphics_3d_trusted_dev.h" +#include "ppapi/c/dev/ppb_gles_chromium_texture_mapping_dev.h" #include "ppapi/thunk/ppapi_thunk_export.h" namespace ppapi { @@ -37,8 +38,17 @@ class PPAPI_THUNK_EXPORT PPB_Graphics3D_API { virtual PP_Graphics3DTrustedState FlushSyncFast(int32_t put_offset, int32_t last_known_get) = 0; - // TODO(alokp): Implement GLESChromiumTextureMapping here after - // deprecating Context3D. + // 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 |