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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLCullFace(GrGLenum mode); | 79 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLCullFace(GrGLenum mode); |
80 | 80 |
81 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDepthMask(GrGLboolean flag); | 81 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDepthMask(GrGLboolean flag); |
82 | 82 |
83 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDisable(GrGLenum cap); | 83 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDisable(GrGLenum cap); |
84 | 84 |
85 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDisableVertexAttribArray(GrGLuint index); | 85 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDisableVertexAttribArray(GrGLuint index); |
86 | 86 |
87 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDrawArrays(GrGLenum mode, GrGLint first, GrGL
sizei count); | 87 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDrawArrays(GrGLenum mode, GrGLint first, GrGL
sizei count); |
88 | 88 |
89 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDrawArraysInstanced(GrGLenum mode, | |
90 GrGLint first, | |
91 GrGLsizei count, | |
92 GrGLsizei primcount); | |
93 | |
94 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDrawBuffer(GrGLenum mode); | 89 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDrawBuffer(GrGLenum mode); |
95 | 90 |
96 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDrawBuffers(GrGLsizei n, | 91 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDrawBuffers(GrGLsizei n, |
97 const GrGLenum* bufs); | 92 const GrGLenum* bufs); |
98 | 93 |
99 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDrawElements(GrGLenum mode, | 94 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDrawElements(GrGLenum mode, |
100 GrGLsizei count, | 95 GrGLsizei count, |
101 GrGLenum type, | 96 GrGLenum type, |
102 const GrGLvoid* indices); | 97 const GrGLvoid* indices); |
103 | 98 |
104 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDrawElementsInstanced(GrGLenum mode, | |
105 GrGLsizei count, | |
106 GrGLenum type, | |
107 const GrGLvoid* indices
, | |
108 GrGLsizei primcount); | |
109 | |
110 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLEnable(GrGLenum cap); | 99 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLEnable(GrGLenum cap); |
111 | 100 |
112 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLEnableVertexAttribArray(GrGLuint index); | 101 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLEnableVertexAttribArray(GrGLuint index); |
113 | 102 |
114 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLEndQuery(GrGLenum target); | 103 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLEndQuery(GrGLenum target); |
115 | 104 |
116 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLFinish(); | 105 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLFinish(); |
117 | 106 |
118 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLFlush(); | 107 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLFlush(); |
119 | 108 |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
287 | 276 |
288 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLVertexAttrib4fv(GrGLuint indx, const GrGLflo
at* values); | 277 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLVertexAttrib4fv(GrGLuint indx, const GrGLflo
at* values); |
289 | 278 |
290 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLVertexAttribPointer(GrGLuint indx, | 279 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLVertexAttribPointer(GrGLuint indx, |
291 GrGLint size, | 280 GrGLint size, |
292 GrGLenum type, | 281 GrGLenum type, |
293 GrGLboolean normalized, | 282 GrGLboolean normalized, |
294 GrGLsizei stride, | 283 GrGLsizei stride, |
295 const GrGLvoid* ptr); | 284 const GrGLvoid* ptr); |
296 | 285 |
297 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLVertexAttribDivisor(GrGLuint index, GrGLuint
divisor); | |
298 | |
299 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLViewport(GrGLint x, | 286 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLViewport(GrGLint x, |
300 GrGLint y, | 287 GrGLint y, |
301 GrGLsizei width, | 288 GrGLsizei width, |
302 GrGLsizei height); | 289 GrGLsizei height); |
303 | 290 |
304 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLGetFramebufferAttachmentParameteriv(GrGLenu
m target, | 291 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLGetFramebufferAttachmentParameteriv(GrGLenu
m target, |
305 GrGLenu
m attachment, | 292 GrGLenu
m attachment, |
306 GrGLenu
m pname, | 293 GrGLenu
m pname, |
307 GrGLint
* params); | 294 GrGLint
* params); |
308 | 295 |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
390 GrGLenum pname, | 377 GrGLenum pname, |
391 GrGLint* params); | 378 GrGLint* params); |
392 | 379 |
393 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); |
394 | 381 |
395 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); |
396 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); |
397 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLPopGroupMarker(); | 384 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLPopGroupMarker(); |
398 | 385 |
399 #endif | 386 #endif |
OLD | NEW |