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

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

Issue 1490473003: Add transfer buffer support. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix roll issue 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/GrGLBufferImpl.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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 #define GR_GL_ONE_MINUS_CONSTANT_COLOR 0x8002 103 #define GR_GL_ONE_MINUS_CONSTANT_COLOR 0x8002
104 #define GR_GL_CONSTANT_ALPHA 0x8003 104 #define GR_GL_CONSTANT_ALPHA 0x8003
105 #define GR_GL_ONE_MINUS_CONSTANT_ALPHA 0x8004 105 #define GR_GL_ONE_MINUS_CONSTANT_ALPHA 0x8004
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
114 #define GR_GL_PIXEL_UNPACK_BUFFER 0x88EC
113 115
114 #define GR_GL_STREAM_DRAW 0x88E0 116 #define GR_GL_STREAM_DRAW 0x88E0
117 #define GR_GL_STREAM_READ 0x88E1
115 #define GR_GL_STATIC_DRAW 0x88E4 118 #define GR_GL_STATIC_DRAW 0x88E4
116 #define GR_GL_DYNAMIC_DRAW 0x88E8 119 #define GR_GL_DYNAMIC_DRAW 0x88E8
117 120
118 #define GR_GL_BUFFER_SIZE 0x8764 121 #define GR_GL_BUFFER_SIZE 0x8764
119 #define GR_GL_BUFFER_USAGE 0x8765 122 #define GR_GL_BUFFER_USAGE 0x8765
120 123
121 #define GR_GL_CURRENT_VERTEX_ATTRIB 0x8626 124 #define GR_GL_CURRENT_VERTEX_ATTRIB 0x8626
122 125
123 /* CullFaceMode */ 126 /* CullFaceMode */
124 #define GR_GL_FRONT 0x0404 127 #define GR_GL_FRONT 0x0404
(...skipping 811 matching lines...) Expand 10 before | Expand all | Expand 10 after
936 #define GR_EGL_EXTENSIONS 0x3055 939 #define GR_EGL_EXTENSIONS 0x3055
937 #define GR_EGL_GL_TEXTURE_2D 0x30B1 940 #define GR_EGL_GL_TEXTURE_2D 0x30B1
938 #define GR_EGL_GL_TEXTURE_LEVEL 0x30BC 941 #define GR_EGL_GL_TEXTURE_LEVEL 0x30BC
939 #define GR_EGL_IMAGE_PRESERVED 0x30D2 942 #define GR_EGL_IMAGE_PRESERVED 0x30D2
940 #define GR_EGL_FALSE 0x0 943 #define GR_EGL_FALSE 0x0
941 #define GR_EGL_TRUE 0x1 944 #define GR_EGL_TRUE 0x1
942 #define GR_EGL_NONE 0x3038 945 #define GR_EGL_NONE 0x3038
943 #define GR_EGL_NO_IMAGE ((GrEGLImage)0) 946 #define GR_EGL_NO_IMAGE ((GrEGLImage)0)
944 947
945 #endif 948 #endif
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLBufferImpl.cpp ('k') | src/gpu/gl/GrGLGpu.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698