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

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

Issue 1784063003: Add caps and GL API for buffer texture (Closed) Base URL: https://skia.googlesource.com/skia.git@upload_precision
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/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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 #define GR_GL_CONSTANT_COLOR 0x8001 102 #define GR_GL_CONSTANT_COLOR 0x8001
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_DRAW_INDIRECT_BUFFER 0x8F3F 111 #define GR_GL_DRAW_INDIRECT_BUFFER 0x8F3F
112 #define GR_GL_TEXTURE_BUFFER 0x8C2A
112 #define GR_GL_ARRAY_BUFFER_BINDING 0x8894 113 #define GR_GL_ARRAY_BUFFER_BINDING 0x8894
113 #define GR_GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895 114 #define GR_GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895
114 #define GR_GL_DRAW_INDIRECT_BUFFER_BINDING 0x8F43 115 #define GR_GL_DRAW_INDIRECT_BUFFER_BINDING 0x8F43
115 #define GR_GL_PIXEL_PACK_BUFFER 0x88EB 116 #define GR_GL_PIXEL_PACK_BUFFER 0x88EB
116 #define GR_GL_PIXEL_UNPACK_BUFFER 0x88EC 117 #define GR_GL_PIXEL_UNPACK_BUFFER 0x88EC
117 118
118 #define GR_GL_PIXEL_UNPACK_TRANSFER_BUFFER_CHROMIUM 0x78EC 119 #define GR_GL_PIXEL_UNPACK_TRANSFER_BUFFER_CHROMIUM 0x78EC
119 #define GR_GL_PIXEL_PACK_TRANSFER_BUFFER_CHROMIUM 0x78ED 120 #define GR_GL_PIXEL_PACK_TRANSFER_BUFFER_CHROMIUM 0x78ED
120 121
121 #define GR_GL_STREAM_DRAW 0x88E0 122 #define GR_GL_STREAM_DRAW 0x88E0
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 #define GR_GL_POLYGON_OFFSET_FACTOR 0x8038 230 #define GR_GL_POLYGON_OFFSET_FACTOR 0x8038
230 #define GR_GL_TEXTURE_BINDING_2D 0x8069 231 #define GR_GL_TEXTURE_BINDING_2D 0x8069
231 #define GR_GL_SAMPLE_BUFFERS 0x80A8 232 #define GR_GL_SAMPLE_BUFFERS 0x80A8
232 #define GR_GL_SAMPLES 0x80A9 233 #define GR_GL_SAMPLES 0x80A9
233 #define GR_GL_SAMPLE_COVERAGE_VALUE 0x80AA 234 #define GR_GL_SAMPLE_COVERAGE_VALUE 0x80AA
234 #define GR_GL_SAMPLE_COVERAGE_INVERT 0x80AB 235 #define GR_GL_SAMPLE_COVERAGE_INVERT 0x80AB
235 #define GR_GL_RENDERBUFFER_COVERAGE_SAMPLES 0x8CAB 236 #define GR_GL_RENDERBUFFER_COVERAGE_SAMPLES 0x8CAB
236 #define GR_GL_RENDERBUFFER_COLOR_SAMPLES 0x8E10 237 #define GR_GL_RENDERBUFFER_COLOR_SAMPLES 0x8E10
237 #define GR_GL_MAX_MULTISAMPLE_COVERAGE_MODES 0x8E11 238 #define GR_GL_MAX_MULTISAMPLE_COVERAGE_MODES 0x8E11
238 #define GR_GL_MULTISAMPLE_COVERAGE_MODES 0x8E12 239 #define GR_GL_MULTISAMPLE_COVERAGE_MODES 0x8E12
240 #define GR_GL_MAX_TEXTURE_BUFFER_SIZE 0x8C2B
239 241
240 /* GetTextureParameter */ 242 /* GetTextureParameter */
241 /* GL_TEXTURE_MAG_FILTER */ 243 /* GL_TEXTURE_MAG_FILTER */
242 /* GL_TEXTURE_MIN_FILTER */ 244 /* GL_TEXTURE_MIN_FILTER */
243 /* GL_TEXTURE_WRAP_S */ 245 /* GL_TEXTURE_WRAP_S */
244 /* GL_TEXTURE_WRAP_T */ 246 /* GL_TEXTURE_WRAP_T */
245 247
246 #define GR_GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2 248 #define GR_GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
247 #define GR_GL_COMPRESSED_TEXTURE_FORMATS 0x86A3 249 #define GR_GL_COMPRESSED_TEXTURE_FORMATS 0x86A3
248 250
(...skipping 708 matching lines...) Expand 10 before | Expand all | Expand 10 after
957 #define GR_EGL_EXTENSIONS 0x3055 959 #define GR_EGL_EXTENSIONS 0x3055
958 #define GR_EGL_GL_TEXTURE_2D 0x30B1 960 #define GR_EGL_GL_TEXTURE_2D 0x30B1
959 #define GR_EGL_GL_TEXTURE_LEVEL 0x30BC 961 #define GR_EGL_GL_TEXTURE_LEVEL 0x30BC
960 #define GR_EGL_IMAGE_PRESERVED 0x30D2 962 #define GR_EGL_IMAGE_PRESERVED 0x30D2
961 #define GR_EGL_FALSE 0x0 963 #define GR_EGL_FALSE 0x0
962 #define GR_EGL_TRUE 0x1 964 #define GR_EGL_TRUE 0x1
963 #define GR_EGL_NONE 0x3038 965 #define GR_EGL_NONE 0x3038
964 #define GR_EGL_NO_IMAGE ((GrEGLImage)0) 966 #define GR_EGL_NO_IMAGE ((GrEGLImage)0)
965 967
966 #endif 968 #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