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

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

Issue 1232103002: Enable stencil clipping in mixed sampled render targets (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Predefined sample locations, glcaps, render target priv Created 5 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
« 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 355 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 #define GR_GL_NORMALIZE 0x0BA1 366 #define GR_GL_NORMALIZE 0x0BA1
367 367
368 /* Matrix Mode */ 368 /* Matrix Mode */
369 #define GR_GL_MATRIX_MODE 0x0BA0 369 #define GR_GL_MATRIX_MODE 0x0BA0
370 #define GR_GL_MODELVIEW 0x1700 370 #define GR_GL_MODELVIEW 0x1700
371 #define GR_GL_PROJECTION 0x1701 371 #define GR_GL_PROJECTION 0x1701
372 #define GR_GL_TEXTURE 0x1702 372 #define GR_GL_TEXTURE 0x1702
373 373
374 /* multisample */ 374 /* multisample */
375 #define GR_GL_MULTISAMPLE 0x809D 375 #define GR_GL_MULTISAMPLE 0x809D
376 #define GR_GL_SAMPLE_POSITION 0x8E50
Chris Dalton 2015/09/23 03:42:51 We might not need this at all anymore now that we
376 377
377 /* Points */ 378 /* Points */
378 #define GR_GL_POINT_SMOOTH 0x0B10 379 #define GR_GL_POINT_SMOOTH 0x0B10
379 #define GR_GL_POINT_SIZE 0x0B11 380 #define GR_GL_POINT_SIZE 0x0B11
380 #define GR_GL_POINT_SIZE_GRANULARITY 0x0B13 381 #define GR_GL_POINT_SIZE_GRANULARITY 0x0B13
381 #define GR_GL_POINT_SIZE_RANGE 0x0B12 382 #define GR_GL_POINT_SIZE_RANGE 0x0B12
382 383
383 /* Lines */ 384 /* Lines */
384 #define GR_GL_LINE_SMOOTH 0x0B20 385 #define GR_GL_LINE_SMOOTH 0x0B20
385 #define GR_GL_LINE_STIPPLE 0x0B24 386 #define GR_GL_LINE_STIPPLE 0x0B24
(...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after
882 #define GR_GL_FETCH_PER_SAMPLE_ARM 0x8F65 883 #define GR_GL_FETCH_PER_SAMPLE_ARM 0x8F65
883 884
884 /* GL_EXT_raster_multisample */ 885 /* GL_EXT_raster_multisample */
885 #define GR_GL_RASTER_MULTISAMPLE 0x9327 886 #define GR_GL_RASTER_MULTISAMPLE 0x9327
886 #define GR_GL_RASTER_SAMPLES 0x9328 887 #define GR_GL_RASTER_SAMPLES 0x9328
887 #define GR_GL_MAX_RASTER_SAMPLES 0x9329 888 #define GR_GL_MAX_RASTER_SAMPLES 0x9329
888 #define GR_GL_RASTER_FIXED_SAMPLE_LOCATIONS 0x932A 889 #define GR_GL_RASTER_FIXED_SAMPLE_LOCATIONS 0x932A
889 #define GR_GL_MULTISAMPLE_RASTERIZATION_ALLOWED 0x932B 890 #define GR_GL_MULTISAMPLE_RASTERIZATION_ALLOWED 0x932B
890 #define GR_GL_EFFECTIVE_RASTER_SAMPLES 0x932C 891 #define GR_GL_EFFECTIVE_RASTER_SAMPLES 0x932C
891 892
893 /* GL_NV_sample_locations */
894 #define GR_GL_FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS 0x9342
895
892 /* GL_KHR_debug */ 896 /* GL_KHR_debug */
893 #define GR_GL_DEBUG_OUTPUT 0x92E0 897 #define GR_GL_DEBUG_OUTPUT 0x92E0
894 #define GR_GL_DEBUG_OUTPUT_SYNCHRONOUS 0x8242 898 #define GR_GL_DEBUG_OUTPUT_SYNCHRONOUS 0x8242
895 #define GR_GL_CONTEXT_FLAG_DEBUG_BIT 0x00000002 899 #define GR_GL_CONTEXT_FLAG_DEBUG_BIT 0x00000002
896 #define GR_GL_MAX_DEBUG_MESSAGE_LENGTH 0x9143 900 #define GR_GL_MAX_DEBUG_MESSAGE_LENGTH 0x9143
897 #define GR_GL_MAX_DEBUG_LOGGED_MESSAGES 0x9144 901 #define GR_GL_MAX_DEBUG_LOGGED_MESSAGES 0x9144
898 #define GR_GL_DEBUG_LOGGED_MESSAGES 0x9145 902 #define GR_GL_DEBUG_LOGGED_MESSAGES 0x9145
899 #define GR_GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH 0x8243 903 #define GR_GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH 0x8243
900 #define GR_GL_MAX_DEBUG_GROUP_STACK_DEPTH 0x826C 904 #define GR_GL_MAX_DEBUG_GROUP_STACK_DEPTH 0x826C
901 #define GR_GL_DEBUG_GROUP_STACK_DEPTH 0x826D 905 #define GR_GL_DEBUG_GROUP_STACK_DEPTH 0x826D
(...skipping 20 matching lines...) Expand all
922 #define GR_GL_STACK_UNDERFLOW 0x0504 926 #define GR_GL_STACK_UNDERFLOW 0x0504
923 #define GR_GL_STACK_OVERFLOW 0x0503 927 #define GR_GL_STACK_OVERFLOW 0x0503
924 #define GR_GL_BUFFER 0x82E0 928 #define GR_GL_BUFFER 0x82E0
925 #define GR_GL_SHADER 0x82E1 929 #define GR_GL_SHADER 0x82E1
926 #define GR_GL_PROGRAM 0x82E2 930 #define GR_GL_PROGRAM 0x82E2
927 #define GR_GL_QUERY 0x82E3 931 #define GR_GL_QUERY 0x82E3
928 #define GR_GL_PROGRAM_PIPELINE 0x82E4 932 #define GR_GL_PROGRAM_PIPELINE 0x82E4
929 #define GR_GL_SAMPLER 0x82E6 933 #define GR_GL_SAMPLER 0x82E6
930 934
931 #endif 935 #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