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

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

Issue 1814533003: Revert of sRGB support in Ganesh. Several pieces: (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 9 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/GrGLGpu.h » ('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 488 matching lines...) Expand 10 before | Expand all | Expand 10 after
499 /* GL_NEAREST */ 499 /* GL_NEAREST */
500 /* GL_LINEAR */ 500 /* GL_LINEAR */
501 #define GR_GL_NEAREST_MIPMAP_NEAREST 0x2700 501 #define GR_GL_NEAREST_MIPMAP_NEAREST 0x2700
502 #define GR_GL_LINEAR_MIPMAP_NEAREST 0x2701 502 #define GR_GL_LINEAR_MIPMAP_NEAREST 0x2701
503 #define GR_GL_NEAREST_MIPMAP_LINEAR 0x2702 503 #define GR_GL_NEAREST_MIPMAP_LINEAR 0x2702
504 #define GR_GL_LINEAR_MIPMAP_LINEAR 0x2703 504 #define GR_GL_LINEAR_MIPMAP_LINEAR 0x2703
505 505
506 /* TextureUsage */ 506 /* TextureUsage */
507 #define GR_GL_FRAMEBUFFER_ATTACHMENT 0x93A3 507 #define GR_GL_FRAMEBUFFER_ATTACHMENT 0x93A3
508 508
509 /* TextureSRGBDecode */
510 #define GR_GL_DECODE_EXT 0x8A49
511 #define GR_GL_SKIP_DECODE_EXT 0x8A4A
512
513 /* TextureParameterName */ 509 /* TextureParameterName */
514 #define GR_GL_TEXTURE_MAG_FILTER 0x2800 510 #define GR_GL_TEXTURE_MAG_FILTER 0x2800
515 #define GR_GL_TEXTURE_MIN_FILTER 0x2801 511 #define GR_GL_TEXTURE_MIN_FILTER 0x2801
516 #define GR_GL_TEXTURE_WRAP_S 0x2802 512 #define GR_GL_TEXTURE_WRAP_S 0x2802
517 #define GR_GL_TEXTURE_WRAP_T 0x2803 513 #define GR_GL_TEXTURE_WRAP_T 0x2803
518 #define GR_GL_TEXTURE_USAGE 0x93A2 514 #define GR_GL_TEXTURE_USAGE 0x93A2
519 #define GR_GL_TEXTURE_SRGB_DECODE_EXT 0x8A48
520 515
521 /* TextureTarget */ 516 /* TextureTarget */
522 /* GL_TEXTURE_2D */ 517 /* GL_TEXTURE_2D */
523 #define GR_GL_TEXTURE 0x1702 518 #define GR_GL_TEXTURE 0x1702
524 #define GR_GL_TEXTURE_CUBE_MAP 0x8513 519 #define GR_GL_TEXTURE_CUBE_MAP 0x8513
525 #define GR_GL_TEXTURE_BINDING_CUBE_MAP 0x8514 520 #define GR_GL_TEXTURE_BINDING_CUBE_MAP 0x8514
526 #define GR_GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515 521 #define GR_GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515
527 #define GR_GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516 522 #define GR_GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516
528 #define GR_GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517 523 #define GR_GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517
529 #define GR_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518 524 #define GR_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518
(...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after
964 #define GR_EGL_EXTENSIONS 0x3055 959 #define GR_EGL_EXTENSIONS 0x3055
965 #define GR_EGL_GL_TEXTURE_2D 0x30B1 960 #define GR_EGL_GL_TEXTURE_2D 0x30B1
966 #define GR_EGL_GL_TEXTURE_LEVEL 0x30BC 961 #define GR_EGL_GL_TEXTURE_LEVEL 0x30BC
967 #define GR_EGL_IMAGE_PRESERVED 0x30D2 962 #define GR_EGL_IMAGE_PRESERVED 0x30D2
968 #define GR_EGL_FALSE 0x0 963 #define GR_EGL_FALSE 0x0
969 #define GR_EGL_TRUE 0x1 964 #define GR_EGL_TRUE 0x1
970 #define GR_EGL_NONE 0x3038 965 #define GR_EGL_NONE 0x3038
971 #define GR_EGL_NO_IMAGE ((GrEGLImage)0) 966 #define GR_EGL_NO_IMAGE ((GrEGLImage)0)
972 967
973 #endif 968 #endif
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLCaps.cpp ('k') | src/gpu/gl/GrGLGpu.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698