1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 // This file is auto-generated from
6 // ui/gl/generate_bindings.py
7 // It's formatted by clang-format using chromium coding style:
8 // clang-format -i -style=chromium filename
11 MOCK_METHOD1(ActiveTexture
, void(GLenum texture
));
12 MOCK_METHOD2(AttachShader
, void(GLuint program
, GLuint shader
));
13 MOCK_METHOD2(BeginQuery
, void(GLenum target
, GLuint id
));
14 MOCK_METHOD2(BeginQueryARB
, void(GLenum target
, GLuint id
));
15 MOCK_METHOD1(BeginTransformFeedback
, void(GLenum primitiveMode
));
16 MOCK_METHOD3(BindAttribLocation
,
17 void(GLuint program
, GLuint index
, const char* name
));
18 MOCK_METHOD2(BindBuffer
, void(GLenum target
, GLuint buffer
));
19 MOCK_METHOD3(BindBufferBase
, void(GLenum target
, GLuint index
, GLuint buffer
));
20 MOCK_METHOD5(BindBufferRange
,
26 MOCK_METHOD3(BindFragDataLocation
,
27 void(GLuint program
, GLuint colorNumber
, const char* name
));
29 BindFragDataLocationIndexed
,
30 void(GLuint program
, GLuint colorNumber
, GLuint index
, const char* name
));
31 MOCK_METHOD2(BindFramebufferEXT
, void(GLenum target
, GLuint framebuffer
));
32 MOCK_METHOD2(BindRenderbufferEXT
, void(GLenum target
, GLuint renderbuffer
));
33 MOCK_METHOD2(BindSampler
, void(GLuint unit
, GLuint sampler
));
34 MOCK_METHOD2(BindTexture
, void(GLenum target
, GLuint texture
));
35 MOCK_METHOD2(BindTransformFeedback
, void(GLenum target
, GLuint id
));
36 MOCK_METHOD1(BindVertexArrayOES
, void(GLuint array
));
37 MOCK_METHOD0(BlendBarrierKHR
, void());
38 MOCK_METHOD4(BlendColor
,
39 void(GLclampf red
, GLclampf green
, GLclampf blue
, GLclampf alpha
));
40 MOCK_METHOD1(BlendEquation
, void(GLenum mode
));
41 MOCK_METHOD2(BlendEquationSeparate
, void(GLenum modeRGB
, GLenum modeAlpha
));
42 MOCK_METHOD2(BlendFunc
, void(GLenum sfactor
, GLenum dfactor
));
45 void(GLenum srcRGB
, GLenum dstRGB
, GLenum srcAlpha
, GLenum dstAlpha
));
46 MOCK_METHOD10(BlitFramebuffer
,
57 MOCK_METHOD10(BlitFramebufferANGLE
,
68 MOCK_METHOD10(BlitFramebufferEXT
,
81 void(GLenum target
, GLsizeiptr size
, const void* data
, GLenum usage
));
84 void(GLenum target
, GLintptr offset
, GLsizeiptr size
, const void* data
));
85 MOCK_METHOD1(CheckFramebufferStatusEXT
, GLenum(GLenum target
));
86 MOCK_METHOD1(Clear
, void(GLbitfield mask
));
89 void(GLenum buffer
, GLint drawbuffer
, const GLfloat depth
, GLint stencil
));
90 MOCK_METHOD3(ClearBufferfv
,
91 void(GLenum buffer
, GLint drawbuffer
, const GLfloat
* value
));
92 MOCK_METHOD3(ClearBufferiv
,
93 void(GLenum buffer
, GLint drawbuffer
, const GLint
* value
));
94 MOCK_METHOD3(ClearBufferuiv
,
95 void(GLenum buffer
, GLint drawbuffer
, const GLuint
* value
));
96 MOCK_METHOD4(ClearColor
,
97 void(GLclampf red
, GLclampf green
, GLclampf blue
, GLclampf alpha
));
98 MOCK_METHOD1(ClearDepth
, void(GLclampd depth
));
99 MOCK_METHOD1(ClearDepthf
, void(GLclampf depth
));
100 MOCK_METHOD1(ClearStencil
, void(GLint s
));
101 MOCK_METHOD3(ClientWaitSync
,
102 GLenum(GLsync sync
, GLbitfield flags
, GLuint64 timeout
));
105 void(GLboolean red
, GLboolean green
, GLboolean blue
, GLboolean alpha
));
106 MOCK_METHOD1(CompileShader
, void(GLuint shader
));
107 MOCK_METHOD8(CompressedTexImage2D
,
110 GLenum internalformat
,
116 MOCK_METHOD9(CompressedTexImage3D
,
119 GLenum internalformat
,
126 MOCK_METHOD9(CompressedTexSubImage2D
,
136 MOCK_METHOD5(CopyBufferSubData
,
137 void(GLenum readTarget
,
140 GLintptr writeOffset
,
142 MOCK_METHOD8(CopyTexImage2D
,
145 GLenum internalformat
,
151 MOCK_METHOD8(CopyTexSubImage2D
,
160 MOCK_METHOD9(CopyTexSubImage3D
,
170 MOCK_METHOD0(CreateProgram
, GLuint());
171 MOCK_METHOD1(CreateShader
, GLuint(GLenum type
));
172 MOCK_METHOD1(CullFace
, void(GLenum mode
));
173 MOCK_METHOD2(DeleteBuffersARB
, void(GLsizei n
, const GLuint
* buffers
));
174 MOCK_METHOD2(DeleteFencesAPPLE
, void(GLsizei n
, const GLuint
* fences
));
175 MOCK_METHOD2(DeleteFencesNV
, void(GLsizei n
, const GLuint
* fences
));
176 MOCK_METHOD2(DeleteFramebuffersEXT
,
177 void(GLsizei n
, const GLuint
* framebuffers
));
178 MOCK_METHOD1(DeleteProgram
, void(GLuint program
));
179 MOCK_METHOD2(DeleteQueries
, void(GLsizei n
, const GLuint
* ids
));
180 MOCK_METHOD2(DeleteQueriesARB
, void(GLsizei n
, const GLuint
* ids
));
181 MOCK_METHOD2(DeleteRenderbuffersEXT
,
182 void(GLsizei n
, const GLuint
* renderbuffers
));
183 MOCK_METHOD2(DeleteSamplers
, void(GLsizei n
, const GLuint
* samplers
));
184 MOCK_METHOD1(DeleteShader
, void(GLuint shader
));
185 MOCK_METHOD1(DeleteSync
, void(GLsync sync
));
186 MOCK_METHOD2(DeleteTextures
, void(GLsizei n
, const GLuint
* textures
));
187 MOCK_METHOD2(DeleteTransformFeedbacks
, void(GLsizei n
, const GLuint
* ids
));
188 MOCK_METHOD2(DeleteVertexArraysOES
, void(GLsizei n
, const GLuint
* arrays
));
189 MOCK_METHOD1(DepthFunc
, void(GLenum func
));
190 MOCK_METHOD1(DepthMask
, void(GLboolean flag
));
191 MOCK_METHOD2(DepthRange
, void(GLclampd zNear
, GLclampd zFar
));
192 MOCK_METHOD2(DepthRangef
, void(GLclampf zNear
, GLclampf zFar
));
193 MOCK_METHOD2(DetachShader
, void(GLuint program
, GLuint shader
));
194 MOCK_METHOD1(Disable
, void(GLenum cap
));
195 MOCK_METHOD1(DisableVertexAttribArray
, void(GLuint index
));
196 MOCK_METHOD3(DiscardFramebufferEXT
,
198 GLsizei numAttachments
,
199 const GLenum
* attachments
));
200 MOCK_METHOD3(DrawArrays
, void(GLenum mode
, GLint first
, GLsizei count
));
201 MOCK_METHOD4(DrawArraysInstancedANGLE
,
202 void(GLenum mode
, GLint first
, GLsizei count
, GLsizei primcount
));
203 MOCK_METHOD1(DrawBuffer
, void(GLenum mode
));
204 MOCK_METHOD2(DrawBuffersARB
, void(GLsizei n
, const GLenum
* bufs
));
207 void(GLenum mode
, GLsizei count
, GLenum type
, const void* indices
));
208 MOCK_METHOD5(DrawElementsInstancedANGLE
,
214 MOCK_METHOD6(DrawRangeElements
,
220 const void* indices
));
221 MOCK_METHOD2(EGLImageTargetRenderbufferStorageOES
,
222 void(GLenum target
, GLeglImageOES image
));
223 MOCK_METHOD2(EGLImageTargetTexture2DOES
,
224 void(GLenum target
, GLeglImageOES image
));
225 MOCK_METHOD1(Enable
, void(GLenum cap
));
226 MOCK_METHOD1(EnableVertexAttribArray
, void(GLuint index
));
227 MOCK_METHOD1(EndQuery
, void(GLenum target
));
228 MOCK_METHOD1(EndQueryARB
, void(GLenum target
));
229 MOCK_METHOD0(EndTransformFeedback
, void());
230 MOCK_METHOD2(FenceSync
, GLsync(GLenum condition
, GLbitfield flags
));
231 MOCK_METHOD0(Finish
, void());
232 MOCK_METHOD1(FinishFenceAPPLE
, void(GLuint fence
));
233 MOCK_METHOD1(FinishFenceNV
, void(GLuint fence
));
234 MOCK_METHOD0(Flush
, void());
235 MOCK_METHOD3(FlushMappedBufferRange
,
236 void(GLenum target
, GLintptr offset
, GLsizeiptr length
));
237 MOCK_METHOD4(FramebufferRenderbufferEXT
,
240 GLenum renderbuffertarget
,
241 GLuint renderbuffer
));
242 MOCK_METHOD5(FramebufferTexture2DEXT
,
248 MOCK_METHOD6(FramebufferTexture2DMultisampleEXT
,
255 MOCK_METHOD6(FramebufferTexture2DMultisampleIMG
,
262 MOCK_METHOD5(FramebufferTextureLayer
,
268 MOCK_METHOD1(FrontFace
, void(GLenum mode
));
269 MOCK_METHOD2(GenBuffersARB
, void(GLsizei n
, GLuint
* buffers
));
270 MOCK_METHOD1(GenerateMipmapEXT
, void(GLenum target
));
271 MOCK_METHOD2(GenFencesAPPLE
, void(GLsizei n
, GLuint
* fences
));
272 MOCK_METHOD2(GenFencesNV
, void(GLsizei n
, GLuint
* fences
));
273 MOCK_METHOD2(GenFramebuffersEXT
, void(GLsizei n
, GLuint
* framebuffers
));
274 MOCK_METHOD2(GenQueries
, void(GLsizei n
, GLuint
* ids
));
275 MOCK_METHOD2(GenQueriesARB
, void(GLsizei n
, GLuint
* ids
));
276 MOCK_METHOD2(GenRenderbuffersEXT
, void(GLsizei n
, GLuint
* renderbuffers
));
277 MOCK_METHOD2(GenSamplers
, void(GLsizei n
, GLuint
* samplers
));
278 MOCK_METHOD2(GenTextures
, void(GLsizei n
, GLuint
* textures
));
279 MOCK_METHOD2(GenTransformFeedbacks
, void(GLsizei n
, GLuint
* ids
));
280 MOCK_METHOD2(GenVertexArraysOES
, void(GLsizei n
, GLuint
* arrays
));
281 MOCK_METHOD7(GetActiveAttrib
,
289 MOCK_METHOD7(GetActiveUniform
,
297 MOCK_METHOD4(GetActiveUniformBlockiv
,
299 GLuint uniformBlockIndex
,
302 MOCK_METHOD5(GetActiveUniformBlockName
,
304 GLuint uniformBlockIndex
,
307 char* uniformBlockName
));
308 MOCK_METHOD5(GetActiveUniformsiv
,
310 GLsizei uniformCount
,
311 const GLuint
* uniformIndices
,
316 void(GLuint program
, GLsizei maxcount
, GLsizei
* count
, GLuint
* shaders
));
317 MOCK_METHOD2(GetAttribLocation
, GLint(GLuint program
, const char* name
));
318 MOCK_METHOD2(GetBooleanv
, void(GLenum pname
, GLboolean
* params
));
319 MOCK_METHOD3(GetBufferParameteriv
,
320 void(GLenum target
, GLenum pname
, GLint
* params
));
321 MOCK_METHOD0(GetError
, GLenum());
322 MOCK_METHOD3(GetFenceivNV
, void(GLuint fence
, GLenum pname
, GLint
* params
));
323 MOCK_METHOD2(GetFloatv
, void(GLenum pname
, GLfloat
* params
));
324 MOCK_METHOD2(GetFragDataLocation
, GLint(GLuint program
, const char* name
));
326 GetFramebufferAttachmentParameterivEXT
,
327 void(GLenum target
, GLenum attachment
, GLenum pname
, GLint
* params
));
328 MOCK_METHOD0(GetGraphicsResetStatusARB
, GLenum());
329 MOCK_METHOD3(GetInteger64i_v
, void(GLenum target
, GLuint index
, GLint64
* data
));
330 MOCK_METHOD2(GetInteger64v
, void(GLenum pname
, GLint64
* params
));
331 MOCK_METHOD3(GetIntegeri_v
, void(GLenum target
, GLuint index
, GLint
* data
));
332 MOCK_METHOD2(GetIntegerv
, void(GLenum pname
, GLint
* params
));
333 MOCK_METHOD5(GetInternalformativ
,
335 GLenum internalformat
,
339 MOCK_METHOD5(GetProgramBinary
,
343 GLenum
* binaryFormat
,
347 void(GLuint program
, GLsizei bufsize
, GLsizei
* length
, char* infolog
));
348 MOCK_METHOD3(GetProgramiv
, void(GLuint program
, GLenum pname
, GLint
* params
));
349 MOCK_METHOD3(GetProgramResourceLocation
,
350 GLint(GLuint program
, GLenum programInterface
, const char* name
));
351 MOCK_METHOD3(GetQueryiv
, void(GLenum target
, GLenum pname
, GLint
* params
));
352 MOCK_METHOD3(GetQueryivARB
, void(GLenum target
, GLenum pname
, GLint
* params
));
353 MOCK_METHOD3(GetQueryObjecti64v
,
354 void(GLuint id
, GLenum pname
, GLint64
* params
));
355 MOCK_METHOD3(GetQueryObjectiv
, void(GLuint id
, GLenum pname
, GLint
* params
));
356 MOCK_METHOD3(GetQueryObjectivARB
, void(GLuint id
, GLenum pname
, GLint
* params
));
357 MOCK_METHOD3(GetQueryObjectui64v
,
358 void(GLuint id
, GLenum pname
, GLuint64
* params
));
359 MOCK_METHOD3(GetQueryObjectuiv
, void(GLuint id
, GLenum pname
, GLuint
* params
));
360 MOCK_METHOD3(GetQueryObjectuivARB
,
361 void(GLuint id
, GLenum pname
, GLuint
* params
));
362 MOCK_METHOD3(GetRenderbufferParameterivEXT
,
363 void(GLenum target
, GLenum pname
, GLint
* params
));
364 MOCK_METHOD3(GetSamplerParameterfv
,
365 void(GLuint sampler
, GLenum pname
, GLfloat
* params
));
366 MOCK_METHOD3(GetSamplerParameteriv
,
367 void(GLuint sampler
, GLenum pname
, GLint
* params
));
370 void(GLuint shader
, GLsizei bufsize
, GLsizei
* length
, char* infolog
));
371 MOCK_METHOD3(GetShaderiv
, void(GLuint shader
, GLenum pname
, GLint
* params
));
372 MOCK_METHOD4(GetShaderPrecisionFormat
,
373 void(GLenum shadertype
,
374 GLenum precisiontype
,
379 void(GLuint shader
, GLsizei bufsize
, GLsizei
* length
, char* source
));
380 MOCK_METHOD1(GetString
, const GLubyte
*(GLenum name
));
381 MOCK_METHOD2(GetStringi
, const GLubyte
*(GLenum name
, GLuint index
));
382 MOCK_METHOD5(GetSynciv
,
388 MOCK_METHOD4(GetTexLevelParameterfv
,
389 void(GLenum target
, GLint level
, GLenum pname
, GLfloat
* params
));
390 MOCK_METHOD4(GetTexLevelParameteriv
,
391 void(GLenum target
, GLint level
, GLenum pname
, GLint
* params
));
392 MOCK_METHOD3(GetTexParameterfv
,
393 void(GLenum target
, GLenum pname
, GLfloat
* params
));
394 MOCK_METHOD3(GetTexParameteriv
,
395 void(GLenum target
, GLenum pname
, GLint
* params
));
396 MOCK_METHOD7(GetTransformFeedbackVarying
,
405 GetTranslatedShaderSourceANGLE
,
406 void(GLuint shader
, GLsizei bufsize
, GLsizei
* length
, char* source
));
407 MOCK_METHOD2(GetUniformBlockIndex
,
408 GLuint(GLuint program
, const char* uniformBlockName
));
409 MOCK_METHOD3(GetUniformfv
,
410 void(GLuint program
, GLint location
, GLfloat
* params
));
411 MOCK_METHOD4(GetUniformIndices
,
413 GLsizei uniformCount
,
414 const char* const* uniformNames
,
415 GLuint
* uniformIndices
));
416 MOCK_METHOD3(GetUniformiv
, void(GLuint program
, GLint location
, GLint
* params
));
417 MOCK_METHOD2(GetUniformLocation
, GLint(GLuint program
, const char* name
));
418 MOCK_METHOD3(GetVertexAttribfv
,
419 void(GLuint index
, GLenum pname
, GLfloat
* params
));
420 MOCK_METHOD3(GetVertexAttribiv
,
421 void(GLuint index
, GLenum pname
, GLint
* params
));
422 MOCK_METHOD3(GetVertexAttribPointerv
,
423 void(GLuint index
, GLenum pname
, void** pointer
));
424 MOCK_METHOD2(Hint
, void(GLenum target
, GLenum mode
));
425 MOCK_METHOD2(InsertEventMarkerEXT
, void(GLsizei length
, const char* marker
));
426 MOCK_METHOD3(InvalidateFramebuffer
,
428 GLsizei numAttachments
,
429 const GLenum
* attachments
));
430 MOCK_METHOD7(InvalidateSubFramebuffer
,
432 GLsizei numAttachments
,
433 const GLenum
* attachments
,
438 MOCK_METHOD1(IsBuffer
, GLboolean(GLuint buffer
));
439 MOCK_METHOD1(IsEnabled
, GLboolean(GLenum cap
));
440 MOCK_METHOD1(IsFenceAPPLE
, GLboolean(GLuint fence
));
441 MOCK_METHOD1(IsFenceNV
, GLboolean(GLuint fence
));
442 MOCK_METHOD1(IsFramebufferEXT
, GLboolean(GLuint framebuffer
));
443 MOCK_METHOD1(IsProgram
, GLboolean(GLuint program
));
444 MOCK_METHOD1(IsQuery
, GLboolean(GLuint query
));
445 MOCK_METHOD1(IsQueryARB
, GLboolean(GLuint query
));
446 MOCK_METHOD1(IsRenderbufferEXT
, GLboolean(GLuint renderbuffer
));
447 MOCK_METHOD1(IsSampler
, GLboolean(GLuint sampler
));
448 MOCK_METHOD1(IsShader
, GLboolean(GLuint shader
));
449 MOCK_METHOD1(IsSync
, GLboolean(GLsync sync
));
450 MOCK_METHOD1(IsTexture
, GLboolean(GLuint texture
));
451 MOCK_METHOD1(IsTransformFeedback
, GLboolean(GLuint id
));
452 MOCK_METHOD1(IsVertexArrayOES
, GLboolean(GLuint array
));
453 MOCK_METHOD1(LineWidth
, void(GLfloat width
));
454 MOCK_METHOD1(LinkProgram
, void(GLuint program
));
455 MOCK_METHOD2(MapBuffer
, void*(GLenum target
, GLenum access
));
456 MOCK_METHOD4(MapBufferRange
,
461 MOCK_METHOD2(MatrixLoadfEXT
, void(GLenum matrixMode
, const GLfloat
* m
));
462 MOCK_METHOD1(MatrixLoadIdentityEXT
, void(GLenum matrixMode
));
463 MOCK_METHOD0(PauseTransformFeedback
, void());
464 MOCK_METHOD2(PixelStorei
, void(GLenum pname
, GLint param
));
465 MOCK_METHOD2(PointParameteri
, void(GLenum pname
, GLint param
));
466 MOCK_METHOD2(PolygonOffset
, void(GLfloat factor
, GLfloat units
));
467 MOCK_METHOD0(PopGroupMarkerEXT
, void());
468 MOCK_METHOD4(ProgramBinary
,
471 const GLvoid
* binary
,
473 MOCK_METHOD3(ProgramParameteri
,
474 void(GLuint program
, GLenum pname
, GLint value
));
475 MOCK_METHOD2(PushGroupMarkerEXT
, void(GLsizei length
, const char* marker
));
476 MOCK_METHOD2(QueryCounter
, void(GLuint id
, GLenum target
));
477 MOCK_METHOD1(ReadBuffer
, void(GLenum src
));
478 MOCK_METHOD7(ReadPixels
,
486 MOCK_METHOD0(ReleaseShaderCompiler
, void());
488 RenderbufferStorageEXT
,
489 void(GLenum target
, GLenum internalformat
, GLsizei width
, GLsizei height
));
490 MOCK_METHOD5(RenderbufferStorageMultisample
,
493 GLenum internalformat
,
496 MOCK_METHOD5(RenderbufferStorageMultisampleANGLE
,
499 GLenum internalformat
,
502 MOCK_METHOD5(RenderbufferStorageMultisampleEXT
,
505 GLenum internalformat
,
508 MOCK_METHOD5(RenderbufferStorageMultisampleIMG
,
511 GLenum internalformat
,
514 MOCK_METHOD0(ResumeTransformFeedback
, void());
515 MOCK_METHOD2(SampleCoverage
, void(GLclampf value
, GLboolean invert
));
516 MOCK_METHOD3(SamplerParameterf
,
517 void(GLuint sampler
, GLenum pname
, GLfloat param
));
518 MOCK_METHOD3(SamplerParameterfv
,
519 void(GLuint sampler
, GLenum pname
, const GLfloat
* params
));
520 MOCK_METHOD3(SamplerParameteri
,
521 void(GLuint sampler
, GLenum pname
, GLint param
));
522 MOCK_METHOD3(SamplerParameteriv
,
523 void(GLuint sampler
, GLenum pname
, const GLint
* params
));
524 MOCK_METHOD4(Scissor
, void(GLint x
, GLint y
, GLsizei width
, GLsizei height
));
525 MOCK_METHOD1(SetFenceAPPLE
, void(GLuint fence
));
526 MOCK_METHOD2(SetFenceNV
, void(GLuint fence
, GLenum condition
));
527 MOCK_METHOD5(ShaderBinary
,
529 const GLuint
* shaders
,
533 MOCK_METHOD4(ShaderSource
,
536 const char* const* str
,
537 const GLint
* length
));
538 MOCK_METHOD3(StencilFunc
, void(GLenum func
, GLint ref
, GLuint mask
));
539 MOCK_METHOD4(StencilFuncSeparate
,
540 void(GLenum face
, GLenum func
, GLint ref
, GLuint mask
));
541 MOCK_METHOD1(StencilMask
, void(GLuint mask
));
542 MOCK_METHOD2(StencilMaskSeparate
, void(GLenum face
, GLuint mask
));
543 MOCK_METHOD3(StencilOp
, void(GLenum fail
, GLenum zfail
, GLenum zpass
));
544 MOCK_METHOD4(StencilOpSeparate
,
545 void(GLenum face
, GLenum fail
, GLenum zfail
, GLenum zpass
));
546 MOCK_METHOD1(TestFenceAPPLE
, GLboolean(GLuint fence
));
547 MOCK_METHOD1(TestFenceNV
, GLboolean(GLuint fence
));
548 MOCK_METHOD9(TexImage2D
,
551 GLint internalformat
,
557 const void* pixels
));
558 MOCK_METHOD10(TexImage3D
,
561 GLint internalformat
,
568 const void* pixels
));
569 MOCK_METHOD3(TexParameterf
, void(GLenum target
, GLenum pname
, GLfloat param
));
570 MOCK_METHOD3(TexParameterfv
,
571 void(GLenum target
, GLenum pname
, const GLfloat
* params
));
572 MOCK_METHOD3(TexParameteri
, void(GLenum target
, GLenum pname
, GLint param
));
573 MOCK_METHOD3(TexParameteriv
,
574 void(GLenum target
, GLenum pname
, const GLint
* params
));
575 MOCK_METHOD5(TexStorage2DEXT
,
578 GLenum internalformat
,
581 MOCK_METHOD6(TexStorage3D
,
584 GLenum internalformat
,
588 MOCK_METHOD9(TexSubImage2D
,
597 const void* pixels
));
598 MOCK_METHOD4(TransformFeedbackVaryings
,
601 const char* const* varyings
,
603 MOCK_METHOD2(Uniform1f
, void(GLint location
, GLfloat x
));
604 MOCK_METHOD3(Uniform1fv
, void(GLint location
, GLsizei count
, const GLfloat
* v
));
605 MOCK_METHOD2(Uniform1i
, void(GLint location
, GLint x
));
606 MOCK_METHOD3(Uniform1iv
, void(GLint location
, GLsizei count
, const GLint
* v
));
607 MOCK_METHOD2(Uniform1ui
, void(GLint location
, GLuint v0
));
608 MOCK_METHOD3(Uniform1uiv
, void(GLint location
, GLsizei count
, const GLuint
* v
));
609 MOCK_METHOD3(Uniform2f
, void(GLint location
, GLfloat x
, GLfloat y
));
610 MOCK_METHOD3(Uniform2fv
, void(GLint location
, GLsizei count
, const GLfloat
* v
));
611 MOCK_METHOD3(Uniform2i
, void(GLint location
, GLint x
, GLint y
));
612 MOCK_METHOD3(Uniform2iv
, void(GLint location
, GLsizei count
, const GLint
* v
));
613 MOCK_METHOD3(Uniform2ui
, void(GLint location
, GLuint v0
, GLuint v1
));
614 MOCK_METHOD3(Uniform2uiv
, void(GLint location
, GLsizei count
, const GLuint
* v
));
615 MOCK_METHOD4(Uniform3f
, void(GLint location
, GLfloat x
, GLfloat y
, GLfloat z
));
616 MOCK_METHOD3(Uniform3fv
, void(GLint location
, GLsizei count
, const GLfloat
* v
));
617 MOCK_METHOD4(Uniform3i
, void(GLint location
, GLint x
, GLint y
, GLint z
));
618 MOCK_METHOD3(Uniform3iv
, void(GLint location
, GLsizei count
, const GLint
* v
));
619 MOCK_METHOD4(Uniform3ui
, void(GLint location
, GLuint v0
, GLuint v1
, GLuint v2
));
620 MOCK_METHOD3(Uniform3uiv
, void(GLint location
, GLsizei count
, const GLuint
* v
));
621 MOCK_METHOD5(Uniform4f
,
622 void(GLint location
, GLfloat x
, GLfloat y
, GLfloat z
, GLfloat w
));
623 MOCK_METHOD3(Uniform4fv
, void(GLint location
, GLsizei count
, const GLfloat
* v
));
624 MOCK_METHOD5(Uniform4i
,
625 void(GLint location
, GLint x
, GLint y
, GLint z
, GLint w
));
626 MOCK_METHOD3(Uniform4iv
, void(GLint location
, GLsizei count
, const GLint
* v
));
627 MOCK_METHOD5(Uniform4ui
,
628 void(GLint location
, GLuint v0
, GLuint v1
, GLuint v2
, GLuint v3
));
629 MOCK_METHOD3(Uniform4uiv
, void(GLint location
, GLsizei count
, const GLuint
* v
));
630 MOCK_METHOD3(UniformBlockBinding
,
632 GLuint uniformBlockIndex
,
633 GLuint uniformBlockBinding
));
634 MOCK_METHOD4(UniformMatrix2fv
,
638 const GLfloat
* value
));
639 MOCK_METHOD4(UniformMatrix2x3fv
,
643 const GLfloat
* value
));
644 MOCK_METHOD4(UniformMatrix2x4fv
,
648 const GLfloat
* value
));
649 MOCK_METHOD4(UniformMatrix3fv
,
653 const GLfloat
* value
));
654 MOCK_METHOD4(UniformMatrix3x2fv
,
658 const GLfloat
* value
));
659 MOCK_METHOD4(UniformMatrix3x4fv
,
663 const GLfloat
* value
));
664 MOCK_METHOD4(UniformMatrix4fv
,
668 const GLfloat
* value
));
669 MOCK_METHOD4(UniformMatrix4x2fv
,
673 const GLfloat
* value
));
674 MOCK_METHOD4(UniformMatrix4x3fv
,
678 const GLfloat
* value
));
679 MOCK_METHOD1(UnmapBuffer
, GLboolean(GLenum target
));
680 MOCK_METHOD1(UseProgram
, void(GLuint program
));
681 MOCK_METHOD1(ValidateProgram
, void(GLuint program
));
682 MOCK_METHOD2(VertexAttrib1f
, void(GLuint indx
, GLfloat x
));
683 MOCK_METHOD2(VertexAttrib1fv
, void(GLuint indx
, const GLfloat
* values
));
684 MOCK_METHOD3(VertexAttrib2f
, void(GLuint indx
, GLfloat x
, GLfloat y
));
685 MOCK_METHOD2(VertexAttrib2fv
, void(GLuint indx
, const GLfloat
* values
));
686 MOCK_METHOD4(VertexAttrib3f
,
687 void(GLuint indx
, GLfloat x
, GLfloat y
, GLfloat z
));
688 MOCK_METHOD2(VertexAttrib3fv
, void(GLuint indx
, const GLfloat
* values
));
689 MOCK_METHOD5(VertexAttrib4f
,
690 void(GLuint indx
, GLfloat x
, GLfloat y
, GLfloat z
, GLfloat w
));
691 MOCK_METHOD2(VertexAttrib4fv
, void(GLuint indx
, const GLfloat
* values
));
692 MOCK_METHOD2(VertexAttribDivisorANGLE
, void(GLuint index
, GLuint divisor
));
693 MOCK_METHOD5(VertexAttribI4i
,
694 void(GLuint indx
, GLint x
, GLint y
, GLint z
, GLint w
));
695 MOCK_METHOD2(VertexAttribI4iv
, void(GLuint indx
, const GLint
* values
));
696 MOCK_METHOD5(VertexAttribI4ui
,
697 void(GLuint indx
, GLuint x
, GLuint y
, GLuint z
, GLuint w
));
698 MOCK_METHOD2(VertexAttribI4uiv
, void(GLuint indx
, const GLuint
* values
));
699 MOCK_METHOD5(VertexAttribIPointer
,
705 MOCK_METHOD6(VertexAttribPointer
,
709 GLboolean normalized
,
712 MOCK_METHOD4(Viewport
, void(GLint x
, GLint y
, GLsizei width
, GLsizei height
));
713 MOCK_METHOD3(WaitSync
, GLenum(GLsync sync
, GLbitfield flags
, GLuint64 timeout
));