blob: 206df2d9ecbd895d259b5acf9433d12b4243d6b2 [file] [log] [blame]
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// This file is auto-generated from
// ui/gl/generate_bindings.py
// It's formatted by clang-format using chromium coding style:
// clang-format -i -style=chromium filename
// DO NOT EDIT!
#include <string.h>
#include "ui/gl/gl_mock.h"
namespace {
// This is called mainly to prevent the compiler combining the code of mock
// functions with identical contents, so that their function pointers will be
// different.
void MakeGlMockFunctionUnique(const char* func_name) {
VLOG(2) << "Calling mock " << func_name;
}
} // namespace
namespace gl {
void GL_BINDING_CALL
MockGLInterface::Mock_glActiveShaderProgram(GLuint pipeline, GLuint program) {
MakeGlMockFunctionUnique("glActiveShaderProgram");
interface_->ActiveShaderProgram(pipeline, program);
}
void GL_BINDING_CALL MockGLInterface::Mock_glActiveTexture(GLenum texture) {
MakeGlMockFunctionUnique("glActiveTexture");
interface_->ActiveTexture(texture);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glApplyFramebufferAttachmentCMAAINTEL(void) {
MakeGlMockFunctionUnique("glApplyFramebufferAttachmentCMAAINTEL");
interface_->ApplyFramebufferAttachmentCMAAINTEL();
}
void GL_BINDING_CALL MockGLInterface::Mock_glAttachShader(GLuint program,
GLuint shader) {
MakeGlMockFunctionUnique("glAttachShader");
interface_->AttachShader(program, shader);
}
void GL_BINDING_CALL MockGLInterface::Mock_glBeginQuery(GLenum target,
GLuint id) {
MakeGlMockFunctionUnique("glBeginQuery");
interface_->BeginQuery(target, id);
}
void GL_BINDING_CALL MockGLInterface::Mock_glBeginQueryARB(GLenum target,
GLuint id) {
MakeGlMockFunctionUnique("glBeginQueryARB");
interface_->BeginQuery(target, id);
}
void GL_BINDING_CALL MockGLInterface::Mock_glBeginQueryEXT(GLenum target,
GLuint id) {
MakeGlMockFunctionUnique("glBeginQueryEXT");
interface_->BeginQuery(target, id);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glBeginTransformFeedback(GLenum primitiveMode) {
MakeGlMockFunctionUnique("glBeginTransformFeedback");
interface_->BeginTransformFeedback(primitiveMode);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glBeginTransformFeedbackEXT(GLenum primitiveMode) {
MakeGlMockFunctionUnique("glBeginTransformFeedbackEXT");
interface_->BeginTransformFeedback(primitiveMode);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glBindAttribLocation(GLuint program,
GLuint index,
const char* name) {
MakeGlMockFunctionUnique("glBindAttribLocation");
interface_->BindAttribLocation(program, index, name);
}
void GL_BINDING_CALL MockGLInterface::Mock_glBindBuffer(GLenum target,
GLuint buffer) {
MakeGlMockFunctionUnique("glBindBuffer");
interface_->BindBuffer(target, buffer);
}
void GL_BINDING_CALL MockGLInterface::Mock_glBindBufferBase(GLenum target,
GLuint index,
GLuint buffer) {
MakeGlMockFunctionUnique("glBindBufferBase");
interface_->BindBufferBase(target, index, buffer);
}
void GL_BINDING_CALL MockGLInterface::Mock_glBindBufferBaseEXT(GLenum target,
GLuint index,
GLuint buffer) {
MakeGlMockFunctionUnique("glBindBufferBaseEXT");
interface_->BindBufferBase(target, index, buffer);
}
void GL_BINDING_CALL MockGLInterface::Mock_glBindBufferRange(GLenum target,
GLuint index,
GLuint buffer,
GLintptr offset,
GLsizeiptr size) {
MakeGlMockFunctionUnique("glBindBufferRange");
interface_->BindBufferRange(target, index, buffer, offset, size);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glBindBufferRangeEXT(GLenum target,
GLuint index,
GLuint buffer,
GLintptr offset,
GLsizeiptr size) {
MakeGlMockFunctionUnique("glBindBufferRangeEXT");
interface_->BindBufferRange(target, index, buffer, offset, size);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glBindFragDataLocation(GLuint program,
GLuint colorNumber,
const char* name) {
MakeGlMockFunctionUnique("glBindFragDataLocation");
interface_->BindFragDataLocation(program, colorNumber, name);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glBindFragDataLocationEXT(GLuint program,
GLuint colorNumber,
const char* name) {
MakeGlMockFunctionUnique("glBindFragDataLocationEXT");
interface_->BindFragDataLocation(program, colorNumber, name);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glBindFragDataLocationIndexed(GLuint program,
GLuint colorNumber,
GLuint index,
const char* name) {
MakeGlMockFunctionUnique("glBindFragDataLocationIndexed");
interface_->BindFragDataLocationIndexed(program, colorNumber, index, name);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glBindFragDataLocationIndexedEXT(GLuint program,
GLuint colorNumber,
GLuint index,
const char* name) {
MakeGlMockFunctionUnique("glBindFragDataLocationIndexedEXT");
interface_->BindFragDataLocationIndexed(program, colorNumber, index, name);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glBindFragmentInputLocationCHROMIUM(GLuint program,
GLint location,
const char* name) {
MakeGlMockFunctionUnique("glBindFragmentInputLocationCHROMIUM");
interface_->BindFragmentInputLocationCHROMIUM(program, location, name);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glBindFramebuffer(GLenum target, GLuint framebuffer) {
MakeGlMockFunctionUnique("glBindFramebuffer");
interface_->BindFramebufferEXT(target, framebuffer);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glBindFramebufferEXT(GLenum target, GLuint framebuffer) {
MakeGlMockFunctionUnique("glBindFramebufferEXT");
interface_->BindFramebufferEXT(target, framebuffer);
}
void GL_BINDING_CALL MockGLInterface::Mock_glBindImageTexture(GLuint index,
GLuint texture,
GLint level,
GLboolean layered,
GLint layer,
GLenum access,
GLint format) {
MakeGlMockFunctionUnique("glBindImageTexture");
interface_->BindImageTextureEXT(index, texture, level, layered, layer, access,
format);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glBindImageTextureEXT(GLuint index,
GLuint texture,
GLint level,
GLboolean layered,
GLint layer,
GLenum access,
GLint format) {
MakeGlMockFunctionUnique("glBindImageTextureEXT");
interface_->BindImageTextureEXT(index, texture, level, layered, layer, access,
format);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glBindProgramPipeline(GLuint pipeline) {
MakeGlMockFunctionUnique("glBindProgramPipeline");
interface_->BindProgramPipeline(pipeline);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glBindRenderbuffer(GLenum target, GLuint renderbuffer) {
MakeGlMockFunctionUnique("glBindRenderbuffer");
interface_->BindRenderbufferEXT(target, renderbuffer);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glBindRenderbufferEXT(GLenum target,
GLuint renderbuffer) {
MakeGlMockFunctionUnique("glBindRenderbufferEXT");
interface_->BindRenderbufferEXT(target, renderbuffer);
}
void GL_BINDING_CALL MockGLInterface::Mock_glBindSampler(GLuint unit,
GLuint sampler) {
MakeGlMockFunctionUnique("glBindSampler");
interface_->BindSampler(unit, sampler);
}
void GL_BINDING_CALL MockGLInterface::Mock_glBindTexture(GLenum target,
GLuint texture) {
MakeGlMockFunctionUnique("glBindTexture");
interface_->BindTexture(target, texture);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glBindTransformFeedback(GLenum target, GLuint id) {
MakeGlMockFunctionUnique("glBindTransformFeedback");
interface_->BindTransformFeedback(target, id);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glBindUniformLocationCHROMIUM(GLuint program,
GLint location,
const char* name) {
MakeGlMockFunctionUnique("glBindUniformLocationCHROMIUM");
interface_->BindUniformLocationCHROMIUM(program, location, name);
}
void GL_BINDING_CALL MockGLInterface::Mock_glBindVertexArray(GLuint array) {
MakeGlMockFunctionUnique("glBindVertexArray");
interface_->BindVertexArrayOES(array);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glBindVertexArrayAPPLE(GLuint array) {
MakeGlMockFunctionUnique("glBindVertexArrayAPPLE");
interface_->BindVertexArrayOES(array);
}
void GL_BINDING_CALL MockGLInterface::Mock_glBindVertexArrayOES(GLuint array) {
MakeGlMockFunctionUnique("glBindVertexArrayOES");
interface_->BindVertexArrayOES(array);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glBindVertexBuffer(GLuint bindingindex,
GLuint buffer,
GLintptr offset,
GLsizei stride) {
MakeGlMockFunctionUnique("glBindVertexBuffer");
interface_->BindVertexBuffer(bindingindex, buffer, offset, stride);
}
void GL_BINDING_CALL MockGLInterface::Mock_glBlendBarrierKHR(void) {
MakeGlMockFunctionUnique("glBlendBarrierKHR");
interface_->BlendBarrierKHR();
}
void GL_BINDING_CALL MockGLInterface::Mock_glBlendBarrierNV(void) {
MakeGlMockFunctionUnique("glBlendBarrierNV");
interface_->BlendBarrierKHR();
}
void GL_BINDING_CALL MockGLInterface::Mock_glBlendColor(GLclampf red,
GLclampf green,
GLclampf blue,
GLclampf alpha) {
MakeGlMockFunctionUnique("glBlendColor");
interface_->BlendColor(red, green, blue, alpha);
}
void GL_BINDING_CALL MockGLInterface::Mock_glBlendEquation(GLenum mode) {
MakeGlMockFunctionUnique("glBlendEquation");
interface_->BlendEquation(mode);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glBlendEquationSeparate(GLenum modeRGB,
GLenum modeAlpha) {
MakeGlMockFunctionUnique("glBlendEquationSeparate");
interface_->BlendEquationSeparate(modeRGB, modeAlpha);
}
void GL_BINDING_CALL MockGLInterface::Mock_glBlendFunc(GLenum sfactor,
GLenum dfactor) {
MakeGlMockFunctionUnique("glBlendFunc");
interface_->BlendFunc(sfactor, dfactor);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glBlendFuncSeparate(GLenum srcRGB,
GLenum dstRGB,
GLenum srcAlpha,
GLenum dstAlpha) {
MakeGlMockFunctionUnique("glBlendFuncSeparate");
interface_->BlendFuncSeparate(srcRGB, dstRGB, srcAlpha, dstAlpha);
}
void GL_BINDING_CALL MockGLInterface::Mock_glBlitFramebuffer(GLint srcX0,
GLint srcY0,
GLint srcX1,
GLint srcY1,
GLint dstX0,
GLint dstY0,
GLint dstX1,
GLint dstY1,
GLbitfield mask,
GLenum filter) {
MakeGlMockFunctionUnique("glBlitFramebuffer");
interface_->BlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1,
dstY1, mask, filter);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glBlitFramebufferANGLE(GLint srcX0,
GLint srcY0,
GLint srcX1,
GLint srcY1,
GLint dstX0,
GLint dstY0,
GLint dstX1,
GLint dstY1,
GLbitfield mask,
GLenum filter) {
MakeGlMockFunctionUnique("glBlitFramebufferANGLE");
interface_->BlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1,
dstY1, mask, filter);
}
void GL_BINDING_CALL MockGLInterface::Mock_glBlitFramebufferEXT(GLint srcX0,
GLint srcY0,
GLint srcX1,
GLint srcY1,
GLint dstX0,
GLint dstY0,
GLint dstX1,
GLint dstY1,
GLbitfield mask,
GLenum filter) {
MakeGlMockFunctionUnique("glBlitFramebufferEXT");
interface_->BlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1,
dstY1, mask, filter);
}
void GL_BINDING_CALL MockGLInterface::Mock_glBufferData(GLenum target,
GLsizeiptr size,
const void* data,
GLenum usage) {
MakeGlMockFunctionUnique("glBufferData");
interface_->BufferData(target, size, data, usage);
}
void GL_BINDING_CALL MockGLInterface::Mock_glBufferSubData(GLenum target,
GLintptr offset,
GLsizeiptr size,
const void* data) {
MakeGlMockFunctionUnique("glBufferSubData");
interface_->BufferSubData(target, offset, size, data);
}
GLenum GL_BINDING_CALL
MockGLInterface::Mock_glCheckFramebufferStatus(GLenum target) {
MakeGlMockFunctionUnique("glCheckFramebufferStatus");
return interface_->CheckFramebufferStatusEXT(target);
}
GLenum GL_BINDING_CALL
MockGLInterface::Mock_glCheckFramebufferStatusEXT(GLenum target) {
MakeGlMockFunctionUnique("glCheckFramebufferStatusEXT");
return interface_->CheckFramebufferStatusEXT(target);
}
void GL_BINDING_CALL MockGLInterface::Mock_glClear(GLbitfield mask) {
MakeGlMockFunctionUnique("glClear");
interface_->Clear(mask);
}
void GL_BINDING_CALL MockGLInterface::Mock_glClearBufferfi(GLenum buffer,
GLint drawbuffer,
const GLfloat depth,
GLint stencil) {
MakeGlMockFunctionUnique("glClearBufferfi");
interface_->ClearBufferfi(buffer, drawbuffer, depth, stencil);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glClearBufferfv(GLenum buffer,
GLint drawbuffer,
const GLfloat* value) {
MakeGlMockFunctionUnique("glClearBufferfv");
interface_->ClearBufferfv(buffer, drawbuffer, value);
}
void GL_BINDING_CALL MockGLInterface::Mock_glClearBufferiv(GLenum buffer,
GLint drawbuffer,
const GLint* value) {
MakeGlMockFunctionUnique("glClearBufferiv");
interface_->ClearBufferiv(buffer, drawbuffer, value);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glClearBufferuiv(GLenum buffer,
GLint drawbuffer,
const GLuint* value) {
MakeGlMockFunctionUnique("glClearBufferuiv");
interface_->ClearBufferuiv(buffer, drawbuffer, value);
}
void GL_BINDING_CALL MockGLInterface::Mock_glClearColor(GLclampf red,
GLclampf green,
GLclampf blue,
GLclampf alpha) {
MakeGlMockFunctionUnique("glClearColor");
interface_->ClearColor(red, green, blue, alpha);
}
void GL_BINDING_CALL MockGLInterface::Mock_glClearDepth(GLclampd depth) {
MakeGlMockFunctionUnique("glClearDepth");
interface_->ClearDepth(depth);
}
void GL_BINDING_CALL MockGLInterface::Mock_glClearDepthf(GLclampf depth) {
MakeGlMockFunctionUnique("glClearDepthf");
interface_->ClearDepthf(depth);
}
void GL_BINDING_CALL MockGLInterface::Mock_glClearStencil(GLint s) {
MakeGlMockFunctionUnique("glClearStencil");
interface_->ClearStencil(s);
}
GLenum GL_BINDING_CALL
MockGLInterface::Mock_glClientWaitSync(GLsync sync,
GLbitfield flags,
GLuint64 timeout) {
MakeGlMockFunctionUnique("glClientWaitSync");
return interface_->ClientWaitSync(sync, flags, timeout);
}
void GL_BINDING_CALL MockGLInterface::Mock_glColorMask(GLboolean red,
GLboolean green,
GLboolean blue,
GLboolean alpha) {
MakeGlMockFunctionUnique("glColorMask");
interface_->ColorMask(red, green, blue, alpha);
}
void GL_BINDING_CALL MockGLInterface::Mock_glCompileShader(GLuint shader) {
MakeGlMockFunctionUnique("glCompileShader");
interface_->CompileShader(shader);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glCompressedTexImage2D(GLenum target,
GLint level,
GLenum internalformat,
GLsizei width,
GLsizei height,
GLint border,
GLsizei imageSize,
const void* data) {
MakeGlMockFunctionUnique("glCompressedTexImage2D");
interface_->CompressedTexImage2D(target, level, internalformat, width, height,
border, imageSize, data);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glCompressedTexImage2DRobustANGLE(GLenum target,
GLint level,
GLenum internalformat,
GLsizei width,
GLsizei height,
GLint border,
GLsizei imageSize,
GLsizei dataSize,
const void* data) {
MakeGlMockFunctionUnique("glCompressedTexImage2DRobustANGLE");
interface_->CompressedTexImage2DRobustANGLE(target, level, internalformat,
width, height, border, imageSize,
dataSize, data);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glCompressedTexImage3D(GLenum target,
GLint level,
GLenum internalformat,
GLsizei width,
GLsizei height,
GLsizei depth,
GLint border,
GLsizei imageSize,
const void* data) {
MakeGlMockFunctionUnique("glCompressedTexImage3D");
interface_->CompressedTexImage3D(target, level, internalformat, width, height,
depth, border, imageSize, data);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glCompressedTexImage3DRobustANGLE(GLenum target,
GLint level,
GLenum internalformat,
GLsizei width,
GLsizei height,
GLsizei depth,
GLint border,
GLsizei imageSize,
GLsizei dataSize,
const void* data) {
MakeGlMockFunctionUnique("glCompressedTexImage3DRobustANGLE");
interface_->CompressedTexImage3DRobustANGLE(target, level, internalformat,
width, height, depth, border,
imageSize, dataSize, data);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glCompressedTexSubImage2D(GLenum target,
GLint level,
GLint xoffset,
GLint yoffset,
GLsizei width,
GLsizei height,
GLenum format,
GLsizei imageSize,
const void* data) {
MakeGlMockFunctionUnique("glCompressedTexSubImage2D");
interface_->CompressedTexSubImage2D(target, level, xoffset, yoffset, width,
height, format, imageSize, data);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glCompressedTexSubImage2DRobustANGLE(GLenum target,
GLint level,
GLint xoffset,
GLint yoffset,
GLsizei width,
GLsizei height,
GLenum format,
GLsizei imageSize,
GLsizei dataSize,
const void* data) {
MakeGlMockFunctionUnique("glCompressedTexSubImage2DRobustANGLE");
interface_->CompressedTexSubImage2DRobustANGLE(target, level, xoffset,
yoffset, width, height, format,
imageSize, dataSize, data);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glCompressedTexSubImage3D(GLenum target,
GLint level,
GLint xoffset,
GLint yoffset,
GLint zoffset,
GLsizei width,
GLsizei height,
GLsizei depth,
GLenum format,
GLsizei imageSize,
const void* data) {
MakeGlMockFunctionUnique("glCompressedTexSubImage3D");
interface_->CompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset,
width, height, depth, format, imageSize,
data);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glCompressedTexSubImage3DRobustANGLE(GLenum target,
GLint level,
GLint xoffset,
GLint yoffset,
GLint zoffset,
GLsizei width,
GLsizei height,
GLsizei depth,
GLenum format,
GLsizei imageSize,
GLsizei dataSize,
const void* data) {
MakeGlMockFunctionUnique("glCompressedTexSubImage3DRobustANGLE");
interface_->CompressedTexSubImage3DRobustANGLE(
target, level, xoffset, yoffset, zoffset, width, height, depth, format,
imageSize, dataSize, data);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glCopyBufferSubData(GLenum readTarget,
GLenum writeTarget,
GLintptr readOffset,
GLintptr writeOffset,
GLsizeiptr size) {
MakeGlMockFunctionUnique("glCopyBufferSubData");
interface_->CopyBufferSubData(readTarget, writeTarget, readOffset,
writeOffset, size);
}
void GL_BINDING_CALL MockGLInterface::Mock_glCopySubTextureCHROMIUM(
GLuint sourceId,
GLint sourceLevel,
GLenum destTarget,
GLuint destId,
GLint destLevel,
GLint xoffset,
GLint yoffset,
GLint x,
GLint y,
GLsizei width,
GLsizei height,
GLboolean unpackFlipY,
GLboolean unpackPremultiplyAlpha,
GLboolean unpackUnmultiplyAlpha) {
MakeGlMockFunctionUnique("glCopySubTextureCHROMIUM");
interface_->CopySubTextureCHROMIUM(
sourceId, sourceLevel, destTarget, destId, destLevel, xoffset, yoffset, x,
y, width, height, unpackFlipY, unpackPremultiplyAlpha,
unpackUnmultiplyAlpha);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glCopyTexImage2D(GLenum target,
GLint level,
GLenum internalformat,
GLint x,
GLint y,
GLsizei width,
GLsizei height,
GLint border) {
MakeGlMockFunctionUnique("glCopyTexImage2D");
interface_->CopyTexImage2D(target, level, internalformat, x, y, width, height,
border);
}
void GL_BINDING_CALL MockGLInterface::Mock_glCopyTexSubImage2D(GLenum target,
GLint level,
GLint xoffset,
GLint yoffset,
GLint x,
GLint y,
GLsizei width,
GLsizei height) {
MakeGlMockFunctionUnique("glCopyTexSubImage2D");
interface_->CopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width,
height);
}
void GL_BINDING_CALL MockGLInterface::Mock_glCopyTexSubImage3D(GLenum target,
GLint level,
GLint xoffset,
GLint yoffset,
GLint zoffset,
GLint x,
GLint y,
GLsizei width,
GLsizei height) {
MakeGlMockFunctionUnique("glCopyTexSubImage3D");
interface_->CopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y,
width, height);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glCopyTextureCHROMIUM(GLuint sourceId,
GLint sourceLevel,
GLenum destTarget,
GLuint destId,
GLint destLevel,
GLint internalFormat,
GLenum destType,
GLboolean unpackFlipY,
GLboolean unpackPremultiplyAlpha,
GLboolean unpackUnmultiplyAlpha) {
MakeGlMockFunctionUnique("glCopyTextureCHROMIUM");
interface_->CopyTextureCHROMIUM(
sourceId, sourceLevel, destTarget, destId, destLevel, internalFormat,
destType, unpackFlipY, unpackPremultiplyAlpha, unpackUnmultiplyAlpha);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glCoverFillPathCHROMIUM(GLuint path, GLenum coverMode) {
MakeGlMockFunctionUnique("glCoverFillPathCHROMIUM");
interface_->CoverFillPathNV(path, coverMode);
}
void GL_BINDING_CALL MockGLInterface::Mock_glCoverFillPathInstancedCHROMIUM(
GLsizei numPaths,
GLenum pathNameType,
const void* paths,
GLuint pathBase,
GLenum coverMode,
GLenum transformType,
const GLfloat* transformValues) {
MakeGlMockFunctionUnique("glCoverFillPathInstancedCHROMIUM");
interface_->CoverFillPathInstancedNV(numPaths, pathNameType, paths, pathBase,
coverMode, transformType,
transformValues);
}
void GL_BINDING_CALL MockGLInterface::Mock_glCoverFillPathInstancedNV(
GLsizei numPaths,
GLenum pathNameType,
const void* paths,
GLuint pathBase,
GLenum coverMode,
GLenum transformType,
const GLfloat* transformValues) {
MakeGlMockFunctionUnique("glCoverFillPathInstancedNV");
interface_->CoverFillPathInstancedNV(numPaths, pathNameType, paths, pathBase,
coverMode, transformType,
transformValues);
}
void GL_BINDING_CALL MockGLInterface::Mock_glCoverFillPathNV(GLuint path,
GLenum coverMode) {
MakeGlMockFunctionUnique("glCoverFillPathNV");
interface_->CoverFillPathNV(path, coverMode);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glCoverStrokePathCHROMIUM(GLuint name, GLenum coverMode) {
MakeGlMockFunctionUnique("glCoverStrokePathCHROMIUM");
interface_->CoverStrokePathNV(name, coverMode);
}
void GL_BINDING_CALL MockGLInterface::Mock_glCoverStrokePathInstancedCHROMIUM(
GLsizei numPaths,
GLenum pathNameType,
const void* paths,
GLuint pathBase,
GLenum coverMode,
GLenum transformType,
const GLfloat* transformValues) {
MakeGlMockFunctionUnique("glCoverStrokePathInstancedCHROMIUM");
interface_->CoverStrokePathInstancedNV(numPaths, pathNameType, paths,
pathBase, coverMode, transformType,
transformValues);
}
void GL_BINDING_CALL MockGLInterface::Mock_glCoverStrokePathInstancedNV(
GLsizei numPaths,
GLenum pathNameType,
const void* paths,
GLuint pathBase,
GLenum coverMode,
GLenum transformType,
const GLfloat* transformValues) {
MakeGlMockFunctionUnique("glCoverStrokePathInstancedNV");
interface_->CoverStrokePathInstancedNV(numPaths, pathNameType, paths,
pathBase, coverMode, transformType,
transformValues);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glCoverStrokePathNV(GLuint name, GLenum coverMode) {
MakeGlMockFunctionUnique("glCoverStrokePathNV");
interface_->CoverStrokePathNV(name, coverMode);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glCoverageModulationCHROMIUM(GLenum components) {
MakeGlMockFunctionUnique("glCoverageModulationCHROMIUM");
interface_->CoverageModulationNV(components);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glCoverageModulationNV(GLenum components) {
MakeGlMockFunctionUnique("glCoverageModulationNV");
interface_->CoverageModulationNV(components);
}
GLuint GL_BINDING_CALL MockGLInterface::Mock_glCreateProgram(void) {
MakeGlMockFunctionUnique("glCreateProgram");
return interface_->CreateProgram();
}
GLuint GL_BINDING_CALL MockGLInterface::Mock_glCreateShader(GLenum type) {
MakeGlMockFunctionUnique("glCreateShader");
return interface_->CreateShader(type);
}
GLuint GL_BINDING_CALL
MockGLInterface::Mock_glCreateShaderProgramv(GLenum type,
GLsizei count,
const char* const* strings) {
MakeGlMockFunctionUnique("glCreateShaderProgramv");
return interface_->CreateShaderProgramv(type, count, strings);
}
void GL_BINDING_CALL MockGLInterface::Mock_glCullFace(GLenum mode) {
MakeGlMockFunctionUnique("glCullFace");
interface_->CullFace(mode);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glDebugMessageCallback(GLDEBUGPROC callback,
const void* userParam) {
MakeGlMockFunctionUnique("glDebugMessageCallback");
interface_->DebugMessageCallback(callback, userParam);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glDebugMessageCallbackKHR(GLDEBUGPROC callback,
const void* userParam) {
MakeGlMockFunctionUnique("glDebugMessageCallbackKHR");
interface_->DebugMessageCallback(callback, userParam);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glDebugMessageControl(GLenum source,
GLenum type,
GLenum severity,
GLsizei count,
const GLuint* ids,
GLboolean enabled) {
MakeGlMockFunctionUnique("glDebugMessageControl");
interface_->DebugMessageControl(source, type, severity, count, ids, enabled);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glDebugMessageControlKHR(GLenum source,
GLenum type,
GLenum severity,
GLsizei count,
const GLuint* ids,
GLboolean enabled) {
MakeGlMockFunctionUnique("glDebugMessageControlKHR");
interface_->DebugMessageControl(source, type, severity, count, ids, enabled);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glDebugMessageInsert(GLenum source,
GLenum type,
GLuint id,
GLenum severity,
GLsizei length,
const char* buf) {
MakeGlMockFunctionUnique("glDebugMessageInsert");
interface_->DebugMessageInsert(source, type, id, severity, length, buf);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glDebugMessageInsertKHR(GLenum source,
GLenum type,
GLuint id,
GLenum severity,
GLsizei length,
const char* buf) {
MakeGlMockFunctionUnique("glDebugMessageInsertKHR");
interface_->DebugMessageInsert(source, type, id, severity, length, buf);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glDeleteBuffers(GLsizei n, const GLuint* buffers) {
MakeGlMockFunctionUnique("glDeleteBuffers");
interface_->DeleteBuffersARB(n, buffers);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glDeleteFencesAPPLE(GLsizei n, const GLuint* fences) {
MakeGlMockFunctionUnique("glDeleteFencesAPPLE");
interface_->DeleteFencesAPPLE(n, fences);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glDeleteFencesNV(GLsizei n, const GLuint* fences) {
MakeGlMockFunctionUnique("glDeleteFencesNV");
interface_->DeleteFencesNV(n, fences);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glDeleteFramebuffers(GLsizei n,
const GLuint* framebuffers) {
MakeGlMockFunctionUnique("glDeleteFramebuffers");
interface_->DeleteFramebuffersEXT(n, framebuffers);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glDeleteFramebuffersEXT(GLsizei n,
const GLuint* framebuffers) {
MakeGlMockFunctionUnique("glDeleteFramebuffersEXT");
interface_->DeleteFramebuffersEXT(n, framebuffers);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glDeletePathsCHROMIUM(GLuint path, GLsizei range) {
MakeGlMockFunctionUnique("glDeletePathsCHROMIUM");
interface_->DeletePathsNV(path, range);
}
void GL_BINDING_CALL MockGLInterface::Mock_glDeletePathsNV(GLuint path,
GLsizei range) {
MakeGlMockFunctionUnique("glDeletePathsNV");
interface_->DeletePathsNV(path, range);
}
void GL_BINDING_CALL MockGLInterface::Mock_glDeleteProgram(GLuint program) {
MakeGlMockFunctionUnique("glDeleteProgram");
interface_->DeleteProgram(program);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glDeleteProgramPipelines(GLsizei n,
const GLuint* pipelines) {
MakeGlMockFunctionUnique("glDeleteProgramPipelines");
interface_->DeleteProgramPipelines(n, pipelines);
}
void GL_BINDING_CALL MockGLInterface::Mock_glDeleteQueries(GLsizei n,
const GLuint* ids) {
MakeGlMockFunctionUnique("glDeleteQueries");
interface_->DeleteQueries(n, ids);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glDeleteQueriesARB(GLsizei n, const GLuint* ids) {
MakeGlMockFunctionUnique("glDeleteQueriesARB");
interface_->DeleteQueries(n, ids);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glDeleteQueriesEXT(GLsizei n, const GLuint* ids) {
MakeGlMockFunctionUnique("glDeleteQueriesEXT");
interface_->DeleteQueries(n, ids);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glDeleteRenderbuffers(GLsizei n,
const GLuint* renderbuffers) {
MakeGlMockFunctionUnique("glDeleteRenderbuffers");
interface_->DeleteRenderbuffersEXT(n, renderbuffers);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glDeleteRenderbuffersEXT(GLsizei n,
const GLuint* renderbuffers) {
MakeGlMockFunctionUnique("glDeleteRenderbuffersEXT");
interface_->DeleteRenderbuffersEXT(n, renderbuffers);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glDeleteSamplers(GLsizei n, const GLuint* samplers) {
MakeGlMockFunctionUnique("glDeleteSamplers");
interface_->DeleteSamplers(n, samplers);
}
void GL_BINDING_CALL MockGLInterface::Mock_glDeleteShader(GLuint shader) {
MakeGlMockFunctionUnique("glDeleteShader");
interface_->DeleteShader(shader);
}
void GL_BINDING_CALL MockGLInterface::Mock_glDeleteSync(GLsync sync) {
MakeGlMockFunctionUnique("glDeleteSync");
interface_->DeleteSync(sync);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glDeleteTextures(GLsizei n, const GLuint* textures) {
MakeGlMockFunctionUnique("glDeleteTextures");
interface_->DeleteTextures(n, textures);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glDeleteTransformFeedbacks(GLsizei n, const GLuint* ids) {
MakeGlMockFunctionUnique("glDeleteTransformFeedbacks");
interface_->DeleteTransformFeedbacks(n, ids);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glDeleteVertexArrays(GLsizei n, const GLuint* arrays) {
MakeGlMockFunctionUnique("glDeleteVertexArrays");
interface_->DeleteVertexArraysOES(n, arrays);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glDeleteVertexArraysAPPLE(GLsizei n,
const GLuint* arrays) {
MakeGlMockFunctionUnique("glDeleteVertexArraysAPPLE");
interface_->DeleteVertexArraysOES(n, arrays);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glDeleteVertexArraysOES(GLsizei n, const GLuint* arrays) {
MakeGlMockFunctionUnique("glDeleteVertexArraysOES");
interface_->DeleteVertexArraysOES(n, arrays);
}
void GL_BINDING_CALL MockGLInterface::Mock_glDepthFunc(GLenum func) {
MakeGlMockFunctionUnique("glDepthFunc");
interface_->DepthFunc(func);
}
void GL_BINDING_CALL MockGLInterface::Mock_glDepthMask(GLboolean flag) {
MakeGlMockFunctionUnique("glDepthMask");
interface_->DepthMask(flag);
}
void GL_BINDING_CALL MockGLInterface::Mock_glDepthRange(GLclampd zNear,
GLclampd zFar) {
MakeGlMockFunctionUnique("glDepthRange");
interface_->DepthRange(zNear, zFar);
}
void GL_BINDING_CALL MockGLInterface::Mock_glDepthRangef(GLclampf zNear,
GLclampf zFar) {
MakeGlMockFunctionUnique("glDepthRangef");
interface_->DepthRangef(zNear, zFar);
}
void GL_BINDING_CALL MockGLInterface::Mock_glDetachShader(GLuint program,
GLuint shader) {
MakeGlMockFunctionUnique("glDetachShader");
interface_->DetachShader(program, shader);
}
void GL_BINDING_CALL MockGLInterface::Mock_glDisable(GLenum cap) {
MakeGlMockFunctionUnique("glDisable");
interface_->Disable(cap);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glDisableVertexAttribArray(GLuint index) {
MakeGlMockFunctionUnique("glDisableVertexAttribArray");
interface_->DisableVertexAttribArray(index);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glDiscardFramebufferEXT(GLenum target,
GLsizei numAttachments,
const GLenum* attachments) {
MakeGlMockFunctionUnique("glDiscardFramebufferEXT");
interface_->DiscardFramebufferEXT(target, numAttachments, attachments);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glDispatchCompute(GLuint numGroupsX,
GLuint numGroupsY,
GLuint numGroupsZ) {
MakeGlMockFunctionUnique("glDispatchCompute");
interface_->DispatchCompute(numGroupsX, numGroupsY, numGroupsZ);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glDispatchComputeIndirect(GLintptr indirect) {
MakeGlMockFunctionUnique("glDispatchComputeIndirect");
interface_->DispatchComputeIndirect(indirect);
}
void GL_BINDING_CALL MockGLInterface::Mock_glDrawArrays(GLenum mode,
GLint first,
GLsizei count) {
MakeGlMockFunctionUnique("glDrawArrays");
interface_->DrawArrays(mode, first, count);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glDrawArraysIndirect(GLenum mode, const void* indirect) {
MakeGlMockFunctionUnique("glDrawArraysIndirect");
interface_->DrawArraysIndirect(mode, indirect);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glDrawArraysInstanced(GLenum mode,
GLint first,
GLsizei count,
GLsizei primcount) {
MakeGlMockFunctionUnique("glDrawArraysInstanced");
interface_->DrawArraysInstancedANGLE(mode, first, count, primcount);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glDrawArraysInstancedANGLE(GLenum mode,
GLint first,
GLsizei count,
GLsizei primcount) {
MakeGlMockFunctionUnique("glDrawArraysInstancedANGLE");
interface_->DrawArraysInstancedANGLE(mode, first, count, primcount);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glDrawArraysInstancedARB(GLenum mode,
GLint first,
GLsizei count,
GLsizei primcount) {
MakeGlMockFunctionUnique("glDrawArraysInstancedARB");
interface_->DrawArraysInstancedANGLE(mode, first, count, primcount);
}
void GL_BINDING_CALL MockGLInterface::Mock_glDrawBuffer(GLenum mode) {
MakeGlMockFunctionUnique("glDrawBuffer");
interface_->DrawBuffer(mode);
}
void GL_BINDING_CALL MockGLInterface::Mock_glDrawBuffers(GLsizei n,
const GLenum* bufs) {
MakeGlMockFunctionUnique("glDrawBuffers");
interface_->DrawBuffersARB(n, bufs);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glDrawBuffersARB(GLsizei n, const GLenum* bufs) {
MakeGlMockFunctionUnique("glDrawBuffersARB");
interface_->DrawBuffersARB(n, bufs);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glDrawBuffersEXT(GLsizei n, const GLenum* bufs) {
MakeGlMockFunctionUnique("glDrawBuffersEXT");
interface_->DrawBuffersARB(n, bufs);
}
void GL_BINDING_CALL MockGLInterface::Mock_glDrawElements(GLenum mode,
GLsizei count,
GLenum type,
const void* indices) {
MakeGlMockFunctionUnique("glDrawElements");
interface_->DrawElements(mode, count, type, indices);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glDrawElementsIndirect(GLenum mode,
GLenum type,
const void* indirect) {
MakeGlMockFunctionUnique("glDrawElementsIndirect");
interface_->DrawElementsIndirect(mode, type, indirect);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glDrawElementsInstanced(GLenum mode,
GLsizei count,
GLenum type,
const void* indices,
GLsizei primcount) {
MakeGlMockFunctionUnique("glDrawElementsInstanced");
interface_->DrawElementsInstancedANGLE(mode, count, type, indices, primcount);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glDrawElementsInstancedANGLE(GLenum mode,
GLsizei count,
GLenum type,
const void* indices,
GLsizei primcount) {
MakeGlMockFunctionUnique("glDrawElementsInstancedANGLE");
interface_->DrawElementsInstancedANGLE(mode, count, type, indices, primcount);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glDrawElementsInstancedARB(GLenum mode,
GLsizei count,
GLenum type,
const void* indices,
GLsizei primcount) {
MakeGlMockFunctionUnique("glDrawElementsInstancedARB");
interface_->DrawElementsInstancedANGLE(mode, count, type, indices, primcount);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glDrawRangeElements(GLenum mode,
GLuint start,
GLuint end,
GLsizei count,
GLenum type,
const void* indices) {
MakeGlMockFunctionUnique("glDrawRangeElements");
interface_->DrawRangeElements(mode, start, end, count, type, indices);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glEGLImageTargetRenderbufferStorageOES(
GLenum target,
GLeglImageOES image) {
MakeGlMockFunctionUnique("glEGLImageTargetRenderbufferStorageOES");
interface_->EGLImageTargetRenderbufferStorageOES(target, image);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glEGLImageTargetTexture2DOES(GLenum target,
GLeglImageOES image) {
MakeGlMockFunctionUnique("glEGLImageTargetTexture2DOES");
interface_->EGLImageTargetTexture2DOES(target, image);
}
void GL_BINDING_CALL MockGLInterface::Mock_glEnable(GLenum cap) {
MakeGlMockFunctionUnique("glEnable");
interface_->Enable(cap);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glEnableVertexAttribArray(GLuint index) {
MakeGlMockFunctionUnique("glEnableVertexAttribArray");
interface_->EnableVertexAttribArray(index);
}
void GL_BINDING_CALL MockGLInterface::Mock_glEndQuery(GLenum target) {
MakeGlMockFunctionUnique("glEndQuery");
interface_->EndQuery(target);
}
void GL_BINDING_CALL MockGLInterface::Mock_glEndQueryARB(GLenum target) {
MakeGlMockFunctionUnique("glEndQueryARB");
interface_->EndQuery(target);
}
void GL_BINDING_CALL MockGLInterface::Mock_glEndQueryEXT(GLenum target) {
MakeGlMockFunctionUnique("glEndQueryEXT");
interface_->EndQuery(target);
}
void GL_BINDING_CALL MockGLInterface::Mock_glEndTransformFeedback(void) {
MakeGlMockFunctionUnique("glEndTransformFeedback");
interface_->EndTransformFeedback();
}
void GL_BINDING_CALL MockGLInterface::Mock_glEndTransformFeedbackEXT(void) {
MakeGlMockFunctionUnique("glEndTransformFeedbackEXT");
interface_->EndTransformFeedback();
}
GLsync GL_BINDING_CALL MockGLInterface::Mock_glFenceSync(GLenum condition,
GLbitfield flags) {
MakeGlMockFunctionUnique("glFenceSync");
return interface_->FenceSync(condition, flags);
}
void GL_BINDING_CALL MockGLInterface::Mock_glFinish(void) {
MakeGlMockFunctionUnique("glFinish");
interface_->Finish();
}
void GL_BINDING_CALL MockGLInterface::Mock_glFinishFenceAPPLE(GLuint fence) {
MakeGlMockFunctionUnique("glFinishFenceAPPLE");
interface_->FinishFenceAPPLE(fence);
}
void GL_BINDING_CALL MockGLInterface::Mock_glFinishFenceNV(GLuint fence) {
MakeGlMockFunctionUnique("glFinishFenceNV");
interface_->FinishFenceNV(fence);
}
void GL_BINDING_CALL MockGLInterface::Mock_glFlush(void) {
MakeGlMockFunctionUnique("glFlush");
interface_->Flush();
}
void GL_BINDING_CALL
MockGLInterface::Mock_glFlushMappedBufferRange(GLenum target,
GLintptr offset,
GLsizeiptr length) {
MakeGlMockFunctionUnique("glFlushMappedBufferRange");
interface_->FlushMappedBufferRange(target, offset, length);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glFlushMappedBufferRangeEXT(GLenum target,
GLintptr offset,
GLsizeiptr length) {
MakeGlMockFunctionUnique("glFlushMappedBufferRangeEXT");
interface_->FlushMappedBufferRange(target, offset, length);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glFramebufferParameteri(GLenum target,
GLenum pname,
GLint param) {
MakeGlMockFunctionUnique("glFramebufferParameteri");
interface_->FramebufferParameteri(target, pname, param);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glFramebufferRenderbuffer(GLenum target,
GLenum attachment,
GLenum renderbuffertarget,
GLuint renderbuffer) {
MakeGlMockFunctionUnique("glFramebufferRenderbuffer");
interface_->FramebufferRenderbufferEXT(target, attachment, renderbuffertarget,
renderbuffer);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glFramebufferRenderbufferEXT(GLenum target,
GLenum attachment,
GLenum renderbuffertarget,
GLuint renderbuffer) {
MakeGlMockFunctionUnique("glFramebufferRenderbufferEXT");
interface_->FramebufferRenderbufferEXT(target, attachment, renderbuffertarget,
renderbuffer);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glFramebufferTexture2D(GLenum target,
GLenum attachment,
GLenum textarget,
GLuint texture,
GLint level) {
MakeGlMockFunctionUnique("glFramebufferTexture2D");
interface_->FramebufferTexture2DEXT(target, attachment, textarget, texture,
level);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glFramebufferTexture2DEXT(GLenum target,
GLenum attachment,
GLenum textarget,
GLuint texture,
GLint level) {
MakeGlMockFunctionUnique("glFramebufferTexture2DEXT");
interface_->FramebufferTexture2DEXT(target, attachment, textarget, texture,
level);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glFramebufferTexture2DMultisampleEXT(GLenum target,
GLenum attachment,
GLenum textarget,
GLuint texture,
GLint level,
GLsizei samples) {
MakeGlMockFunctionUnique("glFramebufferTexture2DMultisampleEXT");
interface_->FramebufferTexture2DMultisampleEXT(target, attachment, textarget,
texture, level, samples);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glFramebufferTexture2DMultisampleIMG(GLenum target,
GLenum attachment,
GLenum textarget,
GLuint texture,
GLint level,
GLsizei samples) {
MakeGlMockFunctionUnique("glFramebufferTexture2DMultisampleIMG");
interface_->FramebufferTexture2DMultisampleEXT(target, attachment, textarget,
texture, level, samples);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glFramebufferTextureLayer(GLenum target,
GLenum attachment,
GLuint texture,
GLint level,
GLint layer) {
MakeGlMockFunctionUnique("glFramebufferTextureLayer");
interface_->FramebufferTextureLayer(target, attachment, texture, level,
layer);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glFramebufferTextureMultiviewLayeredANGLE(
GLenum target,
GLenum attachment,
GLuint texture,
GLint level,
GLint baseViewIndex,
GLsizei numViews) {
MakeGlMockFunctionUnique("glFramebufferTextureMultiviewLayeredANGLE");
interface_->FramebufferTextureMultiviewLayeredANGLE(
target, attachment, texture, level, baseViewIndex, numViews);
}
void GL_BINDING_CALL MockGLInterface::Mock_glFrontFace(GLenum mode) {
MakeGlMockFunctionUnique("glFrontFace");
interface_->FrontFace(mode);
}
void GL_BINDING_CALL MockGLInterface::Mock_glGenBuffers(GLsizei n,
GLuint* buffers) {
MakeGlMockFunctionUnique("glGenBuffers");
interface_->GenBuffersARB(n, buffers);
}
void GL_BINDING_CALL MockGLInterface::Mock_glGenFencesAPPLE(GLsizei n,
GLuint* fences) {
MakeGlMockFunctionUnique("glGenFencesAPPLE");
interface_->GenFencesAPPLE(n, fences);
}
void GL_BINDING_CALL MockGLInterface::Mock_glGenFencesNV(GLsizei n,
GLuint* fences) {
MakeGlMockFunctionUnique("glGenFencesNV");
interface_->GenFencesNV(n, fences);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGenFramebuffers(GLsizei n, GLuint* framebuffers) {
MakeGlMockFunctionUnique("glGenFramebuffers");
interface_->GenFramebuffersEXT(n, framebuffers);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGenFramebuffersEXT(GLsizei n, GLuint* framebuffers) {
MakeGlMockFunctionUnique("glGenFramebuffersEXT");
interface_->GenFramebuffersEXT(n, framebuffers);
}
GLuint GL_BINDING_CALL MockGLInterface::Mock_glGenPathsCHROMIUM(GLsizei range) {
MakeGlMockFunctionUnique("glGenPathsCHROMIUM");
return interface_->GenPathsNV(range);
}
GLuint GL_BINDING_CALL MockGLInterface::Mock_glGenPathsNV(GLsizei range) {
MakeGlMockFunctionUnique("glGenPathsNV");
return interface_->GenPathsNV(range);
}
GLuint GL_BINDING_CALL
MockGLInterface::Mock_glGenProgramPipelines(GLsizei n, GLuint* pipelines) {
MakeGlMockFunctionUnique("glGenProgramPipelines");
return interface_->GenProgramPipelines(n, pipelines);
}
void GL_BINDING_CALL MockGLInterface::Mock_glGenQueries(GLsizei n,
GLuint* ids) {
MakeGlMockFunctionUnique("glGenQueries");
interface_->GenQueries(n, ids);
}
void GL_BINDING_CALL MockGLInterface::Mock_glGenQueriesARB(GLsizei n,
GLuint* ids) {
MakeGlMockFunctionUnique("glGenQueriesARB");
interface_->GenQueries(n, ids);
}
void GL_BINDING_CALL MockGLInterface::Mock_glGenQueriesEXT(GLsizei n,
GLuint* ids) {
MakeGlMockFunctionUnique("glGenQueriesEXT");
interface_->GenQueries(n, ids);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGenRenderbuffers(GLsizei n, GLuint* renderbuffers) {
MakeGlMockFunctionUnique("glGenRenderbuffers");
interface_->GenRenderbuffersEXT(n, renderbuffers);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGenRenderbuffersEXT(GLsizei n, GLuint* renderbuffers) {
MakeGlMockFunctionUnique("glGenRenderbuffersEXT");
interface_->GenRenderbuffersEXT(n, renderbuffers);
}
void GL_BINDING_CALL MockGLInterface::Mock_glGenSamplers(GLsizei n,
GLuint* samplers) {
MakeGlMockFunctionUnique("glGenSamplers");
interface_->GenSamplers(n, samplers);
}
void GL_BINDING_CALL MockGLInterface::Mock_glGenTextures(GLsizei n,
GLuint* textures) {
MakeGlMockFunctionUnique("glGenTextures");
interface_->GenTextures(n, textures);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGenTransformFeedbacks(GLsizei n, GLuint* ids) {
MakeGlMockFunctionUnique("glGenTransformFeedbacks");
interface_->GenTransformFeedbacks(n, ids);
}
void GL_BINDING_CALL MockGLInterface::Mock_glGenVertexArrays(GLsizei n,
GLuint* arrays) {
MakeGlMockFunctionUnique("glGenVertexArrays");
interface_->GenVertexArraysOES(n, arrays);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGenVertexArraysAPPLE(GLsizei n, GLuint* arrays) {
MakeGlMockFunctionUnique("glGenVertexArraysAPPLE");
interface_->GenVertexArraysOES(n, arrays);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGenVertexArraysOES(GLsizei n, GLuint* arrays) {
MakeGlMockFunctionUnique("glGenVertexArraysOES");
interface_->GenVertexArraysOES(n, arrays);
}
void GL_BINDING_CALL MockGLInterface::Mock_glGenerateMipmap(GLenum target) {
MakeGlMockFunctionUnique("glGenerateMipmap");
interface_->GenerateMipmapEXT(target);
}
void GL_BINDING_CALL MockGLInterface::Mock_glGenerateMipmapEXT(GLenum target) {
MakeGlMockFunctionUnique("glGenerateMipmapEXT");
interface_->GenerateMipmapEXT(target);
}
void GL_BINDING_CALL MockGLInterface::Mock_glGetActiveAttrib(GLuint program,
GLuint index,
GLsizei bufsize,
GLsizei* length,
GLint* size,
GLenum* type,
char* name) {
MakeGlMockFunctionUnique("glGetActiveAttrib");
interface_->GetActiveAttrib(program, index, bufsize, length, size, type,
name);
}
void GL_BINDING_CALL MockGLInterface::Mock_glGetActiveUniform(GLuint program,
GLuint index,
GLsizei bufsize,
GLsizei* length,
GLint* size,
GLenum* type,
char* name) {
MakeGlMockFunctionUnique("glGetActiveUniform");
interface_->GetActiveUniform(program, index, bufsize, length, size, type,
name);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetActiveUniformBlockName(GLuint program,
GLuint uniformBlockIndex,
GLsizei bufSize,
GLsizei* length,
char* uniformBlockName) {
MakeGlMockFunctionUnique("glGetActiveUniformBlockName");
interface_->GetActiveUniformBlockName(program, uniformBlockIndex, bufSize,
length, uniformBlockName);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetActiveUniformBlockiv(GLuint program,
GLuint uniformBlockIndex,
GLenum pname,
GLint* params) {
MakeGlMockFunctionUnique("glGetActiveUniformBlockiv");
interface_->GetActiveUniformBlockiv(program, uniformBlockIndex, pname,
params);
}
void GL_BINDING_CALL MockGLInterface::Mock_glGetActiveUniformBlockivRobustANGLE(
GLuint program,
GLuint uniformBlockIndex,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLint* params) {
MakeGlMockFunctionUnique("glGetActiveUniformBlockivRobustANGLE");
interface_->GetActiveUniformBlockivRobustANGLE(
program, uniformBlockIndex, pname, bufSize, length, params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetActiveUniformsiv(GLuint program,
GLsizei uniformCount,
const GLuint* uniformIndices,
GLenum pname,
GLint* params) {
MakeGlMockFunctionUnique("glGetActiveUniformsiv");
interface_->GetActiveUniformsiv(program, uniformCount, uniformIndices, pname,
params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetAttachedShaders(GLuint program,
GLsizei maxcount,
GLsizei* count,
GLuint* shaders) {
MakeGlMockFunctionUnique("glGetAttachedShaders");
interface_->GetAttachedShaders(program, maxcount, count, shaders);
}
GLint GL_BINDING_CALL
MockGLInterface::Mock_glGetAttribLocation(GLuint program, const char* name) {
MakeGlMockFunctionUnique("glGetAttribLocation");
return interface_->GetAttribLocation(program, name);
}
void GL_BINDING_CALL MockGLInterface::Mock_glGetBooleani_v(GLenum target,
GLuint index,
GLboolean* data) {
MakeGlMockFunctionUnique("glGetBooleani_v");
interface_->GetBooleani_v(target, index, data);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetBooleani_vRobustANGLE(GLenum target,
GLuint index,
GLsizei bufSize,
GLsizei* length,
GLboolean* data) {
MakeGlMockFunctionUnique("glGetBooleani_vRobustANGLE");
interface_->GetBooleani_vRobustANGLE(target, index, bufSize, length, data);
}
void GL_BINDING_CALL MockGLInterface::Mock_glGetBooleanv(GLenum pname,
GLboolean* params) {
MakeGlMockFunctionUnique("glGetBooleanv");
interface_->GetBooleanv(pname, params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetBooleanvRobustANGLE(GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLboolean* data) {
MakeGlMockFunctionUnique("glGetBooleanvRobustANGLE");
interface_->GetBooleanvRobustANGLE(pname, bufSize, length, data);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetBufferParameteri64vRobustANGLE(GLenum target,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLint64* params) {
MakeGlMockFunctionUnique("glGetBufferParameteri64vRobustANGLE");
interface_->GetBufferParameteri64vRobustANGLE(target, pname, bufSize, length,
params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetBufferParameteriv(GLenum target,
GLenum pname,
GLint* params) {
MakeGlMockFunctionUnique("glGetBufferParameteriv");
interface_->GetBufferParameteriv(target, pname, params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetBufferParameterivRobustANGLE(GLenum target,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLint* params) {
MakeGlMockFunctionUnique("glGetBufferParameterivRobustANGLE");
interface_->GetBufferParameterivRobustANGLE(target, pname, bufSize, length,
params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetBufferPointervRobustANGLE(GLenum target,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
void** params) {
MakeGlMockFunctionUnique("glGetBufferPointervRobustANGLE");
interface_->GetBufferPointervRobustANGLE(target, pname, bufSize, length,
params);
}
GLuint GL_BINDING_CALL
MockGLInterface::Mock_glGetDebugMessageLog(GLuint count,
GLsizei bufSize,
GLenum* sources,
GLenum* types,
GLuint* ids,
GLenum* severities,
GLsizei* lengths,
char* messageLog) {
MakeGlMockFunctionUnique("glGetDebugMessageLog");
return interface_->GetDebugMessageLog(count, bufSize, sources, types, ids,
severities, lengths, messageLog);
}
GLuint GL_BINDING_CALL
MockGLInterface::Mock_glGetDebugMessageLogKHR(GLuint count,
GLsizei bufSize,
GLenum* sources,
GLenum* types,
GLuint* ids,
GLenum* severities,
GLsizei* lengths,
char* messageLog) {
MakeGlMockFunctionUnique("glGetDebugMessageLogKHR");
return interface_->GetDebugMessageLog(count, bufSize, sources, types, ids,
severities, lengths, messageLog);
}
GLenum GL_BINDING_CALL MockGLInterface::Mock_glGetError(void) {
MakeGlMockFunctionUnique("glGetError");
return interface_->GetError();
}
void GL_BINDING_CALL MockGLInterface::Mock_glGetFenceivNV(GLuint fence,
GLenum pname,
GLint* params) {
MakeGlMockFunctionUnique("glGetFenceivNV");
interface_->GetFenceivNV(fence, pname, params);
}
void GL_BINDING_CALL MockGLInterface::Mock_glGetFloatv(GLenum pname,
GLfloat* params) {
MakeGlMockFunctionUnique("glGetFloatv");
interface_->GetFloatv(pname, params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetFloatvRobustANGLE(GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLfloat* data) {
MakeGlMockFunctionUnique("glGetFloatvRobustANGLE");
interface_->GetFloatvRobustANGLE(pname, bufSize, length, data);
}
GLint GL_BINDING_CALL
MockGLInterface::Mock_glGetFragDataIndex(GLuint program, const char* name) {
MakeGlMockFunctionUnique("glGetFragDataIndex");
return interface_->GetFragDataIndex(program, name);
}
GLint GL_BINDING_CALL
MockGLInterface::Mock_glGetFragDataIndexEXT(GLuint program, const char* name) {
MakeGlMockFunctionUnique("glGetFragDataIndexEXT");
return interface_->GetFragDataIndex(program, name);
}
GLint GL_BINDING_CALL
MockGLInterface::Mock_glGetFragDataLocation(GLuint program, const char* name) {
MakeGlMockFunctionUnique("glGetFragDataLocation");
return interface_->GetFragDataLocation(program, name);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetFramebufferAttachmentParameteriv(GLenum target,
GLenum attachment,
GLenum pname,
GLint* params) {
MakeGlMockFunctionUnique("glGetFramebufferAttachmentParameteriv");
interface_->GetFramebufferAttachmentParameterivEXT(target, attachment, pname,
params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetFramebufferAttachmentParameterivEXT(
GLenum target,
GLenum attachment,
GLenum pname,
GLint* params) {
MakeGlMockFunctionUnique("glGetFramebufferAttachmentParameterivEXT");
interface_->GetFramebufferAttachmentParameterivEXT(target, attachment, pname,
params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetFramebufferAttachmentParameterivRobustANGLE(
GLenum target,
GLenum attachment,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLint* params) {
MakeGlMockFunctionUnique("glGetFramebufferAttachmentParameterivRobustANGLE");
interface_->GetFramebufferAttachmentParameterivRobustANGLE(
target, attachment, pname, bufSize, length, params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetFramebufferParameteriv(GLenum target,
GLenum pname,
GLint* params) {
MakeGlMockFunctionUnique("glGetFramebufferParameteriv");
interface_->GetFramebufferParameteriv(target, pname, params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetFramebufferParameterivRobustANGLE(GLenum target,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLint* params) {
MakeGlMockFunctionUnique("glGetFramebufferParameterivRobustANGLE");
interface_->GetFramebufferParameterivRobustANGLE(target, pname, bufSize,
length, params);
}
GLenum GL_BINDING_CALL MockGLInterface::Mock_glGetGraphicsResetStatus(void) {
MakeGlMockFunctionUnique("glGetGraphicsResetStatus");
return interface_->GetGraphicsResetStatusARB();
}
GLenum GL_BINDING_CALL MockGLInterface::Mock_glGetGraphicsResetStatusARB(void) {
MakeGlMockFunctionUnique("glGetGraphicsResetStatusARB");
return interface_->GetGraphicsResetStatusARB();
}
GLenum GL_BINDING_CALL MockGLInterface::Mock_glGetGraphicsResetStatusEXT(void) {
MakeGlMockFunctionUnique("glGetGraphicsResetStatusEXT");
return interface_->GetGraphicsResetStatusARB();
}
GLenum GL_BINDING_CALL MockGLInterface::Mock_glGetGraphicsResetStatusKHR(void) {
MakeGlMockFunctionUnique("glGetGraphicsResetStatusKHR");
return interface_->GetGraphicsResetStatusARB();
}
void GL_BINDING_CALL MockGLInterface::Mock_glGetInteger64i_v(GLenum target,
GLuint index,
GLint64* data) {
MakeGlMockFunctionUnique("glGetInteger64i_v");
interface_->GetInteger64i_v(target, index, data);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetInteger64i_vRobustANGLE(GLenum target,
GLuint index,
GLsizei bufSize,
GLsizei* length,
GLint64* data) {
MakeGlMockFunctionUnique("glGetInteger64i_vRobustANGLE");
interface_->GetInteger64i_vRobustANGLE(target, index, bufSize, length, data);
}
void GL_BINDING_CALL MockGLInterface::Mock_glGetInteger64v(GLenum pname,
GLint64* params) {
MakeGlMockFunctionUnique("glGetInteger64v");
interface_->GetInteger64v(pname, params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetInteger64vRobustANGLE(GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLint64* data) {
MakeGlMockFunctionUnique("glGetInteger64vRobustANGLE");
interface_->GetInteger64vRobustANGLE(pname, bufSize, length, data);
}
void GL_BINDING_CALL MockGLInterface::Mock_glGetIntegeri_v(GLenum target,
GLuint index,
GLint* data) {
MakeGlMockFunctionUnique("glGetIntegeri_v");
interface_->GetIntegeri_v(target, index, data);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetIntegeri_vRobustANGLE(GLenum target,
GLuint index,
GLsizei bufSize,
GLsizei* length,
GLint* data) {
MakeGlMockFunctionUnique("glGetIntegeri_vRobustANGLE");
interface_->GetIntegeri_vRobustANGLE(target, index, bufSize, length, data);
}
void GL_BINDING_CALL MockGLInterface::Mock_glGetIntegerv(GLenum pname,
GLint* params) {
MakeGlMockFunctionUnique("glGetIntegerv");
interface_->GetIntegerv(pname, params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetIntegervRobustANGLE(GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLint* data) {
MakeGlMockFunctionUnique("glGetIntegervRobustANGLE");
interface_->GetIntegervRobustANGLE(pname, bufSize, length, data);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetInternalformativ(GLenum target,
GLenum internalformat,
GLenum pname,
GLsizei bufSize,
GLint* params) {
MakeGlMockFunctionUnique("glGetInternalformativ");
interface_->GetInternalformativ(target, internalformat, pname, bufSize,
params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetInternalformativRobustANGLE(GLenum target,
GLenum internalformat,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLint* params) {
MakeGlMockFunctionUnique("glGetInternalformativRobustANGLE");
interface_->GetInternalformativRobustANGLE(target, internalformat, pname,
bufSize, length, params);
}
void GL_BINDING_CALL MockGLInterface::Mock_glGetMultisamplefv(GLenum pname,
GLuint index,
GLfloat* val) {
MakeGlMockFunctionUnique("glGetMultisamplefv");
interface_->GetMultisamplefv(pname, index, val);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetMultisamplefvRobustANGLE(GLenum pname,
GLuint index,
GLsizei bufSize,
GLsizei* length,
GLfloat* val) {
MakeGlMockFunctionUnique("glGetMultisamplefvRobustANGLE");
interface_->GetMultisamplefvRobustANGLE(pname, index, bufSize, length, val);
}
void GL_BINDING_CALL MockGLInterface::Mock_glGetObjectLabel(GLenum identifier,
GLuint name,
GLsizei bufSize,
GLsizei* length,
char* label) {
MakeGlMockFunctionUnique("glGetObjectLabel");
interface_->GetObjectLabel(identifier, name, bufSize, length, label);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetObjectLabelKHR(GLenum identifier,
GLuint name,
GLsizei bufSize,
GLsizei* length,
char* label) {
MakeGlMockFunctionUnique("glGetObjectLabelKHR");
interface_->GetObjectLabel(identifier, name, bufSize, length, label);
}
void GL_BINDING_CALL MockGLInterface::Mock_glGetObjectPtrLabel(void* ptr,
GLsizei bufSize,
GLsizei* length,
char* label) {
MakeGlMockFunctionUnique("glGetObjectPtrLabel");
interface_->GetObjectPtrLabel(ptr, bufSize, length, label);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetObjectPtrLabelKHR(void* ptr,
GLsizei bufSize,
GLsizei* length,
char* label) {
MakeGlMockFunctionUnique("glGetObjectPtrLabelKHR");
interface_->GetObjectPtrLabel(ptr, bufSize, length, label);
}
void GL_BINDING_CALL MockGLInterface::Mock_glGetPointerv(GLenum pname,
void** params) {
MakeGlMockFunctionUnique("glGetPointerv");
interface_->GetPointerv(pname, params);
}
void GL_BINDING_CALL MockGLInterface::Mock_glGetPointervKHR(GLenum pname,
void** params) {
MakeGlMockFunctionUnique("glGetPointervKHR");
interface_->GetPointerv(pname, params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetPointervRobustANGLERobustANGLE(GLenum pname,
GLsizei bufSize,
GLsizei* length,
void** params) {
MakeGlMockFunctionUnique("glGetPointervRobustANGLERobustANGLE");
interface_->GetPointervRobustANGLERobustANGLE(pname, bufSize, length, params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetProgramBinary(GLuint program,
GLsizei bufSize,
GLsizei* length,
GLenum* binaryFormat,
GLvoid* binary) {
MakeGlMockFunctionUnique("glGetProgramBinary");
interface_->GetProgramBinary(program, bufSize, length, binaryFormat, binary);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetProgramBinaryOES(GLuint program,
GLsizei bufSize,
GLsizei* length,
GLenum* binaryFormat,
GLvoid* binary) {
MakeGlMockFunctionUnique("glGetProgramBinaryOES");
interface_->GetProgramBinary(program, bufSize, length, binaryFormat, binary);
}
void GL_BINDING_CALL MockGLInterface::Mock_glGetProgramInfoLog(GLuint program,
GLsizei bufsize,
GLsizei* length,
char* infolog) {
MakeGlMockFunctionUnique("glGetProgramInfoLog");
interface_->GetProgramInfoLog(program, bufsize, length, infolog);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetProgramInterfaceiv(GLuint program,
GLenum programInterface,
GLenum pname,
GLint* params) {
MakeGlMockFunctionUnique("glGetProgramInterfaceiv");
interface_->GetProgramInterfaceiv(program, programInterface, pname, params);
}
void GL_BINDING_CALL MockGLInterface::Mock_glGetProgramInterfaceivRobustANGLE(
GLuint program,
GLenum programInterface,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLint* params) {
MakeGlMockFunctionUnique("glGetProgramInterfaceivRobustANGLE");
interface_->GetProgramInterfaceivRobustANGLE(program, programInterface, pname,
bufSize, length, params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetProgramPipelineInfoLog(GLuint pipeline,
GLsizei bufSize,
GLsizei* length,
GLchar* infoLog) {
MakeGlMockFunctionUnique("glGetProgramPipelineInfoLog");
interface_->GetProgramPipelineInfoLog(pipeline, bufSize, length, infoLog);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetProgramPipelineiv(GLuint pipeline,
GLenum pname,
GLint* params) {
MakeGlMockFunctionUnique("glGetProgramPipelineiv");
interface_->GetProgramPipelineiv(pipeline, pname, params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetProgramResourceIndex(GLuint program,
GLenum programInterface,
const GLchar* name) {
MakeGlMockFunctionUnique("glGetProgramResourceIndex");
interface_->GetProgramResourceIndex(program, programInterface, name);
}
GLint GL_BINDING_CALL
MockGLInterface::Mock_glGetProgramResourceLocation(GLuint program,
GLenum programInterface,
const char* name) {
MakeGlMockFunctionUnique("glGetProgramResourceLocation");
return interface_->GetProgramResourceLocation(program, programInterface,
name);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetProgramResourceName(GLuint program,
GLenum programInterface,
GLuint index,
GLsizei bufSize,
GLsizei* length,
GLchar* name) {
MakeGlMockFunctionUnique("glGetProgramResourceName");
interface_->GetProgramResourceName(program, programInterface, index, bufSize,
length, name);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetProgramResourceiv(GLuint program,
GLenum programInterface,
GLuint index,
GLsizei propCount,
const GLenum* props,
GLsizei bufSize,
GLsizei* length,
GLint* params) {
MakeGlMockFunctionUnique("glGetProgramResourceiv");
interface_->GetProgramResourceiv(program, programInterface, index, propCount,
props, bufSize, length, params);
}
void GL_BINDING_CALL MockGLInterface::Mock_glGetProgramiv(GLuint program,
GLenum pname,
GLint* params) {
MakeGlMockFunctionUnique("glGetProgramiv");
interface_->GetProgramiv(program, pname, params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetProgramivRobustANGLE(GLuint program,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLint* params) {
MakeGlMockFunctionUnique("glGetProgramivRobustANGLE");
interface_->GetProgramivRobustANGLE(program, pname, bufSize, length, params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetQueryObjecti64v(GLuint id,
GLenum pname,
GLint64* params) {
MakeGlMockFunctionUnique("glGetQueryObjecti64v");
interface_->GetQueryObjecti64v(id, pname, params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetQueryObjecti64vEXT(GLuint id,
GLenum pname,
GLint64* params) {
MakeGlMockFunctionUnique("glGetQueryObjecti64vEXT");
interface_->GetQueryObjecti64v(id, pname, params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetQueryObjecti64vRobustANGLE(GLuint id,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLint64* params) {
MakeGlMockFunctionUnique("glGetQueryObjecti64vRobustANGLE");
interface_->GetQueryObjecti64vRobustANGLE(id, pname, bufSize, length, params);
}
void GL_BINDING_CALL MockGLInterface::Mock_glGetQueryObjectiv(GLuint id,
GLenum pname,
GLint* params) {
MakeGlMockFunctionUnique("glGetQueryObjectiv");
interface_->GetQueryObjectiv(id, pname, params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetQueryObjectivARB(GLuint id,
GLenum pname,
GLint* params) {
MakeGlMockFunctionUnique("glGetQueryObjectivARB");
interface_->GetQueryObjectiv(id, pname, params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetQueryObjectivEXT(GLuint id,
GLenum pname,
GLint* params) {
MakeGlMockFunctionUnique("glGetQueryObjectivEXT");
interface_->GetQueryObjectiv(id, pname, params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetQueryObjectivRobustANGLE(GLuint id,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLint* params) {
MakeGlMockFunctionUnique("glGetQueryObjectivRobustANGLE");
interface_->GetQueryObjectivRobustANGLE(id, pname, bufSize, length, params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetQueryObjectui64v(GLuint id,
GLenum pname,
GLuint64* params) {
MakeGlMockFunctionUnique("glGetQueryObjectui64v");
interface_->GetQueryObjectui64v(id, pname, params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetQueryObjectui64vEXT(GLuint id,
GLenum pname,
GLuint64* params) {
MakeGlMockFunctionUnique("glGetQueryObjectui64vEXT");
interface_->GetQueryObjectui64v(id, pname, params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetQueryObjectui64vRobustANGLE(GLuint id,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLuint64* params) {
MakeGlMockFunctionUnique("glGetQueryObjectui64vRobustANGLE");
interface_->GetQueryObjectui64vRobustANGLE(id, pname, bufSize, length,
params);
}
void GL_BINDING_CALL MockGLInterface::Mock_glGetQueryObjectuiv(GLuint id,
GLenum pname,
GLuint* params) {
MakeGlMockFunctionUnique("glGetQueryObjectuiv");
interface_->GetQueryObjectuiv(id, pname, params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetQueryObjectuivARB(GLuint id,
GLenum pname,
GLuint* params) {
MakeGlMockFunctionUnique("glGetQueryObjectuivARB");
interface_->GetQueryObjectuiv(id, pname, params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetQueryObjectuivEXT(GLuint id,
GLenum pname,
GLuint* params) {
MakeGlMockFunctionUnique("glGetQueryObjectuivEXT");
interface_->GetQueryObjectuiv(id, pname, params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetQueryObjectuivRobustANGLE(GLuint id,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLuint* params) {
MakeGlMockFunctionUnique("glGetQueryObjectuivRobustANGLE");
interface_->GetQueryObjectuivRobustANGLE(id, pname, bufSize, length, params);
}
void GL_BINDING_CALL MockGLInterface::Mock_glGetQueryiv(GLenum target,
GLenum pname,
GLint* params) {
MakeGlMockFunctionUnique("glGetQueryiv");
interface_->GetQueryiv(target, pname, params);
}
void GL_BINDING_CALL MockGLInterface::Mock_glGetQueryivARB(GLenum target,
GLenum pname,
GLint* params) {
MakeGlMockFunctionUnique("glGetQueryivARB");
interface_->GetQueryiv(target, pname, params);
}
void GL_BINDING_CALL MockGLInterface::Mock_glGetQueryivEXT(GLenum target,
GLenum pname,
GLint* params) {
MakeGlMockFunctionUnique("glGetQueryivEXT");
interface_->GetQueryiv(target, pname, params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetQueryivRobustANGLE(GLenum target,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLint* params) {
MakeGlMockFunctionUnique("glGetQueryivRobustANGLE");
interface_->GetQueryivRobustANGLE(target, pname, bufSize, length, params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetRenderbufferParameteriv(GLenum target,
GLenum pname,
GLint* params) {
MakeGlMockFunctionUnique("glGetRenderbufferParameteriv");
interface_->GetRenderbufferParameterivEXT(target, pname, params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetRenderbufferParameterivEXT(GLenum target,
GLenum pname,
GLint* params) {
MakeGlMockFunctionUnique("glGetRenderbufferParameterivEXT");
interface_->GetRenderbufferParameterivEXT(target, pname, params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetRenderbufferParameterivRobustANGLE(GLenum target,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLint* params) {
MakeGlMockFunctionUnique("glGetRenderbufferParameterivRobustANGLE");
interface_->GetRenderbufferParameterivRobustANGLE(target, pname, bufSize,
length, params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetSamplerParameterIivRobustANGLE(GLuint sampler,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLint* params) {
MakeGlMockFunctionUnique("glGetSamplerParameterIivRobustANGLE");
interface_->GetSamplerParameterIivRobustANGLE(sampler, pname, bufSize, length,
params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetSamplerParameterIuivRobustANGLE(GLuint sampler,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLuint* params) {
MakeGlMockFunctionUnique("glGetSamplerParameterIuivRobustANGLE");
interface_->GetSamplerParameterIuivRobustANGLE(sampler, pname, bufSize,
length, params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetSamplerParameterfv(GLuint sampler,
GLenum pname,
GLfloat* params) {
MakeGlMockFunctionUnique("glGetSamplerParameterfv");
interface_->GetSamplerParameterfv(sampler, pname, params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetSamplerParameterfvRobustANGLE(GLuint sampler,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLfloat* params) {
MakeGlMockFunctionUnique("glGetSamplerParameterfvRobustANGLE");
interface_->GetSamplerParameterfvRobustANGLE(sampler, pname, bufSize, length,
params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetSamplerParameteriv(GLuint sampler,
GLenum pname,
GLint* params) {
MakeGlMockFunctionUnique("glGetSamplerParameteriv");
interface_->GetSamplerParameteriv(sampler, pname, params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetSamplerParameterivRobustANGLE(GLuint sampler,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLint* params) {
MakeGlMockFunctionUnique("glGetSamplerParameterivRobustANGLE");
interface_->GetSamplerParameterivRobustANGLE(sampler, pname, bufSize, length,
params);
}
void GL_BINDING_CALL MockGLInterface::Mock_glGetShaderInfoLog(GLuint shader,
GLsizei bufsize,
GLsizei* length,
char* infolog) {
MakeGlMockFunctionUnique("glGetShaderInfoLog");
interface_->GetShaderInfoLog(shader, bufsize, length, infolog);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetShaderPrecisionFormat(GLenum shadertype,
GLenum precisiontype,
GLint* range,
GLint* precision) {
MakeGlMockFunctionUnique("glGetShaderPrecisionFormat");
interface_->GetShaderPrecisionFormat(shadertype, precisiontype, range,
precision);
}
void GL_BINDING_CALL MockGLInterface::Mock_glGetShaderSource(GLuint shader,
GLsizei bufsize,
GLsizei* length,
char* source) {
MakeGlMockFunctionUnique("glGetShaderSource");
interface_->GetShaderSource(shader, bufsize, length, source);
}
void GL_BINDING_CALL MockGLInterface::Mock_glGetShaderiv(GLuint shader,
GLenum pname,
GLint* params) {
MakeGlMockFunctionUnique("glGetShaderiv");
interface_->GetShaderiv(shader, pname, params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetShaderivRobustANGLE(GLuint shader,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLint* params) {
MakeGlMockFunctionUnique("glGetShaderivRobustANGLE");
interface_->GetShaderivRobustANGLE(shader, pname, bufSize, length, params);
}
const GLubyte* GL_BINDING_CALL MockGLInterface::Mock_glGetString(GLenum name) {
MakeGlMockFunctionUnique("glGetString");
return interface_->GetString(name);
}
const GLubyte* GL_BINDING_CALL
MockGLInterface::Mock_glGetStringi(GLenum name, GLuint index) {
MakeGlMockFunctionUnique("glGetStringi");
return interface_->GetStringi(name, index);
}
void GL_BINDING_CALL MockGLInterface::Mock_glGetSynciv(GLsync sync,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLint* values) {
MakeGlMockFunctionUnique("glGetSynciv");
interface_->GetSynciv(sync, pname, bufSize, length, values);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetTexLevelParameterfv(GLenum target,
GLint level,
GLenum pname,
GLfloat* params) {
MakeGlMockFunctionUnique("glGetTexLevelParameterfv");
interface_->GetTexLevelParameterfv(target, level, pname, params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetTexLevelParameterfvRobustANGLE(GLenum target,
GLint level,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLfloat* params) {
MakeGlMockFunctionUnique("glGetTexLevelParameterfvRobustANGLE");
interface_->GetTexLevelParameterfvRobustANGLE(target, level, pname, bufSize,
length, params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetTexLevelParameteriv(GLenum target,
GLint level,
GLenum pname,
GLint* params) {
MakeGlMockFunctionUnique("glGetTexLevelParameteriv");
interface_->GetTexLevelParameteriv(target, level, pname, params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetTexLevelParameterivRobustANGLE(GLenum target,
GLint level,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLint* params) {
MakeGlMockFunctionUnique("glGetTexLevelParameterivRobustANGLE");
interface_->GetTexLevelParameterivRobustANGLE(target, level, pname, bufSize,
length, params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetTexParameterIivRobustANGLE(GLenum target,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLint* params) {
MakeGlMockFunctionUnique("glGetTexParameterIivRobustANGLE");
interface_->GetTexParameterIivRobustANGLE(target, pname, bufSize, length,
params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetTexParameterIuivRobustANGLE(GLenum target,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLuint* params) {
MakeGlMockFunctionUnique("glGetTexParameterIuivRobustANGLE");
interface_->GetTexParameterIuivRobustANGLE(target, pname, bufSize, length,
params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetTexParameterfv(GLenum target,
GLenum pname,
GLfloat* params) {
MakeGlMockFunctionUnique("glGetTexParameterfv");
interface_->GetTexParameterfv(target, pname, params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetTexParameterfvRobustANGLE(GLenum target,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLfloat* params) {
MakeGlMockFunctionUnique("glGetTexParameterfvRobustANGLE");
interface_->GetTexParameterfvRobustANGLE(target, pname, bufSize, length,
params);
}
void GL_BINDING_CALL MockGLInterface::Mock_glGetTexParameteriv(GLenum target,
GLenum pname,
GLint* params) {
MakeGlMockFunctionUnique("glGetTexParameteriv");
interface_->GetTexParameteriv(target, pname, params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetTexParameterivRobustANGLE(GLenum target,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLint* params) {
MakeGlMockFunctionUnique("glGetTexParameterivRobustANGLE");
interface_->GetTexParameterivRobustANGLE(target, pname, bufSize, length,
params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetTransformFeedbackVarying(GLuint program,
GLuint index,
GLsizei bufSize,
GLsizei* length,
GLsizei* size,
GLenum* type,
char* name) {
MakeGlMockFunctionUnique("glGetTransformFeedbackVarying");
interface_->GetTransformFeedbackVarying(program, index, bufSize, length, size,
type, name);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetTransformFeedbackVaryingEXT(GLuint program,
GLuint index,
GLsizei bufSize,
GLsizei* length,
GLsizei* size,
GLenum* type,
char* name) {
MakeGlMockFunctionUnique("glGetTransformFeedbackVaryingEXT");
interface_->GetTransformFeedbackVarying(program, index, bufSize, length, size,
type, name);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetTranslatedShaderSourceANGLE(GLuint shader,
GLsizei bufsize,
GLsizei* length,
char* source) {
MakeGlMockFunctionUnique("glGetTranslatedShaderSourceANGLE");
interface_->GetTranslatedShaderSourceANGLE(shader, bufsize, length, source);
}
GLuint GL_BINDING_CALL
MockGLInterface::Mock_glGetUniformBlockIndex(GLuint program,
const char* uniformBlockName) {
MakeGlMockFunctionUnique("glGetUniformBlockIndex");
return interface_->GetUniformBlockIndex(program, uniformBlockName);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetUniformIndices(GLuint program,
GLsizei uniformCount,
const char* const* uniformNames,
GLuint* uniformIndices) {
MakeGlMockFunctionUnique("glGetUniformIndices");
interface_->GetUniformIndices(program, uniformCount, uniformNames,
uniformIndices);
}
GLint GL_BINDING_CALL
MockGLInterface::Mock_glGetUniformLocation(GLuint program, const char* name) {
MakeGlMockFunctionUnique("glGetUniformLocation");
return interface_->GetUniformLocation(program, name);
}
void GL_BINDING_CALL MockGLInterface::Mock_glGetUniformfv(GLuint program,
GLint location,
GLfloat* params) {
MakeGlMockFunctionUnique("glGetUniformfv");
interface_->GetUniformfv(program, location, params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetUniformfvRobustANGLE(GLuint program,
GLint location,
GLsizei bufSize,
GLsizei* length,
GLfloat* params) {
MakeGlMockFunctionUnique("glGetUniformfvRobustANGLE");
interface_->GetUniformfvRobustANGLE(program, location, bufSize, length,
params);
}
void GL_BINDING_CALL MockGLInterface::Mock_glGetUniformiv(GLuint program,
GLint location,
GLint* params) {
MakeGlMockFunctionUnique("glGetUniformiv");
interface_->GetUniformiv(program, location, params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetUniformivRobustANGLE(GLuint program,
GLint location,
GLsizei bufSize,
GLsizei* length,
GLint* params) {
MakeGlMockFunctionUnique("glGetUniformivRobustANGLE");
interface_->GetUniformivRobustANGLE(program, location, bufSize, length,
params);
}
void GL_BINDING_CALL MockGLInterface::Mock_glGetUniformuiv(GLuint program,
GLint location,
GLuint* params) {
MakeGlMockFunctionUnique("glGetUniformuiv");
interface_->GetUniformuiv(program, location, params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetUniformuivRobustANGLE(GLuint program,
GLint location,
GLsizei bufSize,
GLsizei* length,
GLuint* params) {
MakeGlMockFunctionUnique("glGetUniformuivRobustANGLE");
interface_->GetUniformuivRobustANGLE(program, location, bufSize, length,
params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetVertexAttribIivRobustANGLE(GLuint index,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLint* params) {
MakeGlMockFunctionUnique("glGetVertexAttribIivRobustANGLE");
interface_->GetVertexAttribIivRobustANGLE(index, pname, bufSize, length,
params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetVertexAttribIuivRobustANGLE(GLuint index,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLuint* params) {
MakeGlMockFunctionUnique("glGetVertexAttribIuivRobustANGLE");
interface_->GetVertexAttribIuivRobustANGLE(index, pname, bufSize, length,
params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetVertexAttribPointerv(GLuint index,
GLenum pname,
void** pointer) {
MakeGlMockFunctionUnique("glGetVertexAttribPointerv");
interface_->GetVertexAttribPointerv(index, pname, pointer);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetVertexAttribPointervRobustANGLE(GLuint index,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
void** pointer) {
MakeGlMockFunctionUnique("glGetVertexAttribPointervRobustANGLE");
interface_->GetVertexAttribPointervRobustANGLE(index, pname, bufSize, length,
pointer);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetVertexAttribfv(GLuint index,
GLenum pname,
GLfloat* params) {
MakeGlMockFunctionUnique("glGetVertexAttribfv");
interface_->GetVertexAttribfv(index, pname, params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetVertexAttribfvRobustANGLE(GLuint index,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLfloat* params) {
MakeGlMockFunctionUnique("glGetVertexAttribfvRobustANGLE");
interface_->GetVertexAttribfvRobustANGLE(index, pname, bufSize, length,
params);
}
void GL_BINDING_CALL MockGLInterface::Mock_glGetVertexAttribiv(GLuint index,
GLenum pname,
GLint* params) {
MakeGlMockFunctionUnique("glGetVertexAttribiv");
interface_->GetVertexAttribiv(index, pname, params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetVertexAttribivRobustANGLE(GLuint index,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLint* params) {
MakeGlMockFunctionUnique("glGetVertexAttribivRobustANGLE");
interface_->GetVertexAttribivRobustANGLE(index, pname, bufSize, length,
params);
}
void GL_BINDING_CALL
MockGLInterface::Mock_glGetnUniformfvRobustANGLE(GLuint program,
GLint location,
GLsizei bufSize,</