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 |
73 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDisableVertexAttribArray(GrGLuint index); | 75 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDisableVertexAttribArray(GrGLuint index); |
74 | 76 |
75 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDrawArrays(GrGLenum mode, GrGLint first, GrGL
sizei count); | 77 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDrawArrays(GrGLenum mode, GrGLint first, GrGL
sizei count); |
76 | 78 |
77 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDrawBuffer(GrGLenum mode); | 79 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDrawBuffer(GrGLenum mode); |
78 | 80 |
79 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDrawBuffers(GrGLsizei n, | 81 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDrawBuffers(GrGLsizei n, |
80 const GrGLenum* bufs); | 82 const GrGLenum* bufs); |
81 | 83 |
82 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDrawElements(GrGLenum mode, | 84 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDrawElements(GrGLenum mode, |
83 GrGLsizei count, | 85 GrGLsizei count, |
84 GrGLenum type, | 86 GrGLenum type, |
85 const GrGLvoid* indices); | 87 const GrGLvoid* indices); |
86 | 88 |
87 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLEnable(GrGLenum cap); | 89 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLEnable(GrGLenum cap); |
88 | 90 |
| 91 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLEnableClientState(GrGLenum cap); |
| 92 |
89 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLEnableVertexAttribArray(GrGLuint index); | 93 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLEnableVertexAttribArray(GrGLuint index); |
90 | 94 |
91 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLEndQuery(GrGLenum target); | 95 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLEndQuery(GrGLenum target); |
92 | 96 |
93 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLFinish(); | 97 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLFinish(); |
94 | 98 |
95 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLFlush(); | 99 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLFlush(); |
96 | 100 |
97 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLFrontFace(GrGLenum mode); | 101 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLFrontFace(GrGLenum mode); |
98 | 102 |
| 103 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLLoadIdentity(); |
| 104 |
| 105 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLLoadMatrixf(const GrGLfloat*); |
| 106 |
99 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLLineWidth(GrGLfloat width); | 107 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLLineWidth(GrGLfloat width); |
100 | 108 |
101 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLLinkProgram(GrGLuint program); | 109 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLLinkProgram(GrGLuint program); |
102 | 110 |
| 111 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLMatrixMode(GrGLenum); |
| 112 |
103 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLQueryCounter(GrGLuint id, | 113 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLQueryCounter(GrGLuint id, |
104 GrGLenum target); | 114 GrGLenum target); |
105 | 115 |
106 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLReadBuffer(GrGLenum src); | 116 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLReadBuffer(GrGLenum src); |
107 | 117 |
108 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLScissor(GrGLint x, | 118 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLScissor(GrGLint x, |
109 GrGLint y, | 119 GrGLint y, |
110 GrGLsizei width, | 120 GrGLsizei width, |
111 GrGLsizei height); | 121 GrGLsizei height); |
112 | 122 |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLTexParameteriv(GrGLenum target, | 162 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLTexParameteriv(GrGLenum target, |
153 GrGLenum pname, | 163 GrGLenum pname, |
154 const GrGLint* params); | 164 const GrGLint* params); |
155 | 165 |
156 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLTexStorage2D(GrGLenum target, | 166 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLTexStorage2D(GrGLenum target, |
157 GrGLsizei levels, | 167 GrGLsizei levels, |
158 GrGLenum internalformat, | 168 GrGLenum internalformat, |
159 GrGLsizei width, | 169 GrGLsizei width, |
160 GrGLsizei height); | 170 GrGLsizei height); |
161 | 171 |
| 172 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLTexGenf(GrGLenum, GrGLenum, GrGLfloat); |
| 173 |
| 174 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLTexGenfv(GrGLenum, GrGLenum, const GrGLfloat*
); |
| 175 |
| 176 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLTexGeni(GrGLenum, GrGLenum, GrGLint); |
| 177 |
162 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDiscardFramebuffer(GrGLenum target, | 178 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLDiscardFramebuffer(GrGLenum target, |
163 GrGLsizei numAttachments, | 179 GrGLsizei numAttachments, |
164 const GrGLenum* attachment
s); | 180 const GrGLenum* attachment
s); |
165 | 181 |
166 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLTexSubImage2D(GrGLenum target, | 182 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLTexSubImage2D(GrGLenum target, |
167 GrGLint level, | 183 GrGLint level, |
168 GrGLint xoffset, | 184 GrGLint xoffset, |
169 GrGLint yoffset, | 185 GrGLint yoffset, |
170 GrGLsizei width, | 186 GrGLsizei width, |
171 GrGLsizei height, | 187 GrGLsizei height, |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 | 270 |
255 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLVertexAttrib4fv(GrGLuint indx, const GrGLflo
at* values); | 271 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLVertexAttrib4fv(GrGLuint indx, const GrGLflo
at* values); |
256 | 272 |
257 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLVertexAttribPointer(GrGLuint indx, | 273 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLVertexAttribPointer(GrGLuint indx, |
258 GrGLint size, | 274 GrGLint size, |
259 GrGLenum type, | 275 GrGLenum type, |
260 GrGLboolean normalized, | 276 GrGLboolean normalized, |
261 GrGLsizei stride, | 277 GrGLsizei stride, |
262 const GrGLvoid* ptr); | 278 const GrGLvoid* ptr); |
263 | 279 |
| 280 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLVertexPointer(GrGLint, GrGLenum, GrGLsizei, c
onst GrGLvoid*); |
| 281 |
264 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLViewport(GrGLint x, | 282 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLViewport(GrGLint x, |
265 GrGLint y, | 283 GrGLint y, |
266 GrGLsizei width, | 284 GrGLsizei width, |
267 GrGLsizei height); | 285 GrGLsizei height); |
268 | 286 |
269 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLGetFramebufferAttachmentParameteriv(GrGLenu
m target, | 287 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLGetFramebufferAttachmentParameteriv(GrGLenu
m target, |
270 GrGLenu
m attachment, | 288 GrGLenu
m attachment, |
271 GrGLenu
m pname, | 289 GrGLenu
m pname, |
272 GrGLint
* params); | 290 GrGLint
* params); |
273 | 291 |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
351 const GrGLubyte* GR_GL_FUNCTION_TYPE noOpGLGetStringi(GrGLenum name, GrGLuint i)
; | 369 const GrGLubyte* GR_GL_FUNCTION_TYPE noOpGLGetStringi(GrGLenum name, GrGLuint i)
; |
352 | 370 |
353 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLGetTexLevelParameteriv(GrGLenum target, | 371 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLGetTexLevelParameteriv(GrGLenum target, |
354 GrGLint level, | 372 GrGLint level, |
355 GrGLenum pname, | 373 GrGLenum pname, |
356 GrGLint* params); | 374 GrGLint* params); |
357 | 375 |
358 GrGLint GR_GL_FUNCTION_TYPE noOpGLGetUniformLocation(GrGLuint program, const cha
r* name); | 376 GrGLint GR_GL_FUNCTION_TYPE noOpGLGetUniformLocation(GrGLuint program, const cha
r* name); |
359 | 377 |
360 #endif | 378 #endif |
OLD | NEW |