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

Unified Diff: ui/gl/generate_bindings.py

Issue 10392068: ui: Move gl/ directory out of gfx/, up to ui/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix mac_rel Created 8 years, 7 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
« no previous file with comments | « ui/gl/egl_util.cc ('k') | ui/gl/gl.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/generate_bindings.py
diff --git a/ui/gfx/gl/generate_bindings.py b/ui/gl/generate_bindings.py
similarity index 99%
rename from ui/gfx/gl/generate_bindings.py
rename to ui/gl/generate_bindings.py
index b01fea7687ecbd08930a3dc0069c87b89992158b..22ab46a3b26bcc8179abcd4aa42edc2be01afd65 100755
--- a/ui/gfx/gl/generate_bindings.py
+++ b/ui/gl/generate_bindings.py
@@ -1056,18 +1056,18 @@ GLX_FUNCTIONS = [
]
FUNCTION_SETS = [
- [GL_FUNCTIONS, 'gl', ['../../../third_party/mesa/MesaLib/include/GL/glext.h',
- '../../../third_party/khronos/GLES2/gl2ext.h'], []],
+ [GL_FUNCTIONS, 'gl', ['../../third_party/mesa/MesaLib/include/GL/glext.h',
+ '../../third_party/khronos/GLES2/gl2ext.h'], []],
[OSMESA_FUNCTIONS, 'osmesa', [], []],
- [EGL_FUNCTIONS, 'egl', ['../../../third_party/khronos/EGL/eglext.h'],
+ [EGL_FUNCTIONS, 'egl', ['../../third_party/khronos/EGL/eglext.h'],
[
'EGL_ANGLE_d3d_share_handle_client_buffer',
],
],
[WGL_FUNCTIONS, 'wgl', [
- '../../../third_party/mesa/MesaLib/include/GL/wglext.h'], []],
+ '../../third_party/mesa/MesaLib/include/GL/wglext.h'], []],
[GLX_FUNCTIONS, 'glx', [
- '../../../third_party/mesa/MesaLib/include/GL/glxext.h'], []],
+ '../../third_party/mesa/MesaLib/include/GL/glxext.h'], []],
]
def GenerateHeader(file, functions, set_name, used_extension_functions):
@@ -1140,9 +1140,9 @@ def GenerateSource(file, functions, set_name, used_extension_functions):
file.write('\n')
file.write('#include <string>\n')
file.write('#include "gpu/command_buffer/common/gles2_cmd_utils.h"\n')
- file.write('#include "ui/gfx/gl/gl_bindings.h"\n')
- file.write('#include "ui/gfx/gl/gl_context.h"\n')
- file.write('#include "ui/gfx/gl/gl_implementation.h"\n')
+ file.write('#include "ui/gl/gl_bindings.h"\n')
+ file.write('#include "ui/gl/gl_context.h"\n')
+ file.write('#include "ui/gl/gl_implementation.h"\n')
# Write definitions for booleans indicating which extensions are available.
file.write('\n')
@@ -1332,7 +1332,7 @@ def GenerateMockSource(file, functions):
file.write('\n')
file.write('#include <string.h>\n')
file.write('\n')
- file.write('#include "ui/gfx/gl/gl_interface.h"\n')
+ file.write('#include "ui/gl/gl_interface.h"\n')
file.write('\n')
file.write('namespace gfx {\n')
« no previous file with comments | « ui/gl/egl_util.cc ('k') | ui/gl/gl.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698