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 921 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
932 #define GR_GL_BUFFER 0x82E0 | 932 #define GR_GL_BUFFER 0x82E0 |
933 #define GR_GL_SHADER 0x82E1 | 933 #define GR_GL_SHADER 0x82E1 |
934 #define GR_GL_PROGRAM 0x82E2 | 934 #define GR_GL_PROGRAM 0x82E2 |
935 #define GR_GL_QUERY 0x82E3 | 935 #define GR_GL_QUERY 0x82E3 |
936 #define GR_GL_PROGRAM_PIPELINE 0x82E4 | 936 #define GR_GL_PROGRAM_PIPELINE 0x82E4 |
937 #define GR_GL_SAMPLER 0x82E6 | 937 #define GR_GL_SAMPLER 0x82E6 |
938 | 938 |
939 /* GL_OES_EGL_image_external */ | 939 /* GL_OES_EGL_image_external */ |
940 #define GR_GL_TEXTURE_EXTERNAL 0x8D65 | 940 #define GR_GL_TEXTURE_EXTERNAL 0x8D65 |
941 | 941 |
| 942 /* GL_ARB_texture_rectangle */ |
| 943 #define GR_GL_TEXTURE_RECTANGLE 0x84F5 |
| 944 |
942 /* EGL Defines */ | 945 /* EGL Defines */ |
943 #define GR_EGL_NO_DISPLAY ((GrEGLDisplay)0) | 946 #define GR_EGL_NO_DISPLAY ((GrEGLDisplay)0) |
944 #define GR_EGL_EXTENSIONS 0x3055 | 947 #define GR_EGL_EXTENSIONS 0x3055 |
945 #define GR_EGL_GL_TEXTURE_2D 0x30B1 | 948 #define GR_EGL_GL_TEXTURE_2D 0x30B1 |
946 #define GR_EGL_GL_TEXTURE_LEVEL 0x30BC | 949 #define GR_EGL_GL_TEXTURE_LEVEL 0x30BC |
947 #define GR_EGL_IMAGE_PRESERVED 0x30D2 | 950 #define GR_EGL_IMAGE_PRESERVED 0x30D2 |
948 #define GR_EGL_FALSE 0x0 | 951 #define GR_EGL_FALSE 0x0 |
949 #define GR_EGL_TRUE 0x1 | 952 #define GR_EGL_TRUE 0x1 |
950 #define GR_EGL_NONE 0x3038 | 953 #define GR_EGL_NONE 0x3038 |
951 #define GR_EGL_NO_IMAGE ((GrEGLImage)0) | 954 #define GR_EGL_NO_IMAGE ((GrEGLImage)0) |
952 | 955 |
953 #endif | 956 #endif |
OLD | NEW |