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

Unified Diff: gpu/command_buffer/build_gles2_cmd_buffer.py

Issue 11693007: Linux: use generated shim headers for system mesa. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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/command_buffer/build_gles2_cmd_buffer.py
diff --git a/gpu/command_buffer/build_gles2_cmd_buffer.py b/gpu/command_buffer/build_gles2_cmd_buffer.py
index 99acbc40cefc5ce812c42f17719c5da823373c40..8ce0c39b612447992aceda41b95191d067843f0f 100755
--- a/gpu/command_buffer/build_gles2_cmd_buffer.py
+++ b/gpu/command_buffer/build_gles2_cmd_buffer.py
@@ -2319,6 +2319,16 @@ _CHROMIUM_SPECIFIC_CONSTANTS = {
_CHROMIUM_SPECIFIC_EXTENSIONS = {
+ # TODO(phajdan.jr): Remove this after fixing upstream khronos header
+ # for extension below (it misses e.g. #define GL_ANGLE_instanced_arrays 1
+ # after #ifndef check, which confuses generate_bindings.py).
+ 'GL_ANGLE_instanced_arrays': {
+ 'functions': [
+ 'DrawArraysInstancedANGLE',
+ 'DrawElementsInstancedANGLE',
+ 'VertexAttribDivisorANGLE',
+ ],
+ },
'GL_EXT_framebuffer_multisample': {
'constants': {
'GL_DRAW_FRAMEBUFFER_BINDING': '0x8CA6',

Powered by Google App Engine
This is Rietveld 408576698