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

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

Issue 1825393002: Consolidate GPU buffer implementations (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: asserts Created 4 years, 8 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
« no previous file with comments | « src/gpu/gl/GrGLCaps.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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 #define GR_GL_DRAW_INDIRECT_BUFFER_BINDING 0x8F43 115 #define GR_GL_DRAW_INDIRECT_BUFFER_BINDING 0x8F43
116 #define GR_GL_PIXEL_PACK_BUFFER 0x88EB 116 #define GR_GL_PIXEL_PACK_BUFFER 0x88EB
117 #define GR_GL_PIXEL_UNPACK_BUFFER 0x88EC 117 #define GR_GL_PIXEL_UNPACK_BUFFER 0x88EC
118 118
119 #define GR_GL_PIXEL_UNPACK_TRANSFER_BUFFER_CHROMIUM 0x78EC 119 #define GR_GL_PIXEL_UNPACK_TRANSFER_BUFFER_CHROMIUM 0x78EC
120 #define GR_GL_PIXEL_PACK_TRANSFER_BUFFER_CHROMIUM 0x78ED 120 #define GR_GL_PIXEL_PACK_TRANSFER_BUFFER_CHROMIUM 0x78ED
121 121
122 #define GR_GL_STREAM_DRAW 0x88E0 122 #define GR_GL_STREAM_DRAW 0x88E0
123 #define GR_GL_STREAM_READ 0x88E1 123 #define GR_GL_STREAM_READ 0x88E1
124 #define GR_GL_STATIC_DRAW 0x88E4 124 #define GR_GL_STATIC_DRAW 0x88E4
125 #define GR_GL_STATIC_READ 0x88E5
125 #define GR_GL_DYNAMIC_DRAW 0x88E8 126 #define GR_GL_DYNAMIC_DRAW 0x88E8
127 #define GR_GL_DYNAMIC_READ 0x88E9
126 128
127 #define GR_GL_BUFFER_SIZE 0x8764 129 #define GR_GL_BUFFER_SIZE 0x8764
128 #define GR_GL_BUFFER_USAGE 0x8765 130 #define GR_GL_BUFFER_USAGE 0x8765
129 131
130 #define GR_GL_CURRENT_VERTEX_ATTRIB 0x8626 132 #define GR_GL_CURRENT_VERTEX_ATTRIB 0x8626
131 133
132 /* CullFaceMode */ 134 /* CullFaceMode */
133 #define GR_GL_FRONT 0x0404 135 #define GR_GL_FRONT 0x0404
134 #define GR_GL_BACK 0x0405 136 #define GR_GL_BACK 0x0405
135 #define GR_GL_FRONT_AND_BACK 0x0408 137 #define GR_GL_FRONT_AND_BACK 0x0408
(...skipping 828 matching lines...) Expand 10 before | Expand all | Expand 10 after
964 #define GR_EGL_EXTENSIONS 0x3055 966 #define GR_EGL_EXTENSIONS 0x3055
965 #define GR_EGL_GL_TEXTURE_2D 0x30B1 967 #define GR_EGL_GL_TEXTURE_2D 0x30B1
966 #define GR_EGL_GL_TEXTURE_LEVEL 0x30BC 968 #define GR_EGL_GL_TEXTURE_LEVEL 0x30BC
967 #define GR_EGL_IMAGE_PRESERVED 0x30D2 969 #define GR_EGL_IMAGE_PRESERVED 0x30D2
968 #define GR_EGL_FALSE 0x0 970 #define GR_EGL_FALSE 0x0
969 #define GR_EGL_TRUE 0x1 971 #define GR_EGL_TRUE 0x1
970 #define GR_EGL_NONE 0x3038 972 #define GR_EGL_NONE 0x3038
971 #define GR_EGL_NO_IMAGE ((GrEGLImage)0) 973 #define GR_EGL_NO_IMAGE ((GrEGLImage)0)
972 974
973 #endif 975 #endif
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLCaps.cpp ('k') | src/gpu/gl/GrGLGpu.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698