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

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

Issue 1666803002: Add GL indirect drawing APIs (Closed) Base URL: https://skia.googlesource.com/skia.git@upload_rastermultisample
Patch Set: formatting Created 4 years, 10 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/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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 #define GR_GL_BLEND_SRC_ALPHA 0x80CB 101 #define GR_GL_BLEND_SRC_ALPHA 0x80CB
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_ARRAY_BUFFER_BINDING 0x8894 112 #define GR_GL_ARRAY_BUFFER_BINDING 0x8894
112 #define GR_GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895 113 #define GR_GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895
114 #define GR_GL_DRAW_INDIRECT_BUFFER_BINDING 0x8F43
113 #define GR_GL_PIXEL_PACK_BUFFER 0x88EB 115 #define GR_GL_PIXEL_PACK_BUFFER 0x88EB
114 #define GR_GL_PIXEL_UNPACK_BUFFER 0x88EC 116 #define GR_GL_PIXEL_UNPACK_BUFFER 0x88EC
115 117
116 #define GR_GL_PIXEL_UNPACK_TRANSFER_BUFFER_CHROMIUM 0x78EC 118 #define GR_GL_PIXEL_UNPACK_TRANSFER_BUFFER_CHROMIUM 0x78EC
117 #define GR_GL_PIXEL_PACK_TRANSFER_BUFFER_CHROMIUM 0x78ED 119 #define GR_GL_PIXEL_PACK_TRANSFER_BUFFER_CHROMIUM 0x78ED
118 120
119 #define GR_GL_STREAM_DRAW 0x88E0 121 #define GR_GL_STREAM_DRAW 0x88E0
120 #define GR_GL_STREAM_READ 0x88E1 122 #define GR_GL_STREAM_READ 0x88E1
121 #define GR_GL_STATIC_DRAW 0x88E4 123 #define GR_GL_STATIC_DRAW 0x88E4
122 #define GR_GL_DYNAMIC_DRAW 0x88E8 124 #define GR_GL_DYNAMIC_DRAW 0x88E8
(...skipping 826 matching lines...) Expand 10 before | Expand all | Expand 10 after
949 #define GR_EGL_EXTENSIONS 0x3055 951 #define GR_EGL_EXTENSIONS 0x3055
950 #define GR_EGL_GL_TEXTURE_2D 0x30B1 952 #define GR_EGL_GL_TEXTURE_2D 0x30B1
951 #define GR_EGL_GL_TEXTURE_LEVEL 0x30BC 953 #define GR_EGL_GL_TEXTURE_LEVEL 0x30BC
952 #define GR_EGL_IMAGE_PRESERVED 0x30D2 954 #define GR_EGL_IMAGE_PRESERVED 0x30D2
953 #define GR_EGL_FALSE 0x0 955 #define GR_EGL_FALSE 0x0
954 #define GR_EGL_TRUE 0x1 956 #define GR_EGL_TRUE 0x1
955 #define GR_EGL_NONE 0x3038 957 #define GR_EGL_NONE 0x3038
956 #define GR_EGL_NO_IMAGE ((GrEGLImage)0) 958 #define GR_EGL_NO_IMAGE ((GrEGLImage)0)
957 959
958 #endif 960 #endif
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLCaps.cpp ('k') | src/gpu/gl/GrGLInterface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698