OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 // Contains various validation functions for the GLES2 service. | 5 // Contains various validation functions for the GLES2 service. |
6 | 6 |
7 // NOTE: We explicitly do NOT include gles2_cmd_validation.h because the | 7 #include "base/basictypes.h" |
8 // gl2.h included in here must NOT be the native one. This is because | 8 #define GLES2_GPU_SERVICE 1 |
9 // some of the GLenum definitions exist only in GLES2 and not in Desktop | 9 #include "gpu/command_buffer/service/gles2_cmd_validation.h" |
10 // GL. | 10 #include "gpu/command_buffer/service/gl_utils.h" |
11 #include <GLES2/gl2types.h> | |
12 #include <GLES2/gl2ext.h> | |
13 #include <GLES2/gles2_command_buffer.h> | |
14 | 11 |
15 namespace gpu { | 12 namespace gpu { |
16 namespace gles2 { | 13 namespace gles2 { |
17 | 14 |
18 #include "gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen
.h" | 15 #include "gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen
.h" |
19 | 16 |
20 } // namespace gles2 | 17 } // namespace gles2 |
21 } // namespace gpu | 18 } // namespace gpu |
22 | 19 |
23 | 20 |
24 | 21 |
OLD | NEW |