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

Unified Diff: third_party/khronos/GLES2/gl2ext.h

Issue 11412232: gpu: Add async upload functions. (Closed) Base URL: http://git.chromium.org/chromium/src.git@ASYNC_uploads
Patch Set: Created 8 years, 1 month 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: third_party/khronos/GLES2/gl2ext.h
diff --git a/third_party/khronos/GLES2/gl2ext.h b/third_party/khronos/GLES2/gl2ext.h
index 14dda710ca5d55db51971b153aa8cd6ed98a9dd9..c888ebed8732e4d7d6ad546e1416e76df2f55d30 100644
--- a/third_party/khronos/GLES2/gl2ext.h
+++ b/third_party/khronos/GLES2/gl2ext.h
@@ -2154,6 +2154,13 @@ typedef void (GL_APIENTRYP PFNGLRELEASETEXIMAGE2DCHROMIUM) (GLenum target, GLint
#define GL_PIXEL_UNPACK_TRANSFER_BUFFER_BINDING_CHROMIUM 0x88EF
#endif
+/* GL_CHROMIUM_async_texture_uploads */
+#ifndef GL_CHROMIUM_async_texture_uploads
+#define GL_CHROMIUM_async_texture_uploads 1
+// TODO: Get official numbers for these constants.
+#define GL_ASYNC_TASKS_COMPLETED_CHROMIUM 0x84F5
+#endif
+
#ifdef __cplusplus
}
#endif

Powered by Google App Engine
This is Rietveld 408576698