Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
michael@0 | 1 | /* |
michael@0 | 2 | * Copyright 2013 Google Inc. |
michael@0 | 3 | * |
michael@0 | 4 | * Use of this source code is governed by a BSD-style license that can be |
michael@0 | 5 | * found in the LICENSE file. |
michael@0 | 6 | */ |
michael@0 | 7 | |
michael@0 | 8 | #ifndef GrGLNoOpInterface_DEFINED |
michael@0 | 9 | #define GrGLNoOpInterface_DEFINED |
michael@0 | 10 | |
michael@0 | 11 | #include "gl/GrGLDefines.h" |
michael@0 | 12 | #include "gl/GrGLFunctions.h" |
michael@0 | 13 | |
michael@0 | 14 | // These are constants/functions that are common to the Null and Debug GL interface implementations. |
michael@0 | 15 | |
michael@0 | 16 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLBlendColor(GrGLclampf red, |
michael@0 | 17 | GrGLclampf green, |
michael@0 | 18 | GrGLclampf blue, |
michael@0 | 19 | GrGLclampf alpha); |
michael@0 | 20 | |
michael@0 | 21 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLBindFragDataLocation(GrGLuint program, |
michael@0 | 22 | GrGLuint colorNumber, |
michael@0 | 23 | const GrGLchar* name); |
michael@0 | 24 | |
michael@0 | 25 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLBlendFunc(GrGLenum sfactor, |
michael@0 | 26 | GrGLenum dfactor); |
michael@0 | 27 | |
michael@0 | 28 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLBufferSubData(GrGLenum target, |
michael@0 | 29 | GrGLintptr offset, |
michael@0 | 30 | GrGLsizeiptr size, |
michael@0 | 31 | const GrGLvoid* data); |
michael@0 | 32 | |
michael@0 | 33 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLClear(GrGLbitfield mask); |
michael@0 | 34 | |
michael@0 | 35 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLClearColor(GrGLclampf red, |
michael@0 | 36 | GrGLclampf green, |
michael@0 | 37 | GrGLclampf blue, |
michael@0 | 38 | GrGLclampf alpha); |
michael@0 | 39 | |
michael@0 | 40 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLClearStencil(GrGLint s); |
michael@0 | 41 | |
michael@0 | 42 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLColorMask(GrGLboolean red, |
michael@0 | 43 | GrGLboolean green, |
michael@0 | 44 | GrGLboolean blue, |
michael@0 | 45 | GrGLboolean alpha); |
michael@0 | 46 | |
michael@0 | 47 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLCompileShader(GrGLuint shader); |
michael@0 | 48 | |
michael@0 | 49 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLCompressedTexImage2D(GrGLenum target, |
michael@0 | 50 | GrGLint level, |
michael@0 | 51 | GrGLenum internalformat, |
michael@0 | 52 | GrGLsizei width, |
michael@0 | 53 | GrGLsizei height, |
michael@0 | 54 | GrGLint border, |
michael@0 | 55 | GrGLsizei imageSize, |
michael@0 | 56 | const GrGLvoid* data); |
michael@0 | 57 | |
michael@0 | 58 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLCopyTexSubImage2D(GrGLenum target, |
michael@0 | 59 | GrGLint level, |
michael@0 | 60 | GrGLint xoffset, |
michael@0 | 61 | GrGLint yoffset, |
michael@0 | 62 | GrGLint x, |
michael@0 | 63 | GrGLint y, |
michael@0 | 64 | GrGLsizei width, |
michael@0 | 65 | GrGLsizei height); |
michael@0 | 66 | |
michael@0 | 67 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLCullFace(GrGLenum mode); |
michael@0 | 68 | |
michael@0 | 69 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDepthMask(GrGLboolean flag); |
michael@0 | 70 | |
michael@0 | 71 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDisable(GrGLenum cap); |
michael@0 | 72 | |
michael@0 | 73 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDisableVertexAttribArray(GrGLuint index); |
michael@0 | 74 | |
michael@0 | 75 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDrawArrays(GrGLenum mode, GrGLint first, GrGLsizei count); |
michael@0 | 76 | |
michael@0 | 77 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDrawBuffer(GrGLenum mode); |
michael@0 | 78 | |
michael@0 | 79 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDrawBuffers(GrGLsizei n, |
michael@0 | 80 | const GrGLenum* bufs); |
michael@0 | 81 | |
michael@0 | 82 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDrawElements(GrGLenum mode, |
michael@0 | 83 | GrGLsizei count, |
michael@0 | 84 | GrGLenum type, |
michael@0 | 85 | const GrGLvoid* indices); |
michael@0 | 86 | |
michael@0 | 87 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLEnable(GrGLenum cap); |
michael@0 | 88 | |
michael@0 | 89 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLEnableVertexAttribArray(GrGLuint index); |
michael@0 | 90 | |
michael@0 | 91 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLEndQuery(GrGLenum target); |
michael@0 | 92 | |
michael@0 | 93 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLFinish(); |
michael@0 | 94 | |
michael@0 | 95 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLFlush(); |
michael@0 | 96 | |
michael@0 | 97 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLFrontFace(GrGLenum mode); |
michael@0 | 98 | |
michael@0 | 99 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLLoadIdentity(); |
michael@0 | 100 | |
michael@0 | 101 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLLoadMatrixf(const GrGLfloat*); |
michael@0 | 102 | |
michael@0 | 103 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLLineWidth(GrGLfloat width); |
michael@0 | 104 | |
michael@0 | 105 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLLinkProgram(GrGLuint program); |
michael@0 | 106 | |
michael@0 | 107 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLMatrixMode(GrGLenum); |
michael@0 | 108 | |
michael@0 | 109 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLQueryCounter(GrGLuint id, |
michael@0 | 110 | GrGLenum target); |
michael@0 | 111 | |
michael@0 | 112 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLReadBuffer(GrGLenum src); |
michael@0 | 113 | |
michael@0 | 114 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLScissor(GrGLint x, |
michael@0 | 115 | GrGLint y, |
michael@0 | 116 | GrGLsizei width, |
michael@0 | 117 | GrGLsizei height); |
michael@0 | 118 | |
michael@0 | 119 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLShaderSource(GrGLuint shader, |
michael@0 | 120 | GrGLsizei count, |
michael@0 | 121 | #if GR_GL_USE_NEW_SHADER_SOURCE_SIGNATURE |
michael@0 | 122 | const char* const * str, |
michael@0 | 123 | #else |
michael@0 | 124 | const char** str, |
michael@0 | 125 | #endif |
michael@0 | 126 | const GrGLint* length); |
michael@0 | 127 | |
michael@0 | 128 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLStencilFunc(GrGLenum func, GrGLint ref, GrGLuint mask); |
michael@0 | 129 | |
michael@0 | 130 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLStencilFuncSeparate(GrGLenum face, |
michael@0 | 131 | GrGLenum func, |
michael@0 | 132 | GrGLint ref, |
michael@0 | 133 | GrGLuint mask); |
michael@0 | 134 | |
michael@0 | 135 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLStencilMask(GrGLuint mask); |
michael@0 | 136 | |
michael@0 | 137 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLStencilMaskSeparate(GrGLenum face, GrGLuint mask); |
michael@0 | 138 | |
michael@0 | 139 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLStencilOp(GrGLenum fail, GrGLenum zfail, GrGLenum zpass); |
michael@0 | 140 | |
michael@0 | 141 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLStencilOpSeparate(GrGLenum face, |
michael@0 | 142 | GrGLenum fail, |
michael@0 | 143 | GrGLenum zfail, |
michael@0 | 144 | GrGLenum zpass); |
michael@0 | 145 | |
michael@0 | 146 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLTexImage2D(GrGLenum target, |
michael@0 | 147 | GrGLint level, |
michael@0 | 148 | GrGLint internalformat, |
michael@0 | 149 | GrGLsizei width, |
michael@0 | 150 | GrGLsizei height, |
michael@0 | 151 | GrGLint border, |
michael@0 | 152 | GrGLenum format, |
michael@0 | 153 | GrGLenum type, |
michael@0 | 154 | const GrGLvoid* pixels); |
michael@0 | 155 | |
michael@0 | 156 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLTexParameteri(GrGLenum target, GrGLenum pname, GrGLint param); |
michael@0 | 157 | |
michael@0 | 158 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLTexParameteriv(GrGLenum target, |
michael@0 | 159 | GrGLenum pname, |
michael@0 | 160 | const GrGLint* params); |
michael@0 | 161 | |
michael@0 | 162 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLTexStorage2D(GrGLenum target, |
michael@0 | 163 | GrGLsizei levels, |
michael@0 | 164 | GrGLenum internalformat, |
michael@0 | 165 | GrGLsizei width, |
michael@0 | 166 | GrGLsizei height); |
michael@0 | 167 | |
michael@0 | 168 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLTexGenf(GrGLenum, GrGLenum, GrGLfloat); |
michael@0 | 169 | |
michael@0 | 170 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLTexGenfv(GrGLenum, GrGLenum, const GrGLfloat*); |
michael@0 | 171 | |
michael@0 | 172 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLTexGeni(GrGLenum, GrGLenum, GrGLint); |
michael@0 | 173 | |
michael@0 | 174 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDiscardFramebuffer(GrGLenum target, |
michael@0 | 175 | GrGLsizei numAttachments, |
michael@0 | 176 | const GrGLenum* attachments); |
michael@0 | 177 | |
michael@0 | 178 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLTexSubImage2D(GrGLenum target, |
michael@0 | 179 | GrGLint level, |
michael@0 | 180 | GrGLint xoffset, |
michael@0 | 181 | GrGLint yoffset, |
michael@0 | 182 | GrGLsizei width, |
michael@0 | 183 | GrGLsizei height, |
michael@0 | 184 | GrGLenum format, |
michael@0 | 185 | GrGLenum type, |
michael@0 | 186 | const GrGLvoid* pixels); |
michael@0 | 187 | |
michael@0 | 188 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLUniform1f(GrGLint location, GrGLfloat v0); |
michael@0 | 189 | |
michael@0 | 190 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLUniform1i(GrGLint location, GrGLint v0); |
michael@0 | 191 | |
michael@0 | 192 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLUniform1fv(GrGLint location, |
michael@0 | 193 | GrGLsizei count, |
michael@0 | 194 | const GrGLfloat* v); |
michael@0 | 195 | |
michael@0 | 196 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLUniform1iv(GrGLint location, |
michael@0 | 197 | GrGLsizei count, |
michael@0 | 198 | const GrGLint* v); |
michael@0 | 199 | |
michael@0 | 200 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLUniform2f(GrGLint location, |
michael@0 | 201 | GrGLfloat v0, |
michael@0 | 202 | GrGLfloat v1); |
michael@0 | 203 | |
michael@0 | 204 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLUniform2i(GrGLint location, GrGLint v0, GrGLint v1); |
michael@0 | 205 | |
michael@0 | 206 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLUniform2fv(GrGLint location, |
michael@0 | 207 | GrGLsizei count, |
michael@0 | 208 | const GrGLfloat* v); |
michael@0 | 209 | |
michael@0 | 210 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLUniform2iv(GrGLint location, |
michael@0 | 211 | GrGLsizei count, |
michael@0 | 212 | const GrGLint* v); |
michael@0 | 213 | |
michael@0 | 214 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLUniform3f(GrGLint location, |
michael@0 | 215 | GrGLfloat v0, |
michael@0 | 216 | GrGLfloat v1, |
michael@0 | 217 | GrGLfloat v2); |
michael@0 | 218 | |
michael@0 | 219 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLUniform3i(GrGLint location, |
michael@0 | 220 | GrGLint v0, |
michael@0 | 221 | GrGLint v1, |
michael@0 | 222 | GrGLint v2); |
michael@0 | 223 | |
michael@0 | 224 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLUniform3fv(GrGLint location, |
michael@0 | 225 | GrGLsizei count, |
michael@0 | 226 | const GrGLfloat* v); |
michael@0 | 227 | |
michael@0 | 228 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLUniform3iv(GrGLint location, |
michael@0 | 229 | GrGLsizei count, |
michael@0 | 230 | const GrGLint* v); |
michael@0 | 231 | |
michael@0 | 232 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLUniform4f(GrGLint location, |
michael@0 | 233 | GrGLfloat v0, |
michael@0 | 234 | GrGLfloat v1, |
michael@0 | 235 | GrGLfloat v2, |
michael@0 | 236 | GrGLfloat v3); |
michael@0 | 237 | |
michael@0 | 238 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLUniform4i(GrGLint location, |
michael@0 | 239 | GrGLint v0, |
michael@0 | 240 | GrGLint v1, |
michael@0 | 241 | GrGLint v2, |
michael@0 | 242 | GrGLint v3); |
michael@0 | 243 | |
michael@0 | 244 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLUniform4fv(GrGLint location, |
michael@0 | 245 | GrGLsizei count, |
michael@0 | 246 | const GrGLfloat* v); |
michael@0 | 247 | |
michael@0 | 248 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLUniform4iv(GrGLint location, |
michael@0 | 249 | GrGLsizei count, |
michael@0 | 250 | const GrGLint* v); |
michael@0 | 251 | |
michael@0 | 252 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLUniformMatrix2fv(GrGLint location, |
michael@0 | 253 | GrGLsizei count, |
michael@0 | 254 | GrGLboolean transpose, |
michael@0 | 255 | const GrGLfloat* value); |
michael@0 | 256 | |
michael@0 | 257 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLUniformMatrix3fv(GrGLint location, |
michael@0 | 258 | GrGLsizei count, |
michael@0 | 259 | GrGLboolean transpose, |
michael@0 | 260 | const GrGLfloat* value); |
michael@0 | 261 | |
michael@0 | 262 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLUniformMatrix4fv(GrGLint location, |
michael@0 | 263 | GrGLsizei count, |
michael@0 | 264 | GrGLboolean transpose, |
michael@0 | 265 | const GrGLfloat* value); |
michael@0 | 266 | |
michael@0 | 267 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLVertexAttrib4fv(GrGLuint indx, const GrGLfloat* values); |
michael@0 | 268 | |
michael@0 | 269 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLVertexAttribPointer(GrGLuint indx, |
michael@0 | 270 | GrGLint size, |
michael@0 | 271 | GrGLenum type, |
michael@0 | 272 | GrGLboolean normalized, |
michael@0 | 273 | GrGLsizei stride, |
michael@0 | 274 | const GrGLvoid* ptr); |
michael@0 | 275 | |
michael@0 | 276 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLViewport(GrGLint x, |
michael@0 | 277 | GrGLint y, |
michael@0 | 278 | GrGLsizei width, |
michael@0 | 279 | GrGLsizei height); |
michael@0 | 280 | |
michael@0 | 281 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLGetFramebufferAttachmentParameteriv(GrGLenum target, |
michael@0 | 282 | GrGLenum attachment, |
michael@0 | 283 | GrGLenum pname, |
michael@0 | 284 | GrGLint* params); |
michael@0 | 285 | |
michael@0 | 286 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLGetRenderbufferParameteriv(GrGLenum target, |
michael@0 | 287 | GrGLenum pname, |
michael@0 | 288 | GrGLint* params); |
michael@0 | 289 | |
michael@0 | 290 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLRenderbufferStorage(GrGLenum target, |
michael@0 | 291 | GrGLenum internalformat, |
michael@0 | 292 | GrGLsizei width, |
michael@0 | 293 | GrGLsizei height); |
michael@0 | 294 | |
michael@0 | 295 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLRenderbufferStorageMultisample(GrGLenum target, |
michael@0 | 296 | GrGLsizei samples, |
michael@0 | 297 | GrGLenum internalformat, |
michael@0 | 298 | GrGLsizei width, |
michael@0 | 299 | GrGLsizei height); |
michael@0 | 300 | |
michael@0 | 301 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLBlitFramebuffer(GrGLint srcX0, |
michael@0 | 302 | GrGLint srcY0, |
michael@0 | 303 | GrGLint srcX1, |
michael@0 | 304 | GrGLint srcY1, |
michael@0 | 305 | GrGLint dstX0, |
michael@0 | 306 | GrGLint dstY0, |
michael@0 | 307 | GrGLint dstX1, |
michael@0 | 308 | GrGLint dstY1, |
michael@0 | 309 | GrGLbitfield mask, |
michael@0 | 310 | GrGLenum filter); |
michael@0 | 311 | |
michael@0 | 312 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLResolveMultisampleFramebuffer(); |
michael@0 | 313 | |
michael@0 | 314 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLBindFragDataLocationIndexed(GrGLuint program, |
michael@0 | 315 | GrGLuint colorNumber, |
michael@0 | 316 | GrGLuint index, |
michael@0 | 317 | const GrGLchar * name); |
michael@0 | 318 | |
michael@0 | 319 | GrGLenum GR_GL_FUNCTION_TYPE noOpGLCheckFramebufferStatus(GrGLenum target); |
michael@0 | 320 | |
michael@0 | 321 | // this function can be used for all glGen*(GLsize i, GLuint*) functions |
michael@0 | 322 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLGenIds(GrGLsizei n, GrGLuint* ids); |
michael@0 | 323 | |
michael@0 | 324 | // this function function can be used for all glDelete*(GLsize i, const GLuint*) |
michael@0 | 325 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDeleteIds(GrGLsizei n, const GrGLuint* ids); |
michael@0 | 326 | |
michael@0 | 327 | GrGLenum GR_GL_FUNCTION_TYPE noOpGLGetError(); |
michael@0 | 328 | |
michael@0 | 329 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLGetIntegerv(GrGLenum pname, GrGLint* params); |
michael@0 | 330 | |
michael@0 | 331 | // can be used for both the program and shader info logs |
michael@0 | 332 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLGetInfoLog(GrGLuint program, |
michael@0 | 333 | GrGLsizei bufsize, |
michael@0 | 334 | GrGLsizei* length, |
michael@0 | 335 | char* infolog); |
michael@0 | 336 | |
michael@0 | 337 | // can be used for both the program and shader params |
michael@0 | 338 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLGetShaderOrProgramiv(GrGLuint program, |
michael@0 | 339 | GrGLenum pname, |
michael@0 | 340 | GrGLint* params); |
michael@0 | 341 | |
michael@0 | 342 | // Queries on bogus GLs just don't do anything at all. We could potentially make the timers work. |
michael@0 | 343 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLGetQueryiv(GrGLenum GLtarget, |
michael@0 | 344 | GrGLenum pname, |
michael@0 | 345 | GrGLint *params); |
michael@0 | 346 | |
michael@0 | 347 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLGetQueryObjecti64v(GrGLuint id, |
michael@0 | 348 | GrGLenum pname, |
michael@0 | 349 | GrGLint64 *params); |
michael@0 | 350 | |
michael@0 | 351 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLGetQueryObjectiv(GrGLuint id, GrGLenum pname, GrGLint *params); |
michael@0 | 352 | |
michael@0 | 353 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLGetQueryObjectui64v(GrGLuint id, |
michael@0 | 354 | GrGLenum pname, |
michael@0 | 355 | GrGLuint64 *params); |
michael@0 | 356 | |
michael@0 | 357 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLGetQueryObjectuiv(GrGLuint id, |
michael@0 | 358 | GrGLenum pname, |
michael@0 | 359 | GrGLuint *params); |
michael@0 | 360 | |
michael@0 | 361 | const GrGLubyte* GR_GL_FUNCTION_TYPE noOpGLGetString(GrGLenum name); |
michael@0 | 362 | |
michael@0 | 363 | const GrGLubyte* GR_GL_FUNCTION_TYPE noOpGLGetStringi(GrGLenum name, GrGLuint i); |
michael@0 | 364 | |
michael@0 | 365 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLGetTexLevelParameteriv(GrGLenum target, |
michael@0 | 366 | GrGLint level, |
michael@0 | 367 | GrGLenum pname, |
michael@0 | 368 | GrGLint* params); |
michael@0 | 369 | |
michael@0 | 370 | GrGLint GR_GL_FUNCTION_TYPE noOpGLGetUniformLocation(GrGLuint program, const char* name); |
michael@0 | 371 | |
michael@0 | 372 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLInsertEventMarker(GrGLsizei length, const char* marker); |
michael@0 | 373 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLPushGroupMarker(GrGLsizei length , const char* marker); |
michael@0 | 374 | GrGLvoid GR_GL_FUNCTION_TYPE noOpGLPopGroupMarker(); |
michael@0 | 375 | |
michael@0 | 376 | #endif |