Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(46)

Side by Side Diff: src/gpu/gl/GrGLDefines.h

Issue 293263004: Add OpenGL Compressed Texture enum values (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 203
204 /* GetTextureParameter */ 204 /* GetTextureParameter */
205 /* GL_TEXTURE_MAG_FILTER */ 205 /* GL_TEXTURE_MAG_FILTER */
206 /* GL_TEXTURE_MIN_FILTER */ 206 /* GL_TEXTURE_MIN_FILTER */
207 /* GL_TEXTURE_WRAP_S */ 207 /* GL_TEXTURE_WRAP_S */
208 /* GL_TEXTURE_WRAP_T */ 208 /* GL_TEXTURE_WRAP_T */
209 209
210 #define GR_GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2 210 #define GR_GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
211 #define GR_GL_COMPRESSED_TEXTURE_FORMATS 0x86A3 211 #define GR_GL_COMPRESSED_TEXTURE_FORMATS 0x86A3
212 212
213 /* Compressed Texture Formats */
214 #define GR_GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0
215 #define GR_GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1
216 #define GR_GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2
217 #define GR_GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3
218
219 #define GR_GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG 0x8C00
220 #define GR_GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG 0x8C01
221 #define GR_GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG 0x8C02
222 #define GR_GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG 0x8C03
223
224 #define GR_GL_COMPRESSED_RGBA_PVRTC_2BPPV2_IMG 0x9137
225 #define GR_GL_COMPRESSED_RGBA_PVRTC_4BPPV2_IMG 0x9138
226
227 #define GR_GL_COMPRESSED_RGB8_ETC1 0x8D64
228
229 #define GR_GL_COMPRESSED_R11 0x9270
230 #define GR_GL_COMPRESSED_SIGNED_R11 0x9271
231 #define GR_GL_COMPRESSED_RG11 0x9272
232 #define GR_GL_COMPRESSED_SIGNED_RG11 0x9273
233
234 #define GR_GL_COMPRESSED_RGB8_ETC2 0x9274
235 #define GR_GL_COMPRESSED_SRGB8 0x9275
236 #define GR_GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1 0x9276
237 #define GR_GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1 0x9277
238 #define GR_GL_COMPRESSED_RGBA8_ETC2 0x9278
239 #define GR_GL_COMPRESSED_SRGB8_ALPHA8_ETC2 0x9279
240
241 #define GR_GL_COMPRESSED_RGBA_BPTC_UNORM 0x8E8C
242 #define GR_GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM 0x8E8D
243 #define GR_GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT 0x8E8E
244 #define GR_GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT 0x8E8F
245
246 #define GR_GL_COMPRESSED_RGBA_ASTC_4x4 0x93B0
247 #define GR_GL_COMPRESSED_RGBA_ASTC_5x4 0x93B1
248 #define GR_GL_COMPRESSED_RGBA_ASTC_5x5 0x93B2
249 #define GR_GL_COMPRESSED_RGBA_ASTC_6x5 0x93B3
250 #define GR_GL_COMPRESSED_RGBA_ASTC_6x6 0x93B4
251 #define GR_GL_COMPRESSED_RGBA_ASTC_8x5 0x93B5
252 #define GR_GL_COMPRESSED_RGBA_ASTC_8x6 0x93B6
253 #define GR_GL_COMPRESSED_RGBA_ASTC_8x8 0x93B7
254 #define GR_GL_COMPRESSED_RGBA_ASTC_10x5 0x93B8
255 #define GR_GL_COMPRESSED_RGBA_ASTC_10x6 0x93B9
256 #define GR_GL_COMPRESSED_RGBA_ASTC_10x8 0x93BA
257 #define GR_GL_COMPRESSED_RGBA_ASTC_10x10 0x93BB
258 #define GR_GL_COMPRESSED_RGBA_ASTC_12x10 0x93BC
259 #define GR_GL_COMPRESSED_RGBA_ASTC_12x12 0x93BD
260
261 #define GR_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4 0x93D0
262 #define GR_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4 0x93D1
263 #define GR_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5 0x93D2
264 #define GR_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5 0x93D3
265 #define GR_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6 0x93D4
266 #define GR_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5 0x93D5
267 #define GR_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6 0x93D6
268 #define GR_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8 0x93D7
269 #define GR_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5 0x93D8
270 #define GR_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6 0x93D9
271 #define GR_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8 0x93DA
272 #define GR_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10 0x93DB
273 #define GR_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10 0x93DC
274 #define GR_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12 0x93DD
275
213 /* HintMode */ 276 /* HintMode */
214 #define GR_GL_DONT_CARE 0x1100 277 #define GR_GL_DONT_CARE 0x1100
215 #define GR_GL_FASTEST 0x1101 278 #define GR_GL_FASTEST 0x1101
216 #define GR_GL_NICEST 0x1102 279 #define GR_GL_NICEST 0x1102
217 280
218 /* HintTarget */ 281 /* HintTarget */
219 #define GR_GL_GENERATE_MIPMAP_HINT 0x8192 282 #define GR_GL_GENERATE_MIPMAP_HINT 0x8192
220 283
221 /* DataType */ 284 /* DataType */
222 #define GR_GL_BYTE 0x1400 285 #define GR_GL_BYTE 0x1400
(...skipping 667 matching lines...) Expand 10 before | Expand all | Expand 10 after
890 #define GR_GL_ADJACENT_PAIRS 0x90AE 953 #define GR_GL_ADJACENT_PAIRS 0x90AE
891 #define GR_GL_FIRST_TO_REST 0x90AF 954 #define GR_GL_FIRST_TO_REST 0x90AF
892 955
893 //path gen modes 956 //path gen modes
894 #define GR_GL_PATH_GEN_MODE 0x90B0 957 #define GR_GL_PATH_GEN_MODE 0x90B0
895 #define GR_GL_PATH_GEN_COEFF 0x90B1 958 #define GR_GL_PATH_GEN_COEFF 0x90B1
896 #define GR_GL_PATH_GEN_COLOR_FORMAT 0x90B2 959 #define GR_GL_PATH_GEN_COLOR_FORMAT 0x90B2
897 #define GR_GL_PATH_GEN_COMPONENTS 0x90B3 960 #define GR_GL_PATH_GEN_COMPONENTS 0x90B3
898 961
899 #endif 962 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698