summaryrefslogtreecommitdiffstats
path: root/ppapi/c/pp_codecs.h
diff options
context:
space:
mode:
authorbbudge@chromium.org <bbudge@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-11 20:01:47 +0000
committerbbudge@chromium.org <bbudge@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-11 20:01:47 +0000
commita39616caeccc1ff73ea6b92f606bd979a7a7ff92 (patch)
treeb648414eaa298a6156f1fb6e19608342968ec8eb /ppapi/c/pp_codecs.h
parent21829851508887625109d3c6904867159ad7d1a3 (diff)
downloadchromium_src-a39616caeccc1ff73ea6b92f606bd979a7a7ff92.zip
chromium_src-a39616caeccc1ff73ea6b92f606bd979a7a7ff92.tar.gz
chromium_src-a39616caeccc1ff73ea6b92f606bd979a7a7ff92.tar.bz2
Pepper: Add GL_TEXTURE_EXTERNAL_OES texture target to PPB_VideoDecoder docs and example.
GL_TEXTURE_2D is used by x86 non-OSX platforms and by software fallback. GL_TEXTURE_RECTANGLE_ARB will be used on OSX hardware. GL_TEXTURE_EXTERNAL_OES is used on ARM ChromeOS. BUG=281689 Review URL: https://codereview.chromium.org/354763003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282674 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/c/pp_codecs.h')
-rw-r--r--ppapi/c/pp_codecs.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/ppapi/c/pp_codecs.h b/ppapi/c/pp_codecs.h
index 356a10b..5c6af36 100644
--- a/ppapi/c/pp_codecs.h
+++ b/ppapi/c/pp_codecs.h
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* From pp_codecs.idl modified Tue Jun 10 13:32:45 2014. */
+/* From pp_codecs.idl modified Mon Jun 30 14:36:36 2014. */
#ifndef PPAPI_C_PP_CODECS_H_
#define PPAPI_C_PP_CODECS_H_
@@ -64,8 +64,9 @@ struct PP_VideoPicture {
uint32_t texture_id;
/**
* The GL texture target for the decoded picture. Possible values are:
- * GL_TEXTURE_2D (normalized texture coordinates)
- * GL_TEXTURE_RECTANGLE_ARB (dimension dependent texture coordinates)
+ * GL_TEXTURE_2D
+ * GL_TEXTURE_RECTANGLE_ARB
+ * GL_TEXTURE_EXTERNAL_OES
*
* The pixel format of the texture is GL_RGBA.
*/