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 | |
20 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLBlendColor(GrGLclampf red, | 16 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLBlendColor(GrGLclampf red, |
21 GrGLclampf green, | 17 GrGLclampf green, |
22 GrGLclampf blue, | 18 GrGLclampf blue, |
23 GrGLclampf alpha); | 19 GrGLclampf alpha); |
24 | 20 |
25 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLBlendEquation(GrGLenum mode); | 21 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLBindFragDataLocation(GrGLuint program, |
| 22 GrGLuint colorNumber, |
| 23 const GrGLchar* name); |
26 | 24 |
27 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLBlendFunc(GrGLenum sfactor, | 25 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLBlendFunc(GrGLenum sfactor, |
28 GrGLenum dfactor); | 26 GrGLenum dfactor); |
29 | 27 |
30 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLBufferSubData(GrGLenum target, | 28 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLBufferSubData(GrGLenum target, |
31 GrGLintptr offset, | 29 GrGLintptr offset, |
32 GrGLsizeiptr size, | 30 GrGLsizeiptr size, |
33 const GrGLvoid* data); | 31 const GrGLvoid* data); |
34 | 32 |
35 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLClear(GrGLbitfield mask); | 33 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLClear(GrGLbitfield mask); |
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
377 GrGLenum pname, | 375 GrGLenum pname, |
378 GrGLint* params); | 376 GrGLint* params); |
379 | 377 |
380 GrGLint GR_GL_FUNCTION_TYPE noOpGLGetUniformLocation(GrGLuint program, const cha
r* name); | 378 GrGLint GR_GL_FUNCTION_TYPE noOpGLGetUniformLocation(GrGLuint program, const cha
r* name); |
381 | 379 |
382 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLInsertEventMarker(GrGLsizei length, const cha
r* marker); | 380 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLInsertEventMarker(GrGLsizei length, const cha
r* marker); |
383 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLPushGroupMarker(GrGLsizei length , const cha
r* marker); | 381 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLPushGroupMarker(GrGLsizei length , const cha
r* marker); |
384 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLPopGroupMarker(); | 382 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLPopGroupMarker(); |
385 | 383 |
386 #endif | 384 #endif |
OLD | NEW |