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

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

Issue 304743004: Move ETC1 and LATC enums value to GrPixelConfig (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Only generate mipmaps for uncompressed textures. Created 6 years, 6 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 | « src/gpu/gl/GrGLCaps.cpp ('k') | src/gpu/gl/GrGpuGL.cpp » ('j') | 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 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 #define GR_GL_COMPRESSED_RG11 0x9272 231 #define GR_GL_COMPRESSED_RG11 0x9272
232 #define GR_GL_COMPRESSED_SIGNED_RG11 0x9273 232 #define GR_GL_COMPRESSED_SIGNED_RG11 0x9273
233 233
234 #define GR_GL_COMPRESSED_RGB8_ETC2 0x9274 234 #define GR_GL_COMPRESSED_RGB8_ETC2 0x9274
235 #define GR_GL_COMPRESSED_SRGB8 0x9275 235 #define GR_GL_COMPRESSED_SRGB8 0x9275
236 #define GR_GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1 0x9276 236 #define GR_GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1 0x9276
237 #define GR_GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1 0x9277 237 #define GR_GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1 0x9277
238 #define GR_GL_COMPRESSED_RGBA8_ETC2 0x9278 238 #define GR_GL_COMPRESSED_RGBA8_ETC2 0x9278
239 #define GR_GL_COMPRESSED_SRGB8_ALPHA8_ETC2 0x9279 239 #define GR_GL_COMPRESSED_SRGB8_ALPHA8_ETC2 0x9279
240 240
241 #define GR_GL_COMPRESSED_LUMINANCE_LATC1 0x8C70
242 #define GR_GL_COMPRESSED_SIGNED_LUMINANCE_LATC1 0x8C71
243 #define GR_GL_COMPRESSED_LUMINANCE_ALPHA_LATC2 0x8C72
244 #define GR_GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2 0x8C73
245
246 #define GR_GL_COMPRESSED_RED_RGTC1 0x8DBB
247 #define GR_GL_COMPRESSED_SIGNED_RED_RGTC1 0x8DBC
248 #define GR_GL_COMPRESSED_RED_GREEN_RGTC2 0x8DBD
249 #define GR_GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2 0x8DBE
250
251 #define GR_GL_COMPRESSED_3DC_X 0x87F9
252 #define GR_GL_COMPRESSED_3DC_XY 0x87FA
253
241 #define GR_GL_COMPRESSED_RGBA_BPTC_UNORM 0x8E8C 254 #define GR_GL_COMPRESSED_RGBA_BPTC_UNORM 0x8E8C
242 #define GR_GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM 0x8E8D 255 #define GR_GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM 0x8E8D
243 #define GR_GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT 0x8E8E 256 #define GR_GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT 0x8E8E
244 #define GR_GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT 0x8E8F 257 #define GR_GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT 0x8E8F
245 258
246 #define GR_GL_COMPRESSED_RGBA_ASTC_4x4 0x93B0 259 #define GR_GL_COMPRESSED_RGBA_ASTC_4x4 0x93B0
247 #define GR_GL_COMPRESSED_RGBA_ASTC_5x4 0x93B1 260 #define GR_GL_COMPRESSED_RGBA_ASTC_5x4 0x93B1
248 #define GR_GL_COMPRESSED_RGBA_ASTC_5x5 0x93B2 261 #define GR_GL_COMPRESSED_RGBA_ASTC_5x5 0x93B2
249 #define GR_GL_COMPRESSED_RGBA_ASTC_6x5 0x93B3 262 #define GR_GL_COMPRESSED_RGBA_ASTC_6x5 0x93B3
250 #define GR_GL_COMPRESSED_RGBA_ASTC_6x6 0x93B4 263 #define GR_GL_COMPRESSED_RGBA_ASTC_6x6 0x93B4
(...skipping 702 matching lines...) Expand 10 before | Expand all | Expand 10 after
953 #define GR_GL_ADJACENT_PAIRS 0x90AE 966 #define GR_GL_ADJACENT_PAIRS 0x90AE
954 #define GR_GL_FIRST_TO_REST 0x90AF 967 #define GR_GL_FIRST_TO_REST 0x90AF
955 968
956 //path gen modes 969 //path gen modes
957 #define GR_GL_PATH_GEN_MODE 0x90B0 970 #define GR_GL_PATH_GEN_MODE 0x90B0
958 #define GR_GL_PATH_GEN_COEFF 0x90B1 971 #define GR_GL_PATH_GEN_COEFF 0x90B1
959 #define GR_GL_PATH_GEN_COLOR_FORMAT 0x90B2 972 #define GR_GL_PATH_GEN_COLOR_FORMAT 0x90B2
960 #define GR_GL_PATH_GEN_COMPONENTS 0x90B3 973 #define GR_GL_PATH_GEN_COMPONENTS 0x90B3
961 974
962 #endif 975 #endif
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLCaps.cpp ('k') | src/gpu/gl/GrGpuGL.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698