OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // These functions emulate GLES2 over command buffers for C. | 5 // These functions emulate GLES2 over command buffers for C. |
6 | 6 |
7 #include <assert.h> | 7 #include <assert.h> |
8 #include <stdlib.h> | 8 #include <stdlib.h> |
9 #include "../client/gles2_lib.h" | 9 #include "gpu/command_buffer/client/gles2_lib.h" |
10 | 10 |
11 #ifndef GL_GLEXT_PROTOTYPES | 11 #ifndef GL_GLEXT_PROTOTYPES |
12 #define GL_GLEXT_PROTOTYPES | 12 #define GL_GLEXT_PROTOTYPES |
13 #endif | 13 #endif |
14 #include <GLES2/gl2ext.h> | 14 #include <GLES2/gl2ext.h> |
15 #include <GLES2/gl2extchromium.h> | 15 #include <GLES2/gl2extchromium.h> |
16 | 16 |
17 extern "C" { | 17 extern "C" { |
18 // Include the auto-generated part of this file. We split this because it means | 18 // Include the auto-generated part of this file. We split this because it means |
19 // we can easily edit the non-auto generated parts right here in this file | 19 // we can easily edit the non-auto generated parts right here in this file |
20 // instead of having to edit some template or the code generator. | 20 // instead of having to edit some template or the code generator. |
21 #include "../client/gles2_c_lib_autogen.h" | 21 #include "gpu/command_buffer/client/gles2_c_lib_autogen.h" |
22 } // extern "C" | 22 } // extern "C" |
23 | 23 |
24 | 24 |
OLD | NEW |