OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 Google Inc. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 | 8 |
9 | 9 |
10 #ifndef GrGLDefines_DEFINED | 10 #ifndef GrGLDefines_DEFINED |
(...skipping 949 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
960 #define GR_GL_TEXTURE_EXTERNAL 0x8D65 | 960 #define GR_GL_TEXTURE_EXTERNAL 0x8D65 |
961 | 961 |
962 /* GL_ARB_texture_rectangle */ | 962 /* GL_ARB_texture_rectangle */ |
963 #define GR_GL_TEXTURE_RECTANGLE 0x84F5 | 963 #define GR_GL_TEXTURE_RECTANGLE 0x84F5 |
964 | 964 |
965 /* GL_EXT_window_rectangles */ | 965 /* GL_EXT_window_rectangles */ |
966 #define GR_GL_MAX_WINDOW_RECTANGLES 0x8f14 | 966 #define GR_GL_MAX_WINDOW_RECTANGLES 0x8f14 |
967 #define GR_GL_INCLUSIVE 0x8f10 | 967 #define GR_GL_INCLUSIVE 0x8f10 |
968 #define GR_GL_EXCLUSIVE 0x8f11 | 968 #define GR_GL_EXCLUSIVE 0x8f11 |
969 | 969 |
| 970 /* GL_ARB_sync */ |
| 971 #define GR_GL_SYNC_GPU_COMMANDS_COMPLETE 0x9117 |
| 972 #define GR_GL_ALREADY_SIGNALED 0x911A |
| 973 #define GR_GL_TIMEOUT_EXPIRED 0x911B |
| 974 #define GR_GL_CONDITION_SATISFIED 0x911C |
| 975 #define GR_GL_WAIT_FAILED 0x911D |
| 976 #define GR_GL_SYNC_FLUSH_COMMANDS_BIT 0x00000001 |
| 977 |
970 /* EGL Defines */ | 978 /* EGL Defines */ |
971 #define GR_EGL_NO_DISPLAY ((GrEGLDisplay)0) | 979 #define GR_EGL_NO_DISPLAY ((GrEGLDisplay)0) |
972 #define GR_EGL_EXTENSIONS 0x3055 | 980 #define GR_EGL_EXTENSIONS 0x3055 |
973 #define GR_EGL_GL_TEXTURE_2D 0x30B1 | 981 #define GR_EGL_GL_TEXTURE_2D 0x30B1 |
974 #define GR_EGL_GL_TEXTURE_LEVEL 0x30BC | 982 #define GR_EGL_GL_TEXTURE_LEVEL 0x30BC |
975 #define GR_EGL_IMAGE_PRESERVED 0x30D2 | 983 #define GR_EGL_IMAGE_PRESERVED 0x30D2 |
976 #define GR_EGL_FALSE 0x0 | 984 #define GR_EGL_FALSE 0x0 |
977 #define GR_EGL_TRUE 0x1 | 985 #define GR_EGL_TRUE 0x1 |
978 #define GR_EGL_NONE 0x3038 | 986 #define GR_EGL_NONE 0x3038 |
979 #define GR_EGL_NO_IMAGE ((GrEGLImage)0) | 987 #define GR_EGL_NO_IMAGE ((GrEGLImage)0) |
980 | 988 |
981 #endif | 989 #endif |
OLD | NEW |