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

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

Issue 1831133004: Revert of Consolidate GPU buffer implementations (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 9 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
126 #define GR_GL_DYNAMIC_DRAW 0x88E8 125 #define GR_GL_DYNAMIC_DRAW 0x88E8
127 #define GR_GL_DYNAMIC_READ 0x88E9
128 126
129 #define GR_GL_BUFFER_SIZE 0x8764 127 #define GR_GL_BUFFER_SIZE 0x8764
130 #define GR_GL_BUFFER_USAGE 0x8765 128 #define GR_GL_BUFFER_USAGE 0x8765
131 129
132 #define GR_GL_CURRENT_VERTEX_ATTRIB 0x8626 130 #define GR_GL_CURRENT_VERTEX_ATTRIB 0x8626
133 131
134 /* CullFaceMode */ 132 /* CullFaceMode */
135 #define GR_GL_FRONT 0x0404 133 #define GR_GL_FRONT 0x0404
136 #define GR_GL_BACK 0x0405 134 #define GR_GL_BACK 0x0405
137 #define GR_GL_FRONT_AND_BACK 0x0408 135 #define GR_GL_FRONT_AND_BACK 0x0408
(...skipping 828 matching lines...) Expand 10 before | Expand all | Expand 10 after
966 #define GR_EGL_EXTENSIONS 0x3055 964 #define GR_EGL_EXTENSIONS 0x3055
967 #define GR_EGL_GL_TEXTURE_2D 0x30B1 965 #define GR_EGL_GL_TEXTURE_2D 0x30B1
968 #define GR_EGL_GL_TEXTURE_LEVEL 0x30BC 966 #define GR_EGL_GL_TEXTURE_LEVEL 0x30BC
969 #define GR_EGL_IMAGE_PRESERVED 0x30D2 967 #define GR_EGL_IMAGE_PRESERVED 0x30D2
970 #define GR_EGL_FALSE 0x0 968 #define GR_EGL_FALSE 0x0
971 #define GR_EGL_TRUE 0x1 969 #define GR_EGL_TRUE 0x1
972 #define GR_EGL_NONE 0x3038 970 #define GR_EGL_NONE 0x3038
973 #define GR_EGL_NO_IMAGE ((GrEGLImage)0) 971 #define GR_EGL_NO_IMAGE ((GrEGLImage)0)
974 972
975 #endif 973 #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