OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // A few stubs so we don't need the actual OpenGL ES 2.0 conformance tests | 5 // A few stubs so we don't need the actual OpenGL ES 2.0 conformance tests |
6 // to compile the support for them. | 6 // to compile the support for them. |
7 | 7 |
8 #ifndef GPU_GLES2_CONFORM_SUPPORT_GTF_GTF_STUBS_H_ | 8 #ifndef GPU_GLES2_CONFORM_SUPPORT_GTF_GTF_STUBS_H_ |
9 #define GPU_GLES2_CONFORM_SUPPORT_GTF_GTF_STUBS_H_ | 9 #define GPU_GLES2_CONFORM_SUPPORT_GTF_GTF_STUBS_H_ |
10 | 10 |
11 #include <GLES2/gl2.h> | 11 #include <GLES2/gl2.h> |
12 #include <EGL/egl.h> | 12 #include <EGL/egl.h> |
13 #include <EGL/eglext.h> | 13 #include <EGL/eglext.h> |
14 | 14 |
15 typedef unsigned char GTFbool; | 15 typedef unsigned char GTFbool; |
16 #define GTFfalse 0 | 16 #define GTFfalse 0 |
17 #define GTFtrue 1 | 17 #define GTFtrue 1 |
18 | 18 |
19 int GTFMain(int argc, char** argv); | 19 int GTFMain(int argc, char** argv); |
20 | 20 |
21 #endif // GPU_GLES2_CONFORM_SUPPORT_GTF_GTF_STUBS_H_ | 21 #endif // GPU_GLES2_CONFORM_SUPPORT_GTF_GTF_STUBS_H_ |
22 | 22 |
23 | 23 |
OLD | NEW |