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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 GrGLint y, | 63 GrGLint y, |
64 GrGLsizei width, | 64 GrGLsizei width, |
65 GrGLsizei height); | 65 GrGLsizei height); |
66 | 66 |
67 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLCullFace(GrGLenum mode); | 67 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLCullFace(GrGLenum mode); |
68 | 68 |
69 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDepthMask(GrGLboolean flag); | 69 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDepthMask(GrGLboolean flag); |
70 | 70 |
71 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDisable(GrGLenum cap); | 71 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDisable(GrGLenum cap); |
72 | 72 |
73 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDisableClientState(GrGLenum); | |
74 | |
75 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDisableVertexAttribArray(GrGLuint index); | 73 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDisableVertexAttribArray(GrGLuint index); |
76 | 74 |
77 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDrawArrays(GrGLenum mode, GrGLint first, GrGL
sizei count); | 75 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDrawArrays(GrGLenum mode, GrGLint first, GrGL
sizei count); |
78 | 76 |
79 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDrawBuffer(GrGLenum mode); | 77 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDrawBuffer(GrGLenum mode); |
80 | 78 |
81 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDrawBuffers(GrGLsizei n, | 79 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDrawBuffers(GrGLsizei n, |
82 const GrGLenum* bufs); | 80 const GrGLenum* bufs); |
83 | 81 |
84 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDrawElements(GrGLenum mode, | 82 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDrawElements(GrGLenum mode, |
85 GrGLsizei count, | 83 GrGLsizei count, |
86 GrGLenum type, | 84 GrGLenum type, |
87 const GrGLvoid* indices); | 85 const GrGLvoid* indices); |
88 | 86 |
89 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLEnable(GrGLenum cap); | 87 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLEnable(GrGLenum cap); |
90 | 88 |
91 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLEnableClientState(GrGLenum cap); | |
92 | |
93 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLEnableVertexAttribArray(GrGLuint index); | 89 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLEnableVertexAttribArray(GrGLuint index); |
94 | 90 |
95 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLEndQuery(GrGLenum target); | 91 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLEndQuery(GrGLenum target); |
96 | 92 |
97 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLFinish(); | 93 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLFinish(); |
98 | 94 |
99 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLFlush(); | 95 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLFlush(); |
100 | 96 |
101 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLFrontFace(GrGLenum mode); | 97 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLFrontFace(GrGLenum mode); |
102 | 98 |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
270 | 266 |
271 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLVertexAttrib4fv(GrGLuint indx, const GrGLflo
at* values); | 267 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLVertexAttrib4fv(GrGLuint indx, const GrGLflo
at* values); |
272 | 268 |
273 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLVertexAttribPointer(GrGLuint indx, | 269 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLVertexAttribPointer(GrGLuint indx, |
274 GrGLint size, | 270 GrGLint size, |
275 GrGLenum type, | 271 GrGLenum type, |
276 GrGLboolean normalized, | 272 GrGLboolean normalized, |
277 GrGLsizei stride, | 273 GrGLsizei stride, |
278 const GrGLvoid* ptr); | 274 const GrGLvoid* ptr); |
279 | 275 |
280 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLVertexPointer(GrGLint, GrGLenum, GrGLsizei, c
onst GrGLvoid*); | |
281 | |
282 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLViewport(GrGLint x, | 276 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLViewport(GrGLint x, |
283 GrGLint y, | 277 GrGLint y, |
284 GrGLsizei width, | 278 GrGLsizei width, |
285 GrGLsizei height); | 279 GrGLsizei height); |
286 | 280 |
287 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLGetFramebufferAttachmentParameteriv(GrGLenu
m target, | 281 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLGetFramebufferAttachmentParameteriv(GrGLenu
m target, |
288 GrGLenu
m attachment, | 282 GrGLenu
m attachment, |
289 GrGLenu
m pname, | 283 GrGLenu
m pname, |
290 GrGLint
* params); | 284 GrGLint
* params); |
291 | 285 |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
373 GrGLenum pname, | 367 GrGLenum pname, |
374 GrGLint* params); | 368 GrGLint* params); |
375 | 369 |
376 GrGLint GR_GL_FUNCTION_TYPE noOpGLGetUniformLocation(GrGLuint program, const cha
r* name); | 370 GrGLint GR_GL_FUNCTION_TYPE noOpGLGetUniformLocation(GrGLuint program, const cha
r* name); |
377 | 371 |
378 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLInsertEventMarker(GrGLsizei length, const cha
r* marker); | 372 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLInsertEventMarker(GrGLsizei length, const cha
r* marker); |
379 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLPushGroupMarker(GrGLsizei length , const cha
r* marker); | 373 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLPushGroupMarker(GrGLsizei length , const cha
r* marker); |
380 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLPopGroupMarker(); | 374 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLPopGroupMarker(); |
381 | 375 |
382 #endif | 376 #endif |
OLD | NEW |