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

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

Issue 23513006: Add glTexGen funcs to interface (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: mesa Created 7 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 | Annotate | Revision Log
« no previous file with comments | « src/gpu/gl/GrGLCreateNullInterface.cpp ('k') | src/gpu/gl/GrGLInterface.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 421 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 #define GR_GL_TEXTURE24 0x84D8 432 #define GR_GL_TEXTURE24 0x84D8
433 #define GR_GL_TEXTURE25 0x84D9 433 #define GR_GL_TEXTURE25 0x84D9
434 #define GR_GL_TEXTURE26 0x84DA 434 #define GR_GL_TEXTURE26 0x84DA
435 #define GR_GL_TEXTURE27 0x84DB 435 #define GR_GL_TEXTURE27 0x84DB
436 #define GR_GL_TEXTURE28 0x84DC 436 #define GR_GL_TEXTURE28 0x84DC
437 #define GR_GL_TEXTURE29 0x84DD 437 #define GR_GL_TEXTURE29 0x84DD
438 #define GR_GL_TEXTURE30 0x84DE 438 #define GR_GL_TEXTURE30 0x84DE
439 #define GR_GL_TEXTURE31 0x84DF 439 #define GR_GL_TEXTURE31 0x84DF
440 #define GR_GL_ACTIVE_TEXTURE 0x84E0 440 #define GR_GL_ACTIVE_TEXTURE 0x84E0
441 #define GR_GL_MAX_TEXTURE_UNITS 0x84E2 441 #define GR_GL_MAX_TEXTURE_UNITS 0x84E2
442 #define GR_GL_MAX_TEXTURE_COORDS 0x8871
442 443
443 /* TextureWrapMode */ 444 /* TextureWrapMode */
444 #define GR_GL_REPEAT 0x2901 445 #define GR_GL_REPEAT 0x2901
445 #define GR_GL_CLAMP_TO_EDGE 0x812F 446 #define GR_GL_CLAMP_TO_EDGE 0x812F
446 #define GR_GL_MIRRORED_REPEAT 0x8370 447 #define GR_GL_MIRRORED_REPEAT 0x8370
447 448
448 /* Texture Swizzle */ 449 /* Texture Swizzle */
449 #define GR_GL_TEXTURE_SWIZZLE_R 0x8E42 450 #define GR_GL_TEXTURE_SWIZZLE_R 0x8E42
450 #define GR_GL_TEXTURE_SWIZZLE_G 0x8E43 451 #define GR_GL_TEXTURE_SWIZZLE_G 0x8E43
451 #define GR_GL_TEXTURE_SWIZZLE_B 0x8E44 452 #define GR_GL_TEXTURE_SWIZZLE_B 0x8E44
452 #define GR_GL_TEXTURE_SWIZZLE_A 0x8E45 453 #define GR_GL_TEXTURE_SWIZZLE_A 0x8E45
453 #define GR_GL_TEXTURE_SWIZZLE_RGBA 0x8E46 454 #define GR_GL_TEXTURE_SWIZZLE_RGBA 0x8E46
454 455
455 /* Texture mapping */ 456 /* Texture mapping */
456 #define GR_GL_TEXTURE_ENV 0x2300 457 #define GR_GL_TEXTURE_ENV 0x2300
457 #define GR_GL_TEXTURE_ENV_MODE 0x2200 458 #define GR_GL_TEXTURE_ENV_MODE 0x2200
458 #define GR_GL_TEXTURE_1D 0x0DE0 459 #define GR_GL_TEXTURE_1D 0x0DE0
459 /* GL_TEXTURE_2D */ 460 /* GL_TEXTURE_2D */
460 /* GL_TEXTURE_WRAP_S */ 461 /* GL_TEXTURE_WRAP_S */
461 /* GL_TEXTURE_WRAP_T */ 462 /* GL_TEXTURE_WRAP_T */
462 /* GL_TEXTURE_MAG_FILTER */ 463 /* GL_TEXTURE_MAG_FILTER */
463 /* GL_TEXTURE_MIN_FILTER */ 464 /* GL_TEXTURE_MIN_FILTER */
464 #define GR_GL_TEXTURE_ENV_COLOR 0x2201 465 #define GR_GL_TEXTURE_ENV_COLOR 0x2201
465 #define GR_GL_TEXTURE_GEN_S 0x0C60 466 #define GR_GL_TEXTURE_GEN_S 0x0C60
466 #define GR_GL_TEXTURE_GEN_T 0x0C61 467 #define GR_GL_TEXTURE_GEN_T 0x0C61
468 #define GR_GL_TEXTURE_GEN_R 0x0C62
469 #define GR_GL_TEXTURE_GEN_Q 0x0C63
467 #define GR_GL_TEXTURE_GEN_MODE 0x2500 470 #define GR_GL_TEXTURE_GEN_MODE 0x2500
468 #define GR_GL_TEXTURE_BORDER_COLOR 0x1004 471 #define GR_GL_TEXTURE_BORDER_COLOR 0x1004
469 #define GR_GL_TEXTURE_WIDTH 0x1000 472 #define GR_GL_TEXTURE_WIDTH 0x1000
470 #define GR_GL_TEXTURE_HEIGHT 0x1001 473 #define GR_GL_TEXTURE_HEIGHT 0x1001
471 #define GR_GL_TEXTURE_BORDER 0x1005 474 #define GR_GL_TEXTURE_BORDER 0x1005
472 #define GR_GL_TEXTURE_COMPONENTS 0x1003 475 #define GR_GL_TEXTURE_COMPONENTS 0x1003
473 #define GR_GL_TEXTURE_RED_SIZE 0x805C 476 #define GR_GL_TEXTURE_RED_SIZE 0x805C
474 #define GR_GL_TEXTURE_GREEN_SIZE 0x805D 477 #define GR_GL_TEXTURE_GREEN_SIZE 0x805D
475 #define GR_GL_TEXTURE_BLUE_SIZE 0x805E 478 #define GR_GL_TEXTURE_BLUE_SIZE 0x805E
476 #define GR_GL_TEXTURE_ALPHA_SIZE 0x805F 479 #define GR_GL_TEXTURE_ALPHA_SIZE 0x805F
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
873 #define GR_GL_ADJACENT_PAIRS 0x90AE 876 #define GR_GL_ADJACENT_PAIRS 0x90AE
874 #define GR_GL_FIRST_TO_REST 0x90AF 877 #define GR_GL_FIRST_TO_REST 0x90AF
875 878
876 //path gen modes 879 //path gen modes
877 #define GR_GL_PATH_GEN_MODE 0x90B0 880 #define GR_GL_PATH_GEN_MODE 0x90B0
878 #define GR_GL_PATH_GEN_COEFF 0x90B1 881 #define GR_GL_PATH_GEN_COEFF 0x90B1
879 #define GR_GL_PATH_GEN_COLOR_FORMAT 0x90B2 882 #define GR_GL_PATH_GEN_COLOR_FORMAT 0x90B2
880 #define GR_GL_PATH_GEN_COMPONENTS 0x90B3 883 #define GR_GL_PATH_GEN_COMPONENTS 0x90B3
881 884
882 #endif 885 #endif
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLCreateNullInterface.cpp ('k') | src/gpu/gl/GrGLInterface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698