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

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

Issue 580863004: Adding 3D lut color filter (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: New version Created 6 years, 3 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 /* GL_LESS */ 108 /* GL_LESS */
109 /* GL_EQUAL */ 109 /* GL_EQUAL */
110 /* GL_LEQUAL */ 110 /* GL_LEQUAL */
111 /* GL_GREATER */ 111 /* GL_GREATER */
112 /* GL_NOTEQUAL */ 112 /* GL_NOTEQUAL */
113 /* GL_GEQUAL */ 113 /* GL_GEQUAL */
114 /* GL_ALWAYS */ 114 /* GL_ALWAYS */
115 115
116 /* EnableCap */ 116 /* EnableCap */
117 #define GR_GL_TEXTURE_2D 0x0DE1 117 #define GR_GL_TEXTURE_2D 0x0DE1
118 #define GR_GL_TEXTURE_3D 0x806F
118 #define GR_GL_CULL_FACE 0x0B44 119 #define GR_GL_CULL_FACE 0x0B44
119 #define GR_GL_BLEND 0x0BE2 120 #define GR_GL_BLEND 0x0BE2
120 #define GR_GL_DITHER 0x0BD0 121 #define GR_GL_DITHER 0x0BD0
121 #define GR_GL_STENCIL_TEST 0x0B90 122 #define GR_GL_STENCIL_TEST 0x0B90
122 #define GR_GL_DEPTH_TEST 0x0B71 123 #define GR_GL_DEPTH_TEST 0x0B71
123 #define GR_GL_SCISSOR_TEST 0x0C11 124 #define GR_GL_SCISSOR_TEST 0x0C11
124 #define GR_GL_POLYGON_OFFSET_FILL 0x8037 125 #define GR_GL_POLYGON_OFFSET_FILL 0x8037
125 #define GR_GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E 126 #define GR_GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E
126 #define GR_GL_SAMPLE_COVERAGE 0x80A0 127 #define GR_GL_SAMPLE_COVERAGE 0x80A0
127 #define GR_GL_POLYGON_OFFSET_FILL 0x8037 128 #define GR_GL_POLYGON_OFFSET_FILL 0x8037
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 #define GR_GL_RED_BITS 0x0D52 186 #define GR_GL_RED_BITS 0x0D52
186 #define GR_GL_GREEN_BITS 0x0D53 187 #define GR_GL_GREEN_BITS 0x0D53
187 #define GR_GL_BLUE_BITS 0x0D54 188 #define GR_GL_BLUE_BITS 0x0D54
188 #define GR_GL_ALPHA_BITS 0x0D55 189 #define GR_GL_ALPHA_BITS 0x0D55
189 #define GR_GL_DEPTH_BITS 0x0D56 190 #define GR_GL_DEPTH_BITS 0x0D56
190 #define GR_GL_STENCIL_BITS 0x0D57 191 #define GR_GL_STENCIL_BITS 0x0D57
191 #define GR_GL_POLYGON_OFFSET_UNITS 0x2A00 192 #define GR_GL_POLYGON_OFFSET_UNITS 0x2A00
192 /* GL_POLYGON_OFFSET_FILL */ 193 /* GL_POLYGON_OFFSET_FILL */
193 #define GR_GL_POLYGON_OFFSET_FACTOR 0x8038 194 #define GR_GL_POLYGON_OFFSET_FACTOR 0x8038
194 #define GR_GL_TEXTURE_BINDING_2D 0x8069 195 #define GR_GL_TEXTURE_BINDING_2D 0x8069
196 #define GR_GL_TEXTURE_BINDING_3D 0x8C1D
195 #define GR_GL_SAMPLE_BUFFERS 0x80A8 197 #define GR_GL_SAMPLE_BUFFERS 0x80A8
196 #define GR_GL_SAMPLES 0x80A9 198 #define GR_GL_SAMPLES 0x80A9
197 #define GR_GL_SAMPLE_COVERAGE_VALUE 0x80AA 199 #define GR_GL_SAMPLE_COVERAGE_VALUE 0x80AA
198 #define GR_GL_SAMPLE_COVERAGE_INVERT 0x80AB 200 #define GR_GL_SAMPLE_COVERAGE_INVERT 0x80AB
199 #define GR_GL_RENDERBUFFER_COVERAGE_SAMPLES 0x8CAB 201 #define GR_GL_RENDERBUFFER_COVERAGE_SAMPLES 0x8CAB
200 #define GR_GL_RENDERBUFFER_COLOR_SAMPLES 0x8E10 202 #define GR_GL_RENDERBUFFER_COLOR_SAMPLES 0x8E10
201 #define GR_GL_MAX_MULTISAMPLE_COVERAGE_MODES 0x8E11 203 #define GR_GL_MAX_MULTISAMPLE_COVERAGE_MODES 0x8E11
202 #define GR_GL_MULTISAMPLE_COVERAGE_MODES 0x8E12 204 #define GR_GL_MULTISAMPLE_COVERAGE_MODES 0x8E12
203 205
204 /* GetTextureParameter */ 206 /* GetTextureParameter */
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
615 #define GR_GL_INT_VEC3 0x8B54 617 #define GR_GL_INT_VEC3 0x8B54
616 #define GR_GL_INT_VEC4 0x8B55 618 #define GR_GL_INT_VEC4 0x8B55
617 #define GR_GL_BOOL 0x8B56 619 #define GR_GL_BOOL 0x8B56
618 #define GR_GL_BOOL_VEC2 0x8B57 620 #define GR_GL_BOOL_VEC2 0x8B57
619 #define GR_GL_BOOL_VEC3 0x8B58 621 #define GR_GL_BOOL_VEC3 0x8B58
620 #define GR_GL_BOOL_VEC4 0x8B59 622 #define GR_GL_BOOL_VEC4 0x8B59
621 #define GR_GL_FLOAT_MAT2 0x8B5A 623 #define GR_GL_FLOAT_MAT2 0x8B5A
622 #define GR_GL_FLOAT_MAT3 0x8B5B 624 #define GR_GL_FLOAT_MAT3 0x8B5B
623 #define GR_GL_FLOAT_MAT4 0x8B5C 625 #define GR_GL_FLOAT_MAT4 0x8B5C
624 #define GR_GL_SAMPLER_2D 0x8B5E 626 #define GR_GL_SAMPLER_2D 0x8B5E
627 #define GR_GL_SAMPLER_3D 0x8B5F
625 #define GR_GL_SAMPLER_CUBE 0x8B60 628 #define GR_GL_SAMPLER_CUBE 0x8B60
626 629
627 /* Vertex Arrays */ 630 /* Vertex Arrays */
628 #define GR_GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622 631 #define GR_GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622
629 #define GR_GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623 632 #define GR_GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623
630 #define GR_GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624 633 #define GR_GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624
631 #define GR_GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625 634 #define GR_GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625
632 #define GR_GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A 635 #define GR_GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A
633 #define GR_GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645 636 #define GR_GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645
634 #define GR_GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F 637 #define GR_GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
903 // NV_path_rendering extension to EXT_direct_state_access: 906 // NV_path_rendering extension to EXT_direct_state_access:
904 // [the matrix functions] must support the PATH_PROJECTION_NV and 907 // [the matrix functions] must support the PATH_PROJECTION_NV and
905 // PATH_MODELVIEW_NV tokens for matrixMode. 908 // PATH_MODELVIEW_NV tokens for matrixMode.
906 #define GR_GL_PATH_PROJECTION 0x1701 909 #define GR_GL_PATH_PROJECTION 0x1701
907 #define GR_GL_PATH_MODELVIEW 0x1700 910 #define GR_GL_PATH_MODELVIEW 0x1700
908 911
909 /* ARM specific define for MSAA support on framebuffer fetch */ 912 /* ARM specific define for MSAA support on framebuffer fetch */
910 #define GR_GL_FETCH_PER_SAMPLE_ARM 0x8F65 913 #define GR_GL_FETCH_PER_SAMPLE_ARM 0x8F65
911 914
912 #endif 915 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698