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

Unified Diff: gpu/GLES2/gl2extchromium.h

Issue 2945673002: Allow creating GLImage-backed textures with glTexStorage2D. (Closed)
Patch Set: rebase Created 3 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
Index: gpu/GLES2/gl2extchromium.h
diff --git a/gpu/GLES2/gl2extchromium.h b/gpu/GLES2/gl2extchromium.h
index ce76cba53bacd67a456a8cf511f52e6ff9e30f54..1a3054dd57eb8d30ba81db826be446e4825b2e4b 100644
--- a/gpu/GLES2/gl2extchromium.h
+++ b/gpu/GLES2/gl2extchromium.h
@@ -122,6 +122,14 @@ typedef void(GL_APIENTRYP PFNGLRELEASETEXIMAGE2DCHROMIUMPROC)(GLenum target,
#define GL_RGB_YCBCR_420V_CHROMIUM 0x78FC
#endif
+#ifndef GL_TEXTURE_BUFFER_USAGE_CHROMIUM
+#define GL_TEXTURE_BUFFER_USAGE_CHROMIUM 0x78FD
+#endif
+
+#ifndef GL_TEXTURE_BUFFER_SCANOUT_CHROMIUM
+#define GL_TEXTURE_BUFFER_SCANOUT_CHROMIUM 0x78FE
+#endif
+
/* GL_CHROMIUM_deschedule */
#ifndef GL_CHROMIUM_deschedule
#define GL_CHROMIUM_deschedule 1
« no previous file with comments | « gpu/GLES2/extensions/CHROMIUM/CHROMIUM_texture_buffer.txt ('k') | gpu/command_buffer/build_gles2_cmd_buffer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698