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

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

Issue 1789663002: sRGB support in Ganesh. Several pieces: (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Ensure sBGRA is unsupported on ES 2.0. Fix CreateRenderTarget. 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
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 485 matching lines...) Expand 10 before | Expand all | Expand 10 after
496 /* GL_NEAREST */ 496 /* GL_NEAREST */
497 /* GL_LINEAR */ 497 /* GL_LINEAR */
498 #define GR_GL_NEAREST_MIPMAP_NEAREST 0x2700 498 #define GR_GL_NEAREST_MIPMAP_NEAREST 0x2700
499 #define GR_GL_LINEAR_MIPMAP_NEAREST 0x2701 499 #define GR_GL_LINEAR_MIPMAP_NEAREST 0x2701
500 #define GR_GL_NEAREST_MIPMAP_LINEAR 0x2702 500 #define GR_GL_NEAREST_MIPMAP_LINEAR 0x2702
501 #define GR_GL_LINEAR_MIPMAP_LINEAR 0x2703 501 #define GR_GL_LINEAR_MIPMAP_LINEAR 0x2703
502 502
503 /* TextureUsage */ 503 /* TextureUsage */
504 #define GR_GL_FRAMEBUFFER_ATTACHMENT 0x93A3 504 #define GR_GL_FRAMEBUFFER_ATTACHMENT 0x93A3
505 505
506 /* TextureSRGBDecode */
507 #define GR_GL_DECODE_EXT 0x8A49
508 #define GR_GL_SKIP_DECODE_EXT 0x8A4A
509
506 /* TextureParameterName */ 510 /* TextureParameterName */
507 #define GR_GL_TEXTURE_MAG_FILTER 0x2800 511 #define GR_GL_TEXTURE_MAG_FILTER 0x2800
508 #define GR_GL_TEXTURE_MIN_FILTER 0x2801 512 #define GR_GL_TEXTURE_MIN_FILTER 0x2801
509 #define GR_GL_TEXTURE_WRAP_S 0x2802 513 #define GR_GL_TEXTURE_WRAP_S 0x2802
510 #define GR_GL_TEXTURE_WRAP_T 0x2803 514 #define GR_GL_TEXTURE_WRAP_T 0x2803
511 #define GR_GL_TEXTURE_USAGE 0x93A2 515 #define GR_GL_TEXTURE_USAGE 0x93A2
516 #define GR_GL_TEXTURE_SRGB_DECODE_EXT 0x8A48
512 517
513 /* TextureTarget */ 518 /* TextureTarget */
514 /* GL_TEXTURE_2D */ 519 /* GL_TEXTURE_2D */
515 #define GR_GL_TEXTURE 0x1702 520 #define GR_GL_TEXTURE 0x1702
516 #define GR_GL_TEXTURE_CUBE_MAP 0x8513 521 #define GR_GL_TEXTURE_CUBE_MAP 0x8513
517 #define GR_GL_TEXTURE_BINDING_CUBE_MAP 0x8514 522 #define GR_GL_TEXTURE_BINDING_CUBE_MAP 0x8514
518 #define GR_GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515 523 #define GR_GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515
519 #define GR_GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516 524 #define GR_GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516
520 #define GR_GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517 525 #define GR_GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517
521 #define GR_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518 526 #define GR_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518
(...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after
956 #define GR_EGL_EXTENSIONS 0x3055 961 #define GR_EGL_EXTENSIONS 0x3055
957 #define GR_EGL_GL_TEXTURE_2D 0x30B1 962 #define GR_EGL_GL_TEXTURE_2D 0x30B1
958 #define GR_EGL_GL_TEXTURE_LEVEL 0x30BC 963 #define GR_EGL_GL_TEXTURE_LEVEL 0x30BC
959 #define GR_EGL_IMAGE_PRESERVED 0x30D2 964 #define GR_EGL_IMAGE_PRESERVED 0x30D2
960 #define GR_EGL_FALSE 0x0 965 #define GR_EGL_FALSE 0x0
961 #define GR_EGL_TRUE 0x1 966 #define GR_EGL_TRUE 0x1
962 #define GR_EGL_NONE 0x3038 967 #define GR_EGL_NONE 0x3038
963 #define GR_EGL_NO_IMAGE ((GrEGLImage)0) 968 #define GR_EGL_NO_IMAGE ((GrEGLImage)0)
964 969
965 #endif 970 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698