| 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 |
| 11 #include "gl/GrGLDefines.h" | 11 #include "gl/GrGLDefines.h" |
| 12 #include "gl/GrGLFunctions.h" | 12 #include "gl/GrGLFunctions.h" |
| 13 | 13 |
| 14 // These are constants/functions that are common to the Null and Debug GL interf
ace implementations. | 14 // These are constants/functions that are common to the Null and Debug GL interf
ace implementations. |
| 15 | 15 |
| 16 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLBindFragDataLocation(GrGLuint program, |
| 17 GrGLuint colorNumber, |
| 18 const GrGLchar* name); |
| 19 |
| 16 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLBlendColor(GrGLclampf red, | 20 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLBlendColor(GrGLclampf red, |
| 17 GrGLclampf green, | 21 GrGLclampf green, |
| 18 GrGLclampf blue, | 22 GrGLclampf blue, |
| 19 GrGLclampf alpha); | 23 GrGLclampf alpha); |
| 20 | 24 |
| 21 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLBindFragDataLocation(GrGLuint program, | 25 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLBlendEquation(GrGLenum mode); |
| 22 GrGLuint colorNumber, | |
| 23 const GrGLchar* name); | |
| 24 | 26 |
| 25 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLBlendFunc(GrGLenum sfactor, | 27 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLBlendFunc(GrGLenum sfactor, |
| 26 GrGLenum dfactor); | 28 GrGLenum dfactor); |
| 27 | 29 |
| 28 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLBufferSubData(GrGLenum target, | 30 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLBufferSubData(GrGLenum target, |
| 29 GrGLintptr offset, | 31 GrGLintptr offset, |
| 30 GrGLsizeiptr size, | 32 GrGLsizeiptr size, |
| 31 const GrGLvoid* data); | 33 const GrGLvoid* data); |
| 32 | 34 |
| 33 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLClear(GrGLbitfield mask); | 35 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLClear(GrGLbitfield mask); |
| (...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 375 GrGLenum pname, | 377 GrGLenum pname, |
| 376 GrGLint* params); | 378 GrGLint* params); |
| 377 | 379 |
| 378 GrGLint GR_GL_FUNCTION_TYPE noOpGLGetUniformLocation(GrGLuint program, const cha
r* name); | 380 GrGLint GR_GL_FUNCTION_TYPE noOpGLGetUniformLocation(GrGLuint program, const cha
r* name); |
| 379 | 381 |
| 380 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLInsertEventMarker(GrGLsizei length, const cha
r* marker); | 382 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLInsertEventMarker(GrGLsizei length, const cha
r* marker); |
| 381 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLPushGroupMarker(GrGLsizei length , const cha
r* marker); | 383 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLPushGroupMarker(GrGLsizei length , const cha
r* marker); |
| 382 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLPopGroupMarker(); | 384 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLPopGroupMarker(); |
| 383 | 385 |
| 384 #endif | 386 #endif |
| OLD | NEW |