OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2013 Google Inc. | 2 * Copyright 2013 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 #ifndef GrGLNoOpInterface_DEFINED | 8 #ifndef GrGLNoOpInterface_DEFINED |
9 #define GrGLNoOpInterface_DEFINED | 9 #define GrGLNoOpInterface_DEFINED |
10 | 10 |
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
356 GrGLenum GR_GL_FUNCTION_TYPE noOpGLGetError(); | 356 GrGLenum GR_GL_FUNCTION_TYPE noOpGLGetError(); |
357 | 357 |
358 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLGetIntegerv(GrGLenum pname, GrGLint* params); | 358 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLGetIntegerv(GrGLenum pname, GrGLint* params); |
359 | 359 |
360 // can be used for both the program and shader info logs | 360 // can be used for both the program and shader info logs |
361 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLGetInfoLog(GrGLuint program, | 361 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLGetInfoLog(GrGLuint program, |
362 GrGLsizei bufsize, | 362 GrGLsizei bufsize, |
363 GrGLsizei* length, | 363 GrGLsizei* length, |
364 char* infolog); | 364 char* infolog); |
365 | 365 |
| 366 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLGetMultisamplefv(GrGLenum pname, GrGLuint ind
ex, GrGLfloat* val); |
| 367 |
366 // can be used for both the program and shader params | 368 // can be used for both the program and shader params |
367 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLGetShaderOrProgramiv(GrGLuint program, | 369 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLGetShaderOrProgramiv(GrGLuint program, |
368 GrGLenum pname, | 370 GrGLenum pname, |
369 GrGLint* params); | 371 GrGLint* params); |
370 | 372 |
371 // Queries on bogus GLs just don't do anything at all. We could potentially make
the timers work. | 373 // Queries on bogus GLs just don't do anything at all. We could potentially make
the timers work. |
372 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLGetQueryiv(GrGLenum GLtarget, | 374 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLGetQueryiv(GrGLenum GLtarget, |
373 GrGLenum pname, | 375 GrGLenum pname, |
374 GrGLint *params); | 376 GrGLint *params); |
375 | 377 |
(...skipping 20 matching lines...) Expand all Loading... |
396 GrGLenum pname, | 398 GrGLenum pname, |
397 GrGLint* params); | 399 GrGLint* params); |
398 | 400 |
399 GrGLint GR_GL_FUNCTION_TYPE noOpGLGetUniformLocation(GrGLuint program, const cha
r* name); | 401 GrGLint GR_GL_FUNCTION_TYPE noOpGLGetUniformLocation(GrGLuint program, const cha
r* name); |
400 | 402 |
401 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLInsertEventMarker(GrGLsizei length, const cha
r* marker); | 403 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLInsertEventMarker(GrGLsizei length, const cha
r* marker); |
402 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLPushGroupMarker(GrGLsizei length , const cha
r* marker); | 404 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLPushGroupMarker(GrGLsizei length , const cha
r* marker); |
403 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLPopGroupMarker(); | 405 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLPopGroupMarker(); |
404 | 406 |
405 #endif | 407 #endif |
OLD | NEW |