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

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

Issue 1503593002: Add transfer buffer to GLCaps (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix compile errors Created 5 years 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.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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 #define GR_GL_BLEND_COLOR 0x8005 106 #define GR_GL_BLEND_COLOR 0x8005
107 107
108 /* Buffer Objects */ 108 /* Buffer Objects */
109 #define GR_GL_ARRAY_BUFFER 0x8892 109 #define GR_GL_ARRAY_BUFFER 0x8892
110 #define GR_GL_ELEMENT_ARRAY_BUFFER 0x8893 110 #define GR_GL_ELEMENT_ARRAY_BUFFER 0x8893
111 #define GR_GL_ARRAY_BUFFER_BINDING 0x8894 111 #define GR_GL_ARRAY_BUFFER_BINDING 0x8894
112 #define GR_GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895 112 #define GR_GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895
113 #define GR_GL_PIXEL_PACK_BUFFER 0x88EB 113 #define GR_GL_PIXEL_PACK_BUFFER 0x88EB
114 #define GR_GL_PIXEL_UNPACK_BUFFER 0x88EC 114 #define GR_GL_PIXEL_UNPACK_BUFFER 0x88EC
115 115
116 #define GR_GL_PIXEL_UNPACK_TRANSFER_BUFFER_CHROMIUM 0x78EC
117 #define GR_GL_PIXEL_PACK_TRANSFER_BUFFER_CHROMIUM 0x78ED
118
116 #define GR_GL_STREAM_DRAW 0x88E0 119 #define GR_GL_STREAM_DRAW 0x88E0
117 #define GR_GL_STREAM_READ 0x88E1 120 #define GR_GL_STREAM_READ 0x88E1
118 #define GR_GL_STATIC_DRAW 0x88E4 121 #define GR_GL_STATIC_DRAW 0x88E4
119 #define GR_GL_DYNAMIC_DRAW 0x88E8 122 #define GR_GL_DYNAMIC_DRAW 0x88E8
120 123
121 #define GR_GL_BUFFER_SIZE 0x8764 124 #define GR_GL_BUFFER_SIZE 0x8764
122 #define GR_GL_BUFFER_USAGE 0x8765 125 #define GR_GL_BUFFER_USAGE 0x8765
123 126
124 #define GR_GL_CURRENT_VERTEX_ATTRIB 0x8626 127 #define GR_GL_CURRENT_VERTEX_ATTRIB 0x8626
125 128
(...skipping 572 matching lines...) Expand 10 before | Expand all | Expand 10 after
698 #define GR_GL_N3F_V3F 0x2A25 701 #define GR_GL_N3F_V3F 0x2A25
699 #define GR_GL_C4F_N3F_V3F 0x2A26 702 #define GR_GL_C4F_N3F_V3F 0x2A26
700 #define GR_GL_T2F_V3F 0x2A27 703 #define GR_GL_T2F_V3F 0x2A27
701 #define GR_GL_T4F_V4F 0x2A28 704 #define GR_GL_T4F_V4F 0x2A28
702 #define GR_GL_T2F_C4UB_V3F 0x2A29 705 #define GR_GL_T2F_C4UB_V3F 0x2A29
703 #define GR_GL_T2F_C3F_V3F 0x2A2A 706 #define GR_GL_T2F_C3F_V3F 0x2A2A
704 #define GR_GL_T2F_N3F_V3F 0x2A2B 707 #define GR_GL_T2F_N3F_V3F 0x2A2B
705 #define GR_GL_T2F_C4F_N3F_V3F 0x2A2C 708 #define GR_GL_T2F_C4F_N3F_V3F 0x2A2C
706 #define GR_GL_T4F_C4F_N3F_V4F 0x2A2D 709 #define GR_GL_T4F_C4F_N3F_V4F 0x2A2D
707 710
708 /* Vertex Buffer Object */ 711 /* Buffer Object */
712 #define GR_GL_READ_ONLY 0x88B8
709 #define GR_GL_WRITE_ONLY 0x88B9 713 #define GR_GL_WRITE_ONLY 0x88B9
710 #define GR_GL_BUFFER_MAPPED 0x88BC 714 #define GR_GL_BUFFER_MAPPED 0x88BC
711 715
712 #define GR_GL_MAP_READ_BIT 0x0001 716 #define GR_GL_MAP_READ_BIT 0x0001
713 #define GR_GL_MAP_WRITE_BIT 0x0002 717 #define GR_GL_MAP_WRITE_BIT 0x0002
714 #define GR_GL_MAP_INVALIDATE_RANGE_BIT 0x0004 718 #define GR_GL_MAP_INVALIDATE_RANGE_BIT 0x0004
715 #define GR_GL_MAP_INVALIDATE_BUFFER_BIT 0x0008 719 #define GR_GL_MAP_INVALIDATE_BUFFER_BIT 0x0008
716 #define GR_GL_MAP_FLUSH_EXPLICIT_BIT 0x0010 720 #define GR_GL_MAP_FLUSH_EXPLICIT_BIT 0x0010
717 #define GR_GL_MAP_UNSYNCHRONIZED_BIT 0x0020 721 #define GR_GL_MAP_UNSYNCHRONIZED_BIT 0x0020
718 722
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
939 #define GR_EGL_EXTENSIONS 0x3055 943 #define GR_EGL_EXTENSIONS 0x3055
940 #define GR_EGL_GL_TEXTURE_2D 0x30B1 944 #define GR_EGL_GL_TEXTURE_2D 0x30B1
941 #define GR_EGL_GL_TEXTURE_LEVEL 0x30BC 945 #define GR_EGL_GL_TEXTURE_LEVEL 0x30BC
942 #define GR_EGL_IMAGE_PRESERVED 0x30D2 946 #define GR_EGL_IMAGE_PRESERVED 0x30D2
943 #define GR_EGL_FALSE 0x0 947 #define GR_EGL_FALSE 0x0
944 #define GR_EGL_TRUE 0x1 948 #define GR_EGL_TRUE 0x1
945 #define GR_EGL_NONE 0x3038 949 #define GR_EGL_NONE 0x3038
946 #define GR_EGL_NO_IMAGE ((GrEGLImage)0) 950 #define GR_EGL_NO_IMAGE ((GrEGLImage)0)
947 951
948 #endif 952 #endif
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLCaps.cpp ('k') | src/gpu/gl/GrGLGpu.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698