OLD | NEW |
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 583 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
594 #define GR_GL_T4F_V4F 0x2A28 | 594 #define GR_GL_T4F_V4F 0x2A28 |
595 #define GR_GL_T2F_C4UB_V3F 0x2A29 | 595 #define GR_GL_T2F_C4UB_V3F 0x2A29 |
596 #define GR_GL_T2F_C3F_V3F 0x2A2A | 596 #define GR_GL_T2F_C3F_V3F 0x2A2A |
597 #define GR_GL_T2F_N3F_V3F 0x2A2B | 597 #define GR_GL_T2F_N3F_V3F 0x2A2B |
598 #define GR_GL_T2F_C4F_N3F_V3F 0x2A2C | 598 #define GR_GL_T2F_C4F_N3F_V3F 0x2A2C |
599 #define GR_GL_T4F_C4F_N3F_V4F 0x2A2D | 599 #define GR_GL_T4F_C4F_N3F_V4F 0x2A2D |
600 | 600 |
601 /* Vertex Buffer Object */ | 601 /* Vertex Buffer Object */ |
602 #define GR_GL_WRITE_ONLY 0x88B9 | 602 #define GR_GL_WRITE_ONLY 0x88B9 |
603 #define GR_GL_BUFFER_MAPPED 0x88BC | 603 #define GR_GL_BUFFER_MAPPED 0x88BC |
604 | |
605 #define GR_GL_MAP_READ_BIT 0x0001 | |
606 #define GR_GL_MAP_WRITE_BIT 0x0002 | |
607 #define GR_GL_MAP_INVALIDATE_RANGE_BIT 0x0004 | |
608 #define GR_GL_MAP_INVALIDATE_BUFFER_BIT 0x0008 | |
609 #define GR_GL_MAP_FLUSH_EXPLICIT_BIT 0x0010 | |
610 #define GR_GL_MAP_UNSYNCHRONIZED_BIT 0x0020 | |
611 | |
612 /* Read Format */ | 604 /* Read Format */ |
613 #define GR_GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A | 605 #define GR_GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A |
614 #define GR_GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B | 606 #define GR_GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B |
615 | 607 |
616 /* Shader Source */ | 608 /* Shader Source */ |
617 #define GR_GL_COMPILE_STATUS 0x8B81 | 609 #define GR_GL_COMPILE_STATUS 0x8B81 |
618 #define GR_GL_INFO_LOG_LENGTH 0x8B84 | 610 #define GR_GL_INFO_LOG_LENGTH 0x8B84 |
619 #define GR_GL_SHADER_SOURCE_LENGTH 0x8B88 | 611 #define GR_GL_SHADER_SOURCE_LENGTH 0x8B88 |
620 #define GR_GL_SHADER_COMPILER 0x8DFA | 612 #define GR_GL_SHADER_COMPILER 0x8DFA |
621 | 613 |
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
890 #define GR_GL_ADJACENT_PAIRS 0x90AE | 882 #define GR_GL_ADJACENT_PAIRS 0x90AE |
891 #define GR_GL_FIRST_TO_REST 0x90AF | 883 #define GR_GL_FIRST_TO_REST 0x90AF |
892 | 884 |
893 //path gen modes | 885 //path gen modes |
894 #define GR_GL_PATH_GEN_MODE 0x90B0 | 886 #define GR_GL_PATH_GEN_MODE 0x90B0 |
895 #define GR_GL_PATH_GEN_COEFF 0x90B1 | 887 #define GR_GL_PATH_GEN_COEFF 0x90B1 |
896 #define GR_GL_PATH_GEN_COLOR_FORMAT 0x90B2 | 888 #define GR_GL_PATH_GEN_COLOR_FORMAT 0x90B2 |
897 #define GR_GL_PATH_GEN_COMPONENTS 0x90B3 | 889 #define GR_GL_PATH_GEN_COMPONENTS 0x90B3 |
898 | 890 |
899 #endif | 891 #endif |
OLD | NEW |