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

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

Issue 243413002: Add support for glMapBufferRange. Use glMapBufferRange and glMapBufferSubData. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: rebase to tot Created 6 years, 7 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 583 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
604 /* Read Format */ 612 /* Read Format */
605 #define GR_GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A 613 #define GR_GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A
606 #define GR_GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B 614 #define GR_GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B
607 615
608 /* Shader Source */ 616 /* Shader Source */
609 #define GR_GL_COMPILE_STATUS 0x8B81 617 #define GR_GL_COMPILE_STATUS 0x8B81
610 #define GR_GL_INFO_LOG_LENGTH 0x8B84 618 #define GR_GL_INFO_LOG_LENGTH 0x8B84
611 #define GR_GL_SHADER_SOURCE_LENGTH 0x8B88 619 #define GR_GL_SHADER_SOURCE_LENGTH 0x8B88
612 #define GR_GL_SHADER_COMPILER 0x8DFA 620 #define GR_GL_SHADER_COMPILER 0x8DFA
613 621
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
882 #define GR_GL_ADJACENT_PAIRS 0x90AE 890 #define GR_GL_ADJACENT_PAIRS 0x90AE
883 #define GR_GL_FIRST_TO_REST 0x90AF 891 #define GR_GL_FIRST_TO_REST 0x90AF
884 892
885 //path gen modes 893 //path gen modes
886 #define GR_GL_PATH_GEN_MODE 0x90B0 894 #define GR_GL_PATH_GEN_MODE 0x90B0
887 #define GR_GL_PATH_GEN_COEFF 0x90B1 895 #define GR_GL_PATH_GEN_COEFF 0x90B1
888 #define GR_GL_PATH_GEN_COLOR_FORMAT 0x90B2 896 #define GR_GL_PATH_GEN_COLOR_FORMAT 0x90B2
889 #define GR_GL_PATH_GEN_COMPONENTS 0x90B3 897 #define GR_GL_PATH_GEN_COMPONENTS 0x90B3
890 898
891 #endif 899 #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