| 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')
|
|
|