blob: 9e91e95539e30b58287bddfb75cd28857a18dedc [file] [log] [blame]
// GENERATED FILE - DO NOT EDIT.
// Generated by generate_entry_points.py using data from gl.xml and gl_angle_ext.xml.
//
// Copyright 2019 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// capture_gles_ext_autogen.cpp:
// Capture functions for the OpenGL ES extension entry points.
#include "libANGLE/capture_gles_ext_autogen.h"
#include "libANGLE/Context.h"
#include "libANGLE/FrameCapture.h"
#include "libANGLE/gl_enum_utils.h"
#include "libANGLE/validationESEXT.h"
using namespace angle;
namespace gl
{
CallCapture CaptureDrawArraysInstancedBaseInstanceANGLE(const State &glState,
bool isCallValid,
PrimitiveMode modePacked,
GLint first,
GLsizei count,
GLsizei instanceCount,
GLuint baseInstance)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("modePacked", ParamType::TPrimitiveMode, modePacked);
paramBuffer.addValueParam("first", ParamType::TGLint, first);
paramBuffer.addValueParam("count", ParamType::TGLsizei, count);
paramBuffer.addValueParam("instanceCount", ParamType::TGLsizei, instanceCount);
paramBuffer.addValueParam("baseInstance", ParamType::TGLuint, baseInstance);
return CallCapture(gl::EntryPoint::DrawArraysInstancedBaseInstanceANGLE,
std::move(paramBuffer));
}
CallCapture CaptureDrawElementsInstancedBaseVertexBaseInstanceANGLE(const State &glState,
bool isCallValid,
PrimitiveMode modePacked,
GLsizei count,
DrawElementsType typePacked,
const GLvoid *indices,
GLsizei instanceCounts,
GLint baseVertex,
GLuint baseInstance)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("modePacked", ParamType::TPrimitiveMode, modePacked);
paramBuffer.addValueParam("count", ParamType::TGLsizei, count);
paramBuffer.addValueParam("typePacked", ParamType::TDrawElementsType, typePacked);
ParamCapture indicesParam("indices", ParamType::TGLvoidConstPointer);
InitParamValue(ParamType::TGLvoidConstPointer, indices, &indicesParam.value);
CaptureDrawElementsInstancedBaseVertexBaseInstanceANGLE_indices(
glState, isCallValid, modePacked, count, typePacked, indices, instanceCounts, baseVertex,
baseInstance, &indicesParam);
paramBuffer.addParam(std::move(indicesParam));
paramBuffer.addValueParam("instanceCounts", ParamType::TGLsizei, instanceCounts);
paramBuffer.addValueParam("baseVertex", ParamType::TGLint, baseVertex);
paramBuffer.addValueParam("baseInstance", ParamType::TGLuint, baseInstance);
return CallCapture(gl::EntryPoint::DrawElementsInstancedBaseVertexBaseInstanceANGLE,
std::move(paramBuffer));
}
CallCapture CaptureMultiDrawArraysInstancedBaseInstanceANGLE(const State &glState,
bool isCallValid,
PrimitiveMode modePacked,
const GLint *firsts,
const GLsizei *counts,
const GLsizei *instanceCounts,
const GLuint *baseInstances,
GLsizei drawcount)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("modePacked", ParamType::TPrimitiveMode, modePacked);
ParamCapture firstsParam("firsts", ParamType::TGLintConstPointer);
InitParamValue(ParamType::TGLintConstPointer, firsts, &firstsParam.value);
CaptureMultiDrawArraysInstancedBaseInstanceANGLE_firsts(glState, isCallValid, modePacked,
firsts, counts, instanceCounts,
baseInstances, drawcount, &firstsParam);
paramBuffer.addParam(std::move(firstsParam));
ParamCapture countsParam("counts", ParamType::TGLsizeiConstPointer);
InitParamValue(ParamType::TGLsizeiConstPointer, counts, &countsParam.value);
CaptureMultiDrawArraysInstancedBaseInstanceANGLE_counts(glState, isCallValid, modePacked,
firsts, counts, instanceCounts,
baseInstances, drawcount, &countsParam);
paramBuffer.addParam(std::move(countsParam));
ParamCapture instanceCountsParam("instanceCounts", ParamType::TGLsizeiConstPointer);
InitParamValue(ParamType::TGLsizeiConstPointer, instanceCounts, &instanceCountsParam.value);
CaptureMultiDrawArraysInstancedBaseInstanceANGLE_instanceCounts(
glState, isCallValid, modePacked, firsts, counts, instanceCounts, baseInstances, drawcount,
&instanceCountsParam);
paramBuffer.addParam(std::move(instanceCountsParam));
ParamCapture baseInstancesParam("baseInstances", ParamType::TGLuintConstPointer);
InitParamValue(ParamType::TGLuintConstPointer, baseInstances, &baseInstancesParam.value);
CaptureMultiDrawArraysInstancedBaseInstanceANGLE_baseInstances(
glState, isCallValid, modePacked, firsts, counts, instanceCounts, baseInstances, drawcount,
&baseInstancesParam);
paramBuffer.addParam(std::move(baseInstancesParam));
paramBuffer.addValueParam("drawcount", ParamType::TGLsizei, drawcount);
return CallCapture(gl::EntryPoint::MultiDrawArraysInstancedBaseInstanceANGLE,
std::move(paramBuffer));
}
CallCapture CaptureMultiDrawElementsInstancedBaseVertexBaseInstanceANGLE(
const State &glState,
bool isCallValid,
PrimitiveMode modePacked,
const GLsizei *counts,
DrawElementsType typePacked,
const GLvoid *const *indices,
const GLsizei *instanceCounts,
const GLint *baseVertices,
const GLuint *baseInstances,
GLsizei drawcount)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("modePacked", ParamType::TPrimitiveMode, modePacked);
ParamCapture countsParam("counts", ParamType::TGLsizeiConstPointer);
InitParamValue(ParamType::TGLsizeiConstPointer, counts, &countsParam.value);
CaptureMultiDrawElementsInstancedBaseVertexBaseInstanceANGLE_counts(
glState, isCallValid, modePacked, counts, typePacked, indices, instanceCounts, baseVertices,
baseInstances, drawcount, &countsParam);
paramBuffer.addParam(std::move(countsParam));
paramBuffer.addValueParam("typePacked", ParamType::TDrawElementsType, typePacked);
ParamCapture indicesParam("indices", ParamType::TGLvoidConstPointerPointer);
InitParamValue(ParamType::TGLvoidConstPointerPointer, indices, &indicesParam.value);
CaptureMultiDrawElementsInstancedBaseVertexBaseInstanceANGLE_indices(
glState, isCallValid, modePacked, counts, typePacked, indices, instanceCounts, baseVertices,
baseInstances, drawcount, &indicesParam);
paramBuffer.addParam(std::move(indicesParam));
ParamCapture instanceCountsParam("instanceCounts", ParamType::TGLsizeiConstPointer);
InitParamValue(ParamType::TGLsizeiConstPointer, instanceCounts, &instanceCountsParam.value);
CaptureMultiDrawElementsInstancedBaseVertexBaseInstanceANGLE_instanceCounts(
glState, isCallValid, modePacked, counts, typePacked, indices, instanceCounts, baseVertices,
baseInstances, drawcount, &instanceCountsParam);
paramBuffer.addParam(std::move(instanceCountsParam));
ParamCapture baseVerticesParam("baseVertices", ParamType::TGLintConstPointer);
InitParamValue(ParamType::TGLintConstPointer, baseVertices, &baseVerticesParam.value);
CaptureMultiDrawElementsInstancedBaseVertexBaseInstanceANGLE_baseVertices(
glState, isCallValid, modePacked, counts, typePacked, indices, instanceCounts, baseVertices,
baseInstances, drawcount, &baseVerticesParam);
paramBuffer.addParam(std::move(baseVerticesParam));
ParamCapture baseInstancesParam("baseInstances", ParamType::TGLuintConstPointer);
InitParamValue(ParamType::TGLuintConstPointer, baseInstances, &baseInstancesParam.value);
CaptureMultiDrawElementsInstancedBaseVertexBaseInstanceANGLE_baseInstances(
glState, isCallValid, modePacked, counts, typePacked, indices, instanceCounts, baseVertices,
baseInstances, drawcount, &baseInstancesParam);
paramBuffer.addParam(std::move(baseInstancesParam));
paramBuffer.addValueParam("drawcount", ParamType::TGLsizei, drawcount);
return CallCapture(gl::EntryPoint::MultiDrawElementsInstancedBaseVertexBaseInstanceANGLE,
std::move(paramBuffer));
}
CallCapture CaptureCopyTexture3DANGLE(const State &glState,
bool isCallValid,
TextureID sourceIdPacked,
GLint sourceLevel,
TextureTarget destTargetPacked,
TextureID destIdPacked,
GLint destLevel,
GLint internalFormat,
GLenum destType,
GLboolean unpackFlipY,
GLboolean unpackPremultiplyAlpha,
GLboolean unpackUnmultiplyAlpha)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("sourceIdPacked", ParamType::TTextureID, sourceIdPacked);
paramBuffer.addValueParam("sourceLevel", ParamType::TGLint, sourceLevel);
paramBuffer.addValueParam("destTargetPacked", ParamType::TTextureTarget, destTargetPacked);
paramBuffer.addValueParam("destIdPacked", ParamType::TTextureID, destIdPacked);
paramBuffer.addValueParam("destLevel", ParamType::TGLint, destLevel);
paramBuffer.addValueParam("internalFormat", ParamType::TGLint, internalFormat);
paramBuffer.addEnumParam("destType", GLenumGroup::DefaultGroup, ParamType::TGLenum, destType);
paramBuffer.addValueParam("unpackFlipY", ParamType::TGLboolean, unpackFlipY);
paramBuffer.addValueParam("unpackPremultiplyAlpha", ParamType::TGLboolean,
unpackPremultiplyAlpha);
paramBuffer.addValueParam("unpackUnmultiplyAlpha", ParamType::TGLboolean,
unpackUnmultiplyAlpha);
return CallCapture(gl::EntryPoint::CopyTexture3DANGLE, std::move(paramBuffer));
}
CallCapture CaptureCopySubTexture3DANGLE(const State &glState,
bool isCallValid,
TextureID sourceIdPacked,
GLint sourceLevel,
TextureTarget destTargetPacked,
TextureID destIdPacked,
GLint destLevel,
GLint xoffset,
GLint yoffset,
GLint zoffset,
GLint x,
GLint y,
GLint z,
GLint width,
GLint height,
GLint depth,
GLboolean unpackFlipY,
GLboolean unpackPremultiplyAlpha,
GLboolean unpackUnmultiplyAlpha)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("sourceIdPacked", ParamType::TTextureID, sourceIdPacked);
paramBuffer.addValueParam("sourceLevel", ParamType::TGLint, sourceLevel);
paramBuffer.addValueParam("destTargetPacked", ParamType::TTextureTarget, destTargetPacked);
paramBuffer.addValueParam("destIdPacked", ParamType::TTextureID, destIdPacked);
paramBuffer.addValueParam("destLevel", ParamType::TGLint, destLevel);
paramBuffer.addValueParam("xoffset", ParamType::TGLint, xoffset);
paramBuffer.addValueParam("yoffset", ParamType::TGLint, yoffset);
paramBuffer.addValueParam("zoffset", ParamType::TGLint, zoffset);
paramBuffer.addValueParam("x", ParamType::TGLint, x);
paramBuffer.addValueParam("y", ParamType::TGLint, y);
paramBuffer.addValueParam("z", ParamType::TGLint, z);
paramBuffer.addValueParam("width", ParamType::TGLint, width);
paramBuffer.addValueParam("height", ParamType::TGLint, height);
paramBuffer.addValueParam("depth", ParamType::TGLint, depth);
paramBuffer.addValueParam("unpackFlipY", ParamType::TGLboolean, unpackFlipY);
paramBuffer.addValueParam("unpackPremultiplyAlpha", ParamType::TGLboolean,
unpackPremultiplyAlpha);
paramBuffer.addValueParam("unpackUnmultiplyAlpha", ParamType::TGLboolean,
unpackUnmultiplyAlpha);
return CallCapture(gl::EntryPoint::CopySubTexture3DANGLE, std::move(paramBuffer));
}
CallCapture CaptureBlitFramebufferANGLE(const State &glState,
bool isCallValid,
GLint srcX0,
GLint srcY0,
GLint srcX1,
GLint srcY1,
GLint dstX0,
GLint dstY0,
GLint dstX1,
GLint dstY1,
GLbitfield mask,
GLenum filter)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("srcX0", ParamType::TGLint, srcX0);
paramBuffer.addValueParam("srcY0", ParamType::TGLint, srcY0);
paramBuffer.addValueParam("srcX1", ParamType::TGLint, srcX1);
paramBuffer.addValueParam("srcY1", ParamType::TGLint, srcY1);
paramBuffer.addValueParam("dstX0", ParamType::TGLint, dstX0);
paramBuffer.addValueParam("dstY0", ParamType::TGLint, dstY0);
paramBuffer.addValueParam("dstX1", ParamType::TGLint, dstX1);
paramBuffer.addValueParam("dstY1", ParamType::TGLint, dstY1);
paramBuffer.addEnumParam("mask", GLenumGroup::ClearBufferMask, ParamType::TGLbitfield, mask);
paramBuffer.addEnumParam("filter", GLenumGroup::BlitFramebufferFilter, ParamType::TGLenum,
filter);
return CallCapture(gl::EntryPoint::BlitFramebufferANGLE, std::move(paramBuffer));
}
CallCapture CaptureRenderbufferStorageMultisampleANGLE(const State &glState,
bool isCallValid,
GLenum target,
GLsizei samples,
GLenum internalformat,
GLsizei width,
GLsizei height)
{
ParamBuffer paramBuffer;
paramBuffer.addEnumParam("target", GLenumGroup::RenderbufferTarget, ParamType::TGLenum, target);
paramBuffer.addValueParam("samples", ParamType::TGLsizei, samples);
paramBuffer.addEnumParam("internalformat", GLenumGroup::InternalFormat, ParamType::TGLenum,
internalformat);
paramBuffer.addValueParam("width", ParamType::TGLsizei, width);
paramBuffer.addValueParam("height", ParamType::TGLsizei, height);
return CallCapture(gl::EntryPoint::RenderbufferStorageMultisampleANGLE, std::move(paramBuffer));
}
CallCapture CaptureGetTexImageANGLE(const State &glState,
bool isCallValid,
TextureTarget targetPacked,
GLint level,
GLenum format,
GLenum type,
void *pixels)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("targetPacked", ParamType::TTextureTarget, targetPacked);
paramBuffer.addValueParam("level", ParamType::TGLint, level);
paramBuffer.addEnumParam("format", GLenumGroup::PixelFormat, ParamType::TGLenum, format);
paramBuffer.addEnumParam("type", GLenumGroup::PixelType, ParamType::TGLenum, type);
ParamCapture pixelsParam("pixels", ParamType::TvoidPointer);
InitParamValue(ParamType::TvoidPointer, pixels, &pixelsParam.value);
CaptureGetTexImageANGLE_pixels(glState, isCallValid, targetPacked, level, format, type, pixels,
&pixelsParam);
paramBuffer.addParam(std::move(pixelsParam));
return CallCapture(gl::EntryPoint::GetTexImageANGLE, std::move(paramBuffer));
}
CallCapture CaptureGetRenderbufferImageANGLE(const State &glState,
bool isCallValid,
GLenum target,
GLenum format,
GLenum type,
void *pixels)
{
ParamBuffer paramBuffer;
paramBuffer.addEnumParam("target", GLenumGroup::RenderbufferTarget, ParamType::TGLenum, target);
paramBuffer.addEnumParam("format", GLenumGroup::PixelFormat, ParamType::TGLenum, format);
paramBuffer.addEnumParam("type", GLenumGroup::PixelType, ParamType::TGLenum, type);
ParamCapture pixelsParam("pixels", ParamType::TvoidPointer);
InitParamValue(ParamType::TvoidPointer, pixels, &pixelsParam.value);
CaptureGetRenderbufferImageANGLE_pixels(glState, isCallValid, target, format, type, pixels,
&pixelsParam);
paramBuffer.addParam(std::move(pixelsParam));
return CallCapture(gl::EntryPoint::GetRenderbufferImageANGLE, std::move(paramBuffer));
}
CallCapture CaptureDrawArraysInstancedANGLE(const State &glState,
bool isCallValid,
PrimitiveMode modePacked,
GLint first,
GLsizei count,
GLsizei primcount)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("modePacked", ParamType::TPrimitiveMode, modePacked);
paramBuffer.addValueParam("first", ParamType::TGLint, first);
paramBuffer.addValueParam("count", ParamType::TGLsizei, count);
paramBuffer.addValueParam("primcount", ParamType::TGLsizei, primcount);
return CallCapture(gl::EntryPoint::DrawArraysInstancedANGLE, std::move(paramBuffer));
}
CallCapture CaptureDrawElementsInstancedANGLE(const State &glState,
bool isCallValid,
PrimitiveMode modePacked,
GLsizei count,
DrawElementsType typePacked,
const void *indices,
GLsizei primcount)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("modePacked", ParamType::TPrimitiveMode, modePacked);
paramBuffer.addValueParam("count", ParamType::TGLsizei, count);
paramBuffer.addValueParam("typePacked", ParamType::TDrawElementsType, typePacked);
ParamCapture indicesParam("indices", ParamType::TvoidConstPointer);
InitParamValue(ParamType::TvoidConstPointer, indices, &indicesParam.value);
CaptureDrawElementsInstancedANGLE_indices(glState, isCallValid, modePacked, count, typePacked,
indices, primcount, &indicesParam);
paramBuffer.addParam(std::move(indicesParam));
paramBuffer.addValueParam("primcount", ParamType::TGLsizei, primcount);
return CallCapture(gl::EntryPoint::DrawElementsInstancedANGLE, std::move(paramBuffer));
}
CallCapture CaptureVertexAttribDivisorANGLE(const State &glState,
bool isCallValid,
GLuint index,
GLuint divisor)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("index", ParamType::TGLuint, index);
paramBuffer.addValueParam("divisor", ParamType::TGLuint, divisor);
return CallCapture(gl::EntryPoint::VertexAttribDivisorANGLE, std::move(paramBuffer));
}
CallCapture CaptureMultiDrawArraysANGLE(const State &glState,
bool isCallValid,
PrimitiveMode modePacked,
const GLint *firsts,
const GLsizei *counts,
GLsizei drawcount)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("modePacked", ParamType::TPrimitiveMode, modePacked);
ParamCapture firstsParam("firsts", ParamType::TGLintConstPointer);
InitParamValue(ParamType::TGLintConstPointer, firsts, &firstsParam.value);
CaptureMultiDrawArraysANGLE_firsts(glState, isCallValid, modePacked, firsts, counts, drawcount,
&firstsParam);
paramBuffer.addParam(std::move(firstsParam));
ParamCapture countsParam("counts", ParamType::TGLsizeiConstPointer);
InitParamValue(ParamType::TGLsizeiConstPointer, counts, &countsParam.value);
CaptureMultiDrawArraysANGLE_counts(glState, isCallValid, modePacked, firsts, counts, drawcount,
&countsParam);
paramBuffer.addParam(std::move(countsParam));
paramBuffer.addValueParam("drawcount", ParamType::TGLsizei, drawcount);
return CallCapture(gl::EntryPoint::MultiDrawArraysANGLE, std::move(paramBuffer));
}
CallCapture CaptureMultiDrawArraysInstancedANGLE(const State &glState,
bool isCallValid,
PrimitiveMode modePacked,
const GLint *firsts,
const GLsizei *counts,
const GLsizei *instanceCounts,
GLsizei drawcount)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("modePacked", ParamType::TPrimitiveMode, modePacked);
ParamCapture firstsParam("firsts", ParamType::TGLintConstPointer);
InitParamValue(ParamType::TGLintConstPointer, firsts, &firstsParam.value);
CaptureMultiDrawArraysInstancedANGLE_firsts(glState, isCallValid, modePacked, firsts, counts,
instanceCounts, drawcount, &firstsParam);
paramBuffer.addParam(std::move(firstsParam));
ParamCapture countsParam("counts", ParamType::TGLsizeiConstPointer);
InitParamValue(ParamType::TGLsizeiConstPointer, counts, &countsParam.value);
CaptureMultiDrawArraysInstancedANGLE_counts(glState, isCallValid, modePacked, firsts, counts,
instanceCounts, drawcount, &countsParam);
paramBuffer.addParam(std::move(countsParam));
ParamCapture instanceCountsParam("instanceCounts", ParamType::TGLsizeiConstPointer);
InitParamValue(ParamType::TGLsizeiConstPointer, instanceCounts, &instanceCountsParam.value);
CaptureMultiDrawArraysInstancedANGLE_instanceCounts(glState, isCallValid, modePacked, firsts,
counts, instanceCounts, drawcount,
&instanceCountsParam);
paramBuffer.addParam(std::move(instanceCountsParam));
paramBuffer.addValueParam("drawcount", ParamType::TGLsizei, drawcount);
return CallCapture(gl::EntryPoint::MultiDrawArraysInstancedANGLE, std::move(paramBuffer));
}
CallCapture CaptureMultiDrawElementsANGLE(const State &glState,
bool isCallValid,
PrimitiveMode modePacked,
const GLsizei *counts,
DrawElementsType typePacked,
const GLvoid *const *indices,
GLsizei drawcount)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("modePacked", ParamType::TPrimitiveMode, modePacked);
ParamCapture countsParam("counts", ParamType::TGLsizeiConstPointer);
InitParamValue(ParamType::TGLsizeiConstPointer, counts, &countsParam.value);
CaptureMultiDrawElementsANGLE_counts(glState, isCallValid, modePacked, counts, typePacked,
indices, drawcount, &countsParam);
paramBuffer.addParam(std::move(countsParam));
paramBuffer.addValueParam("typePacked", ParamType::TDrawElementsType, typePacked);
ParamCapture indicesParam("indices", ParamType::TGLvoidConstPointerPointer);
InitParamValue(ParamType::TGLvoidConstPointerPointer, indices, &indicesParam.value);
CaptureMultiDrawElementsANGLE_indices(glState, isCallValid, modePacked, counts, typePacked,
indices, drawcount, &indicesParam);
paramBuffer.addParam(std::move(indicesParam));
paramBuffer.addValueParam("drawcount", ParamType::TGLsizei, drawcount);
return CallCapture(gl::EntryPoint::MultiDrawElementsANGLE, std::move(paramBuffer));
}
CallCapture CaptureMultiDrawElementsInstancedANGLE(const State &glState,
bool isCallValid,
PrimitiveMode modePacked,
const GLsizei *counts,
DrawElementsType typePacked,
const GLvoid *const *indices,
const GLsizei *instanceCounts,
GLsizei drawcount)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("modePacked", ParamType::TPrimitiveMode, modePacked);
ParamCapture countsParam("counts", ParamType::TGLsizeiConstPointer);
InitParamValue(ParamType::TGLsizeiConstPointer, counts, &countsParam.value);
CaptureMultiDrawElementsInstancedANGLE_counts(glState, isCallValid, modePacked, counts,
typePacked, indices, instanceCounts, drawcount,
&countsParam);
paramBuffer.addParam(std::move(countsParam));
paramBuffer.addValueParam("typePacked", ParamType::TDrawElementsType, typePacked);
ParamCapture indicesParam("indices", ParamType::TGLvoidConstPointerPointer);
InitParamValue(ParamType::TGLvoidConstPointerPointer, indices, &indicesParam.value);
CaptureMultiDrawElementsInstancedANGLE_indices(glState, isCallValid, modePacked, counts,
typePacked, indices, instanceCounts, drawcount,
&indicesParam);
paramBuffer.addParam(std::move(indicesParam));
ParamCapture instanceCountsParam("instanceCounts", ParamType::TGLsizeiConstPointer);
InitParamValue(ParamType::TGLsizeiConstPointer, instanceCounts, &instanceCountsParam.value);
CaptureMultiDrawElementsInstancedANGLE_instanceCounts(glState, isCallValid, modePacked, counts,
typePacked, indices, instanceCounts,
drawcount, &instanceCountsParam);
paramBuffer.addParam(std::move(instanceCountsParam));
paramBuffer.addValueParam("drawcount", ParamType::TGLsizei, drawcount);
return CallCapture(gl::EntryPoint::MultiDrawElementsInstancedANGLE, std::move(paramBuffer));
}
CallCapture CaptureProvokingVertexANGLE(const State &glState,
bool isCallValid,
ProvokingVertexConvention modePacked)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("modePacked", ParamType::TProvokingVertexConvention, modePacked);
return CallCapture(gl::EntryPoint::ProvokingVertexANGLE, std::move(paramBuffer));
}
CallCapture CaptureRequestExtensionANGLE(const State &glState, bool isCallValid, const GLchar *name)
{
ParamBuffer paramBuffer;
ParamCapture nameParam("name", ParamType::TGLcharConstPointer);
InitParamValue(ParamType::TGLcharConstPointer, name, &nameParam.value);
CaptureRequestExtensionANGLE_name(glState, isCallValid, name, &nameParam);
paramBuffer.addParam(std::move(nameParam));
return CallCapture(gl::EntryPoint::RequestExtensionANGLE, std::move(paramBuffer));
}
CallCapture CaptureDisableExtensionANGLE(const State &glState, bool isCallValid, const GLchar *name)
{
ParamBuffer paramBuffer;
ParamCapture nameParam("name", ParamType::TGLcharConstPointer);
InitParamValue(ParamType::TGLcharConstPointer, name, &nameParam.value);
CaptureDisableExtensionANGLE_name(glState, isCallValid, name, &nameParam);
paramBuffer.addParam(std::move(nameParam));
return CallCapture(gl::EntryPoint::DisableExtensionANGLE, std::move(paramBuffer));
}
CallCapture CaptureGetBooleanvRobustANGLE(const State &glState,
bool isCallValid,
GLenum pname,
GLsizei bufSize,
GLsizei *length,
GLboolean *params)
{
ParamBuffer paramBuffer;
paramBuffer.addEnumParam("pname", GLenumGroup::DefaultGroup, ParamType::TGLenum, pname);
paramBuffer.addValueParam("bufSize", ParamType::TGLsizei, bufSize);
ParamCapture lengthParam("length", ParamType::TGLsizeiPointer);
InitParamValue(ParamType::TGLsizeiPointer, length, &lengthParam.value);
CaptureGetBooleanvRobustANGLE_length(glState, isCallValid, pname, bufSize, length, params,
&lengthParam);
paramBuffer.addParam(std::move(lengthParam));
ParamCapture paramsParam("params", ParamType::TGLbooleanPointer);
InitParamValue(ParamType::TGLbooleanPointer, params, &paramsParam.value);
CaptureGetBooleanvRobustANGLE_params(glState, isCallValid, pname, bufSize, length, params,
&paramsParam);
paramBuffer.addParam(std::move(paramsParam));
return CallCapture(gl::EntryPoint::GetBooleanvRobustANGLE, std::move(paramBuffer));
}
CallCapture CaptureGetBufferParameterivRobustANGLE(const State &glState,
bool isCallValid,
BufferBinding targetPacked,
GLenum pname,
GLsizei bufSize,
GLsizei *length,
GLint *params)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("targetPacked", ParamType::TBufferBinding, targetPacked);
paramBuffer.addEnumParam("pname", GLenumGroup::DefaultGroup, ParamType::TGLenum, pname);
paramBuffer.addValueParam("bufSize", ParamType::TGLsizei, bufSize);
ParamCapture lengthParam("length", ParamType::TGLsizeiPointer);
InitParamValue(ParamType::TGLsizeiPointer, length, &lengthParam.value);
CaptureGetBufferParameterivRobustANGLE_length(glState, isCallValid, targetPacked, pname,
bufSize, length, params, &lengthParam);
paramBuffer.addParam(std::move(lengthParam));
ParamCapture paramsParam("params", ParamType::TGLintPointer);
InitParamValue(ParamType::TGLintPointer, params, &paramsParam.value);
CaptureGetBufferParameterivRobustANGLE_params(glState, isCallValid, targetPacked, pname,
bufSize, length, params, &paramsParam);
paramBuffer.addParam(std::move(paramsParam));
return CallCapture(gl::EntryPoint::GetBufferParameterivRobustANGLE, std::move(paramBuffer));
}
CallCapture CaptureGetFloatvRobustANGLE(const State &glState,
bool isCallValid,
GLenum pname,
GLsizei bufSize,
GLsizei *length,
GLfloat *params)
{
ParamBuffer paramBuffer;
paramBuffer.addEnumParam("pname", GLenumGroup::DefaultGroup, ParamType::TGLenum, pname);
paramBuffer.addValueParam("bufSize", ParamType::TGLsizei, bufSize);
ParamCapture lengthParam("length", ParamType::TGLsizeiPointer);
InitParamValue(ParamType::TGLsizeiPointer, length, &lengthParam.value);
CaptureGetFloatvRobustANGLE_length(glState, isCallValid, pname, bufSize, length, params,
&lengthParam);
paramBuffer.addParam(std::move(lengthParam));
ParamCapture paramsParam("params", ParamType::TGLfloatPointer);
InitParamValue(ParamType::TGLfloatPointer, params, &paramsParam.value);
CaptureGetFloatvRobustANGLE_params(glState, isCallValid, pname, bufSize, length, params,
&paramsParam);
paramBuffer.addParam(std::move(paramsParam));
return CallCapture(gl::EntryPoint::GetFloatvRobustANGLE, std::move(paramBuffer));
}
CallCapture CaptureGetFramebufferAttachmentParameterivRobustANGLE(const State &glState,
bool isCallValid,
GLenum target,
GLenum attachment,
GLenum pname,
GLsizei bufSize,
GLsizei *length,
GLint *params)
{
ParamBuffer paramBuffer;
paramBuffer.addEnumParam("target", GLenumGroup::DefaultGroup, ParamType::TGLenum, target);
paramBuffer.addEnumParam("attachment", GLenumGroup::DefaultGroup, ParamType::TGLenum,
attachment);
paramBuffer.addEnumParam("pname", GLenumGroup::DefaultGroup, ParamType::TGLenum, pname);
paramBuffer.addValueParam("bufSize", ParamType::TGLsizei, bufSize);
ParamCapture lengthParam("length", ParamType::TGLsizeiPointer);
InitParamValue(ParamType::TGLsizeiPointer, length, &lengthParam.value);
CaptureGetFramebufferAttachmentParameterivRobustANGLE_length(
glState, isCallValid, target, attachment, pname, bufSize, length, params, &lengthParam);
paramBuffer.addParam(std::move(lengthParam));
ParamCapture paramsParam("params", ParamType::TGLintPointer);
InitParamValue(ParamType::TGLintPointer, params, &paramsParam.value);
CaptureGetFramebufferAttachmentParameterivRobustANGLE_params(
glState, isCallValid, target, attachment, pname, bufSize, length, params, &paramsParam);
paramBuffer.addParam(std::move(paramsParam));
return CallCapture(gl::EntryPoint::GetFramebufferAttachmentParameterivRobustANGLE,
std::move(paramBuffer));
}
CallCapture CaptureGetIntegervRobustANGLE(const State &glState,
bool isCallValid,
GLenum pname,
GLsizei bufSize,
GLsizei *length,
GLint *data)
{
ParamBuffer paramBuffer;
paramBuffer.addEnumParam("pname", GLenumGroup::DefaultGroup, ParamType::TGLenum, pname);
paramBuffer.addValueParam("bufSize", ParamType::TGLsizei, bufSize);
ParamCapture lengthParam("length", ParamType::TGLsizeiPointer);
InitParamValue(ParamType::TGLsizeiPointer, length, &lengthParam.value);
CaptureGetIntegervRobustANGLE_length(glState, isCallValid, pname, bufSize, length, data,
&lengthParam);
paramBuffer.addParam(std::move(lengthParam));
ParamCapture dataParam("data", ParamType::TGLintPointer);
InitParamValue(ParamType::TGLintPointer, data, &dataParam.value);
CaptureGetIntegervRobustANGLE_data(glState, isCallValid, pname, bufSize, length, data,
&dataParam);
paramBuffer.addParam(std::move(dataParam));
return CallCapture(gl::EntryPoint::GetIntegervRobustANGLE, std::move(paramBuffer));
}
CallCapture CaptureGetProgramivRobustANGLE(const State &glState,
bool isCallValid,
ShaderProgramID programPacked,
GLenum pname,
GLsizei bufSize,
GLsizei *length,
GLint *params)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("programPacked", ParamType::TShaderProgramID, programPacked);
paramBuffer.addEnumParam("pname", GLenumGroup::DefaultGroup, ParamType::TGLenum, pname);
paramBuffer.addValueParam("bufSize", ParamType::TGLsizei, bufSize);
ParamCapture lengthParam("length", ParamType::TGLsizeiPointer);
InitParamValue(ParamType::TGLsizeiPointer, length, &lengthParam.value);
CaptureGetProgramivRobustANGLE_length(glState, isCallValid, programPacked, pname, bufSize,
length, params, &lengthParam);
paramBuffer.addParam(std::move(lengthParam));
ParamCapture paramsParam("params", ParamType::TGLintPointer);
InitParamValue(ParamType::TGLintPointer, params, &paramsParam.value);
CaptureGetProgramivRobustANGLE_params(glState, isCallValid, programPacked, pname, bufSize,
length, params, &paramsParam);
paramBuffer.addParam(std::move(paramsParam));
return CallCapture(gl::EntryPoint::GetProgramivRobustANGLE, std::move(paramBuffer));
}
CallCapture CaptureGetRenderbufferParameterivRobustANGLE(const State &glState,
bool isCallValid,
GLenum target,
GLenum pname,
GLsizei bufSize,
GLsizei *length,
GLint *params)
{
ParamBuffer paramBuffer;
paramBuffer.addEnumParam("target", GLenumGroup::DefaultGroup, ParamType::TGLenum, target);
paramBuffer.addEnumParam("pname", GLenumGroup::DefaultGroup, ParamType::TGLenum, pname);
paramBuffer.addValueParam("bufSize", ParamType::TGLsizei, bufSize);
ParamCapture lengthParam("length", ParamType::TGLsizeiPointer);
InitParamValue(ParamType::TGLsizeiPointer, length, &lengthParam.value);
CaptureGetRenderbufferParameterivRobustANGLE_length(glState, isCallValid, target, pname,
bufSize, length, params, &lengthParam);
paramBuffer.addParam(std::move(lengthParam));
ParamCapture paramsParam("params", ParamType::TGLintPointer);
InitParamValue(ParamType::TGLintPointer, params, &paramsParam.value);
CaptureGetRenderbufferParameterivRobustANGLE_params(glState, isCallValid, target, pname,
bufSize, length, params, &paramsParam);
paramBuffer.addParam(std::move(paramsParam));
return CallCapture(gl::EntryPoint::GetRenderbufferParameterivRobustANGLE,
std::move(paramBuffer));
}
CallCapture CaptureGetShaderivRobustANGLE(const State &glState,
bool isCallValid,
ShaderProgramID shaderPacked,
GLenum pname,
GLsizei bufSize,
GLsizei *length,
GLint *params)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("shaderPacked", ParamType::TShaderProgramID, shaderPacked);
paramBuffer.addEnumParam("pname", GLenumGroup::DefaultGroup, ParamType::TGLenum, pname);
paramBuffer.addValueParam("bufSize", ParamType::TGLsizei, bufSize);
ParamCapture lengthParam("length", ParamType::TGLsizeiPointer);
InitParamValue(ParamType::TGLsizeiPointer, length, &lengthParam.value);
CaptureGetShaderivRobustANGLE_length(glState, isCallValid, shaderPacked, pname, bufSize, length,
params, &lengthParam);
paramBuffer.addParam(std::move(lengthParam));
ParamCapture paramsParam("params", ParamType::TGLintPointer);
InitParamValue(ParamType::TGLintPointer, params, &paramsParam.value);
CaptureGetShaderivRobustANGLE_params(glState, isCallValid, shaderPacked, pname, bufSize, length,
params, &paramsParam);
paramBuffer.addParam(std::move(paramsParam));
return CallCapture(gl::EntryPoint::GetShaderivRobustANGLE, std::move(paramBuffer));
}
CallCapture CaptureGetTexParameterfvRobustANGLE(const State &glState,
bool isCallValid,
TextureType targetPacked,
GLenum pname,
GLsizei bufSize,
GLsizei *length,
GLfloat *params)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("targetPacked", ParamType::TTextureType, targetPacked);
paramBuffer.addEnumParam("pname", GLenumGroup::DefaultGroup, ParamType::TGLenum, pname);
paramBuffer.addValueParam("bufSize", ParamType::TGLsizei, bufSize);
ParamCapture lengthParam("length", ParamType::TGLsizeiPointer);
InitParamValue(ParamType::TGLsizeiPointer, length, &lengthParam.value);
CaptureGetTexParameterfvRobustANGLE_length(glState, isCallValid, targetPacked, pname, bufSize,
length, params, &lengthParam);
paramBuffer.addParam(std::move(lengthParam));
ParamCapture paramsParam("params", ParamType::TGLfloatPointer);
InitParamValue(ParamType::TGLfloatPointer, params, &paramsParam.value);
CaptureGetTexParameterfvRobustANGLE_params(glState, isCallValid, targetPacked, pname, bufSize,
length, params, &paramsParam);
paramBuffer.addParam(std::move(paramsParam));
return CallCapture(gl::EntryPoint::GetTexParameterfvRobustANGLE, std::move(paramBuffer));
}
CallCapture CaptureGetTexParameterivRobustANGLE(const State &glState,
bool isCallValid,
TextureType targetPacked,
GLenum pname,
GLsizei bufSize,
GLsizei *length,
GLint *params)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("targetPacked", ParamType::TTextureType, targetPacked);
paramBuffer.addEnumParam("pname", GLenumGroup::DefaultGroup, ParamType::TGLenum, pname);
paramBuffer.addValueParam("bufSize", ParamType::TGLsizei, bufSize);
ParamCapture lengthParam("length", ParamType::TGLsizeiPointer);
InitParamValue(ParamType::TGLsizeiPointer, length, &lengthParam.value);
CaptureGetTexParameterivRobustANGLE_length(glState, isCallValid, targetPacked, pname, bufSize,
length, params, &lengthParam);
paramBuffer.addParam(std::move(lengthParam));
ParamCapture paramsParam("params", ParamType::TGLintPointer);
InitParamValue(ParamType::TGLintPointer, params, &paramsParam.value);
CaptureGetTexParameterivRobustANGLE_params(glState, isCallValid, targetPacked, pname, bufSize,
length, params, &paramsParam);
paramBuffer.addParam(std::move(paramsParam));
return CallCapture(gl::EntryPoint::GetTexParameterivRobustANGLE, std::move(paramBuffer));
}
CallCapture CaptureGetUniformfvRobustANGLE(const State &glState,
bool isCallValid,
ShaderProgramID programPacked,
GLint location,
GLsizei bufSize,
GLsizei *length,
GLfloat *params)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("programPacked", ParamType::TShaderProgramID, programPacked);
paramBuffer.addValueParam("location", ParamType::TGLint, location);
paramBuffer.addValueParam("bufSize", ParamType::TGLsizei, bufSize);
ParamCapture lengthParam("length", ParamType::TGLsizeiPointer);
InitParamValue(ParamType::TGLsizeiPointer, length, &lengthParam.value);
CaptureGetUniformfvRobustANGLE_length(glState, isCallValid, programPacked, location, bufSize,
length, params, &lengthParam);
paramBuffer.addParam(std::move(lengthParam));
ParamCapture paramsParam("params", ParamType::TGLfloatPointer);
InitParamValue(ParamType::TGLfloatPointer, params, &paramsParam.value);
CaptureGetUniformfvRobustANGLE_params(glState, isCallValid, programPacked, location, bufSize,
length, params, &paramsParam);
paramBuffer.addParam(std::move(paramsParam));
return CallCapture(gl::EntryPoint::GetUniformfvRobustANGLE, std::move(paramBuffer));
}
CallCapture CaptureGetUniformivRobustANGLE(const State &glState,
bool isCallValid,
ShaderProgramID programPacked,
GLint location,
GLsizei bufSize,
GLsizei *length,
GLint *params)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("programPacked", ParamType::TShaderProgramID, programPacked);
paramBuffer.addValueParam("location", ParamType::TGLint, location);
paramBuffer.addValueParam("bufSize", ParamType::TGLsizei, bufSize);
ParamCapture lengthParam("length", ParamType::TGLsizeiPointer);
InitParamValue(ParamType::TGLsizeiPointer, length, &lengthParam.value);
CaptureGetUniformivRobustANGLE_length(glState, isCallValid, programPacked, location, bufSize,
length, params, &lengthParam);
paramBuffer.addParam(std::move(lengthParam));
ParamCapture paramsParam("params", ParamType::TGLintPointer);
InitParamValue(ParamType::TGLintPointer, params, &paramsParam.value);
CaptureGetUniformivRobustANGLE_params(glState, isCallValid, programPacked, location, bufSize,
length, params, &paramsParam);
paramBuffer.addParam(std::move(paramsParam));
return CallCapture(gl::EntryPoint::GetUniformivRobustANGLE, std::move(paramBuffer));
}
CallCapture CaptureGetVertexAttribfvRobustANGLE(const State &glState,
bool isCallValid,
GLuint index,
GLenum pname,
GLsizei bufSize,
GLsizei *length,
GLfloat *params)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("index", ParamType::TGLuint, index);
paramBuffer.addEnumParam("pname", GLenumGroup::DefaultGroup, ParamType::TGLenum, pname);
paramBuffer.addValueParam("bufSize", ParamType::TGLsizei, bufSize);
ParamCapture lengthParam("length", ParamType::TGLsizeiPointer);
InitParamValue(ParamType::TGLsizeiPointer, length, &lengthParam.value);
CaptureGetVertexAttribfvRobustANGLE_length(glState, isCallValid, index, pname, bufSize, length,
params, &lengthParam);
paramBuffer.addParam(std::move(lengthParam));
ParamCapture paramsParam("params", ParamType::TGLfloatPointer);
InitParamValue(ParamType::TGLfloatPointer, params, &paramsParam.value);
CaptureGetVertexAttribfvRobustANGLE_params(glState, isCallValid, index, pname, bufSize, length,
params, &paramsParam);
paramBuffer.addParam(std::move(paramsParam));
return CallCapture(gl::EntryPoint::GetVertexAttribfvRobustANGLE, std::move(paramBuffer));
}
CallCapture CaptureGetVertexAttribivRobustANGLE(const State &glState,
bool isCallValid,
GLuint index,
GLenum pname,
GLsizei bufSize,
GLsizei *length,
GLint *params)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("index", ParamType::TGLuint, index);
paramBuffer.addEnumParam("pname", GLenumGroup::DefaultGroup, ParamType::TGLenum, pname);
paramBuffer.addValueParam("bufSize", ParamType::TGLsizei, bufSize);
ParamCapture lengthParam("length", ParamType::TGLsizeiPointer);
InitParamValue(ParamType::TGLsizeiPointer, length, &lengthParam.value);
CaptureGetVertexAttribivRobustANGLE_length(glState, isCallValid, index, pname, bufSize, length,
params, &lengthParam);
paramBuffer.addParam(std::move(lengthParam));
ParamCapture paramsParam("params", ParamType::TGLintPointer);
InitParamValue(ParamType::TGLintPointer, params, &paramsParam.value);
CaptureGetVertexAttribivRobustANGLE_params(glState, isCallValid, index, pname, bufSize, length,
params, &paramsParam);
paramBuffer.addParam(std::move(paramsParam));
return CallCapture(gl::EntryPoint::GetVertexAttribivRobustANGLE, std::move(paramBuffer));
}
CallCapture CaptureGetVertexAttribPointervRobustANGLE(const State &glState,
bool isCallValid,
GLuint index,
GLenum pname,
GLsizei bufSize,
GLsizei *length,
void **pointer)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("index", ParamType::TGLuint, index);
paramBuffer.addEnumParam("pname", GLenumGroup::DefaultGroup, ParamType::TGLenum, pname);
paramBuffer.addValueParam("bufSize", ParamType::TGLsizei, bufSize);
ParamCapture lengthParam("length", ParamType::TGLsizeiPointer);
InitParamValue(ParamType::TGLsizeiPointer, length, &lengthParam.value);
CaptureGetVertexAttribPointervRobustANGLE_length(glState, isCallValid, index, pname, bufSize,
length, pointer, &lengthParam);
paramBuffer.addParam(std::move(lengthParam));
ParamCapture pointerParam("pointer", ParamType::TvoidPointerPointer);
InitParamValue(ParamType::TvoidPointerPointer, pointer, &pointerParam.value);
CaptureGetVertexAttribPointervRobustANGLE_pointer(glState, isCallValid, index, pname, bufSize,
length, pointer, &pointerParam);
paramBuffer.addParam(std::move(pointerParam));
return CallCapture(gl::EntryPoint::GetVertexAttribPointervRobustANGLE, std::move(paramBuffer));
}
CallCapture CaptureReadPixelsRobustANGLE(const State &glState,
bool isCallValid,
GLint x,
GLint y,
GLsizei width,
GLsizei height,
GLenum format,
GLenum type,
GLsizei bufSize,
GLsizei *length,
GLsizei *columns,
GLsizei *rows,
void *pixels)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("x", ParamType::TGLint, x);
paramBuffer.addValueParam("y", ParamType::TGLint, y);
paramBuffer.addValueParam("width", ParamType::TGLsizei, width);
paramBuffer.addValueParam("height", ParamType::TGLsizei, height);
paramBuffer.addEnumParam("format", GLenumGroup::DefaultGroup, ParamType::TGLenum, format);
paramBuffer.addEnumParam("type", GLenumGroup::DefaultGroup, ParamType::TGLenum, type);
paramBuffer.addValueParam("bufSize", ParamType::TGLsizei, bufSize);
ParamCapture lengthParam("length", ParamType::TGLsizeiPointer);
InitParamValue(ParamType::TGLsizeiPointer, length, &lengthParam.value);
CaptureReadPixelsRobustANGLE_length(glState, isCallValid, x, y, width, height, format, type,
bufSize, length, columns, rows, pixels, &lengthParam);
paramBuffer.addParam(std::move(lengthParam));
ParamCapture columnsParam("columns", ParamType::TGLsizeiPointer);
InitParamValue(ParamType::TGLsizeiPointer, columns, &columnsParam.value);
CaptureReadPixelsRobustANGLE_columns(glState, isCallValid, x, y, width, height, format, type,
bufSize, length, columns, rows, pixels, &columnsParam);
paramBuffer.addParam(std::move(columnsParam));
ParamCapture rowsParam("rows", ParamType::TGLsizeiPointer);
InitParamValue(ParamType::TGLsizeiPointer, rows, &rowsParam.value);
CaptureReadPixelsRobustANGLE_rows(glState, isCallValid, x, y, width, height, format, type,
bufSize, length, columns, rows, pixels, &rowsParam);
paramBuffer.addParam(std::move(rowsParam));
ParamCapture pixelsParam("pixels", ParamType::TvoidPointer);
InitParamValue(ParamType::TvoidPointer, pixels, &pixelsParam.value);
CaptureReadPixelsRobustANGLE_pixels(glState, isCallValid, x, y, width, height, format, type,
bufSize, length, columns, rows, pixels, &pixelsParam);
paramBuffer.addParam(std::move(pixelsParam));
return CallCapture(gl::EntryPoint::ReadPixelsRobustANGLE, std::move(paramBuffer));
}
CallCapture CaptureTexImage2DRobustANGLE(const State &glState,
bool isCallValid,
TextureTarget targetPacked,
GLint level,
GLint internalformat,
GLsizei width,
GLsizei height,
GLint border,
GLenum format,
GLenum type,
GLsizei bufSize,
const void *pixels)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("targetPacked", ParamType::TTextureTarget, targetPacked);
paramBuffer.addValueParam("level", ParamType::TGLint, level);
paramBuffer.addValueParam("internalformat", ParamType::TGLint, internalformat);
paramBuffer.addValueParam("width", ParamType::TGLsizei, width);
paramBuffer.addValueParam("height", ParamType::TGLsizei, height);
paramBuffer.addValueParam("border", ParamType::TGLint, border);
paramBuffer.addEnumParam("format", GLenumGroup::DefaultGroup, ParamType::TGLenum, format);
paramBuffer.addEnumParam("type", GLenumGroup::DefaultGroup, ParamType::TGLenum, type);
paramBuffer.addValueParam("bufSize", ParamType::TGLsizei, bufSize);
ParamCapture pixelsParam("pixels", ParamType::TvoidConstPointer);
InitParamValue(ParamType::TvoidConstPointer, pixels, &pixelsParam.value);
CaptureTexImage2DRobustANGLE_pixels(glState, isCallValid, targetPacked, level, internalformat,
width, height, border, format, type, bufSize, pixels,
&pixelsParam);
paramBuffer.addParam(std::move(pixelsParam));
return CallCapture(gl::EntryPoint::TexImage2DRobustANGLE, std::move(paramBuffer));
}
CallCapture CaptureTexParameterfvRobustANGLE(const State &glState,
bool isCallValid,
TextureType targetPacked,
GLenum pname,
GLsizei bufSize,
const GLfloat *params)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("targetPacked", ParamType::TTextureType, targetPacked);
paramBuffer.addEnumParam("pname", GLenumGroup::DefaultGroup, ParamType::TGLenum, pname);
paramBuffer.addValueParam("bufSize", ParamType::TGLsizei, bufSize);
ParamCapture paramsParam("params", ParamType::TGLfloatConstPointer);
InitParamValue(ParamType::TGLfloatConstPointer, params, &paramsParam.value);
CaptureTexParameterfvRobustANGLE_params(glState, isCallValid, targetPacked, pname, bufSize,
params, &paramsParam);
paramBuffer.addParam(std::move(paramsParam));
return CallCapture(gl::EntryPoint::TexParameterfvRobustANGLE, std::move(paramBuffer));
}
CallCapture CaptureTexParameterivRobustANGLE(const State &glState,
bool isCallValid,
TextureType targetPacked,
GLenum pname,
GLsizei bufSize,
const GLint *params)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("targetPacked", ParamType::TTextureType, targetPacked);
paramBuffer.addEnumParam("pname", GLenumGroup::DefaultGroup, ParamType::TGLenum, pname);
paramBuffer.addValueParam("bufSize", ParamType::TGLsizei, bufSize);
ParamCapture paramsParam("params", ParamType::TGLintConstPointer);
InitParamValue(ParamType::TGLintConstPointer, params, &paramsParam.value);
CaptureTexParameterivRobustANGLE_params(glState, isCallValid, targetPacked, pname, bufSize,
params, &paramsParam);
paramBuffer.addParam(std::move(paramsParam));
return CallCapture(gl::EntryPoint::TexParameterivRobustANGLE, std::move(paramBuffer));
}
CallCapture CaptureTexSubImage2DRobustANGLE(const State &glState,
bool isCallValid,
TextureTarget targetPacked,
GLint level,
GLint xoffset,
GLint yoffset,
GLsizei width,
GLsizei height,
GLenum format,
GLenum type,
GLsizei bufSize,
const void *pixels)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("targetPacked", ParamType::TTextureTarget, targetPacked);
paramBuffer.addValueParam("level", ParamType::TGLint, level);
paramBuffer.addValueParam("xoffset", ParamType::TGLint, xoffset);
paramBuffer.addValueParam("yoffset", ParamType::TGLint, yoffset);
paramBuffer.addValueParam("width", ParamType::TGLsizei, width);
paramBuffer.addValueParam("height", ParamType::TGLsizei, height);
paramBuffer.addEnumParam("format", GLenumGroup::DefaultGroup, ParamType::TGLenum, format);
paramBuffer.addEnumParam("type", GLenumGroup::DefaultGroup, ParamType::TGLenum, type);
paramBuffer.addValueParam("bufSize", ParamType::TGLsizei, bufSize);
ParamCapture pixelsParam("pixels", ParamType::TvoidConstPointer);
InitParamValue(ParamType::TvoidConstPointer, pixels, &pixelsParam.value);
CaptureTexSubImage2DRobustANGLE_pixels(glState, isCallValid, targetPacked, level, xoffset,
yoffset, width, height, format, type, bufSize, pixels,
&pixelsParam);
paramBuffer.addParam(std::move(pixelsParam));
return CallCapture(gl::EntryPoint::TexSubImage2DRobustANGLE, std::move(paramBuffer));
}
CallCapture CaptureTexImage3DRobustANGLE(const State &glState,
bool isCallValid,
TextureTarget targetPacked,
GLint level,
GLint internalformat,
GLsizei width,
GLsizei height,
GLsizei depth,
GLint border,
GLenum format,
GLenum type,
GLsizei bufSize,
const void *pixels)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("targetPacked", ParamType::TTextureTarget, targetPacked);
paramBuffer.addValueParam("level", ParamType::TGLint, level);
paramBuffer.addValueParam("internalformat", ParamType::TGLint, internalformat);
paramBuffer.addValueParam("width", ParamType::TGLsizei, width);
paramBuffer.addValueParam("height", ParamType::TGLsizei, height);
paramBuffer.addValueParam("depth", ParamType::TGLsizei, depth);
paramBuffer.addValueParam("border", ParamType::TGLint, border);
paramBuffer.addEnumParam("format", GLenumGroup::DefaultGroup, ParamType::TGLenum, format);
paramBuffer.addEnumParam("type", GLenumGroup::DefaultGroup, ParamType::TGLenum, type);
paramBuffer.addValueParam("bufSize", ParamType::TGLsizei, bufSize);
ParamCapture pixelsParam("pixels", ParamType::TvoidConstPointer);
InitParamValue(ParamType::TvoidConstPointer, pixels, &pixelsParam.value);
CaptureTexImage3DRobustANGLE_pixels(glState, isCallValid, targetPacked, level, internalformat,
width, height, depth, border, format, type, bufSize, pixels,
&pixelsParam);
paramBuffer.addParam(std::move(pixelsParam));
return CallCapture(gl::EntryPoint::TexImage3DRobustANGLE, std::move(paramBuffer));
}
CallCapture CaptureTexSubImage3DRobustANGLE(const State &glState,
bool isCallValid,
TextureTarget targetPacked,
GLint level,
GLint xoffset,
GLint yoffset,
GLint zoffset,
GLsizei width,
GLsizei height,
GLsizei depth,
GLenum format,
GLenum type,
GLsizei bufSize,
const void *pixels)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("targetPacked", ParamType::TTextureTarget, targetPacked);
paramBuffer.addValueParam("level", ParamType::TGLint, level);
paramBuffer.addValueParam("xoffset", ParamType::TGLint, xoffset);
paramBuffer.addValueParam("yoffset", ParamType::TGLint, yoffset);
paramBuffer.addValueParam("zoffset", ParamType::TGLint, zoffset);
paramBuffer.addValueParam("width", ParamType::TGLsizei, width);
paramBuffer.addValueParam("height", ParamType::TGLsizei, height);
paramBuffer.addValueParam("depth", ParamType::TGLsizei, depth);
paramBuffer.addEnumParam("format", GLenumGroup::DefaultGroup, ParamType::TGLenum, format);
paramBuffer.addEnumParam("type", GLenumGroup::DefaultGroup, ParamType::TGLenum, type);
paramBuffer.addValueParam("bufSize", ParamType::TGLsizei, bufSize);
ParamCapture pixelsParam("pixels", ParamType::TvoidConstPointer);
InitParamValue(ParamType::TvoidConstPointer, pixels, &pixelsParam.value);
CaptureTexSubImage3DRobustANGLE_pixels(glState, isCallValid, targetPacked, level, xoffset,
yoffset, zoffset, width, height, depth, format, type,
bufSize, pixels, &pixelsParam);
paramBuffer.addParam(std::move(pixelsParam));
return CallCapture(gl::EntryPoint::TexSubImage3DRobustANGLE, std::move(paramBuffer));
}
CallCapture CaptureCompressedTexImage2DRobustANGLE(const State &glState,
bool isCallValid,
TextureTarget targetPacked,
GLint level,
GLenum internalformat,
GLsizei width,
GLsizei height,
GLint border,
GLsizei imageSize,
GLsizei dataSize,
const GLvoid *data)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("targetPacked", ParamType::TTextureTarget, targetPacked);
paramBuffer.addValueParam("level", ParamType::TGLint, level);
paramBuffer.addEnumParam("internalformat", GLenumGroup::DefaultGroup, ParamType::TGLenum,
internalformat);
paramBuffer.addValueParam("width", ParamType::TGLsizei, width);
paramBuffer.addValueParam("height", ParamType::TGLsizei, height);
paramBuffer.addValueParam("border", ParamType::TGLint, border);
paramBuffer.addValueParam("imageSize", ParamType::TGLsizei, imageSize);
paramBuffer.addValueParam("dataSize", ParamType::TGLsizei, dataSize);
ParamCapture dataParam("data", ParamType::TGLvoidConstPointer);
InitParamValue(ParamType::TGLvoidConstPointer, data, &dataParam.value);
CaptureCompressedTexImage2DRobustANGLE_data(glState, isCallValid, targetPacked, level,
internalformat, width, height, border, imageSize,
dataSize, data, &dataParam);
paramBuffer.addParam(std::move(dataParam));
return CallCapture(gl::EntryPoint::CompressedTexImage2DRobustANGLE, std::move(paramBuffer));
}
CallCapture CaptureCompressedTexSubImage2DRobustANGLE(const State &glState,
bool isCallValid,
TextureTarget targetPacked,
GLint level,
GLsizei xoffset,
GLsizei yoffset,
GLsizei width,
GLsizei height,
GLenum format,
GLsizei imageSize,
GLsizei dataSize,
const GLvoid *data)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("targetPacked", ParamType::TTextureTarget, targetPacked);
paramBuffer.addValueParam("level", ParamType::TGLint, level);
paramBuffer.addValueParam("xoffset", ParamType::TGLsizei, xoffset);
paramBuffer.addValueParam("yoffset", ParamType::TGLsizei, yoffset);
paramBuffer.addValueParam("width", ParamType::TGLsizei, width);
paramBuffer.addValueParam("height", ParamType::TGLsizei, height);
paramBuffer.addEnumParam("format", GLenumGroup::DefaultGroup, ParamType::TGLenum, format);
paramBuffer.addValueParam("imageSize", ParamType::TGLsizei, imageSize);
paramBuffer.addValueParam("dataSize", ParamType::TGLsizei, dataSize);
ParamCapture dataParam("data", ParamType::TGLvoidConstPointer);
InitParamValue(ParamType::TGLvoidConstPointer, data, &dataParam.value);
CaptureCompressedTexSubImage2DRobustANGLE_data(glState, isCallValid, targetPacked, level,
xoffset, yoffset, width, height, format,
imageSize, dataSize, data, &dataParam);
paramBuffer.addParam(std::move(dataParam));
return CallCapture(gl::EntryPoint::CompressedTexSubImage2DRobustANGLE, std::move(paramBuffer));
}
CallCapture CaptureCompressedTexImage3DRobustANGLE(const State &glState,
bool isCallValid,
TextureTarget targetPacked,
GLint level,
GLenum internalformat,
GLsizei width,
GLsizei height,
GLsizei depth,
GLint border,
GLsizei imageSize,
GLsizei dataSize,
const GLvoid *data)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("targetPacked", ParamType::TTextureTarget, targetPacked);
paramBuffer.addValueParam("level", ParamType::TGLint, level);
paramBuffer.addEnumParam("internalformat", GLenumGroup::DefaultGroup, ParamType::TGLenum,
internalformat);
paramBuffer.addValueParam("width", ParamType::TGLsizei, width);
paramBuffer.addValueParam("height", ParamType::TGLsizei, height);
paramBuffer.addValueParam("depth", ParamType::TGLsizei, depth);
paramBuffer.addValueParam("border", ParamType::TGLint, border);
paramBuffer.addValueParam("imageSize", ParamType::TGLsizei, imageSize);
paramBuffer.addValueParam("dataSize", ParamType::TGLsizei, dataSize);
ParamCapture dataParam("data", ParamType::TGLvoidConstPointer);
InitParamValue(ParamType::TGLvoidConstPointer, data, &dataParam.value);
CaptureCompressedTexImage3DRobustANGLE_data(glState, isCallValid, targetPacked, level,
internalformat, width, height, depth, border,
imageSize, dataSize, data, &dataParam);
paramBuffer.addParam(std::move(dataParam));
return CallCapture(gl::EntryPoint::CompressedTexImage3DRobustANGLE, std::move(paramBuffer));
}
CallCapture CaptureCompressedTexSubImage3DRobustANGLE(const State &glState,
bool isCallValid,
TextureTarget targetPacked,
GLint level,
GLint xoffset,
GLint yoffset,
GLint zoffset,
GLsizei width,
GLsizei height,
GLsizei depth,
GLenum format,
GLsizei imageSize,
GLsizei dataSize,
const GLvoid *data)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("targetPacked", ParamType::TTextureTarget, targetPacked);
paramBuffer.addValueParam("level", ParamType::TGLint, level);
paramBuffer.addValueParam("xoffset", ParamType::TGLint, xoffset);
paramBuffer.addValueParam("yoffset", ParamType::TGLint, yoffset);
paramBuffer.addValueParam("zoffset", ParamType::TGLint, zoffset);
paramBuffer.addValueParam("width", ParamType::TGLsizei, width);
paramBuffer.addValueParam("height", ParamType::TGLsizei, height);
paramBuffer.addValueParam("depth", ParamType::TGLsizei, depth);
paramBuffer.addEnumParam("format", GLenumGroup::DefaultGroup, ParamType::TGLenum, format);
paramBuffer.addValueParam("imageSize", ParamType::TGLsizei, imageSize);
paramBuffer.addValueParam("dataSize", ParamType::TGLsizei, dataSize);
ParamCapture dataParam("data", ParamType::TGLvoidConstPointer);
InitParamValue(ParamType::TGLvoidConstPointer, data, &dataParam.value);
CaptureCompressedTexSubImage3DRobustANGLE_data(glState, isCallValid, targetPacked, level,
xoffset, yoffset, zoffset, width, height, depth,
format, imageSize, dataSize, data, &dataParam);
paramBuffer.addParam(std::move(dataParam));
return CallCapture(gl::EntryPoint::CompressedTexSubImage3DRobustANGLE, std::move(paramBuffer));
}
CallCapture CaptureGetQueryivRobustANGLE(const State &glState,
bool isCallValid,
QueryType targetPacked,
GLenum pname,
GLsizei bufSize,
GLsizei *length,
GLint *params)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("targetPacked", ParamType::TQueryType, targetPacked);
paramBuffer.addEnumParam("pname", GLenumGroup::DefaultGroup, ParamType::TGLenum, pname);
paramBuffer.addValueParam("bufSize", ParamType::TGLsizei, bufSize);
ParamCapture lengthParam("length", ParamType::TGLsizeiPointer);
InitParamValue(ParamType::TGLsizeiPointer, length, &lengthParam.value);
CaptureGetQueryivRobustANGLE_length(glState, isCallValid, targetPacked, pname, bufSize, length,
params, &lengthParam);
paramBuffer.addParam(std::move(lengthParam));
ParamCapture paramsParam("params", ParamType::TGLintPointer);
InitParamValue(ParamType::TGLintPointer, params, &paramsParam.value);
CaptureGetQueryivRobustANGLE_params(glState, isCallValid, targetPacked, pname, bufSize, length,
params, &paramsParam);
paramBuffer.addParam(std::move(paramsParam));
return CallCapture(gl::EntryPoint::GetQueryivRobustANGLE, std::move(paramBuffer));
}
CallCapture CaptureGetQueryObjectuivRobustANGLE(const State &glState,
bool isCallValid,
QueryID idPacked,
GLenum pname,
GLsizei bufSize,
GLsizei *length,
GLuint *params)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("idPacked", ParamType::TQueryID, idPacked);
paramBuffer.addEnumParam("pname", GLenumGroup::DefaultGroup, ParamType::TGLenum, pname);
paramBuffer.addValueParam("bufSize", ParamType::TGLsizei, bufSize);
ParamCapture lengthParam("length", ParamType::TGLsizeiPointer);
InitParamValue(ParamType::TGLsizeiPointer, length, &lengthParam.value);
CaptureGetQueryObjectuivRobustANGLE_length(glState, isCallValid, idPacked, pname, bufSize,
length, params, &lengthParam);
paramBuffer.addParam(std::move(lengthParam));
ParamCapture paramsParam("params", ParamType::TGLuintPointer);
InitParamValue(ParamType::TGLuintPointer, params, &paramsParam.value);
CaptureGetQueryObjectuivRobustANGLE_params(glState, isCallValid, idPacked, pname, bufSize,
length, params, &paramsParam);
paramBuffer.addParam(std::move(paramsParam));
return CallCapture(gl::EntryPoint::GetQueryObjectuivRobustANGLE, std::move(paramBuffer));
}
CallCapture CaptureGetBufferPointervRobustANGLE(const State &glState,
bool isCallValid,
BufferBinding targetPacked,
GLenum pname,
GLsizei bufSize,
GLsizei *length,
void **params)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("targetPacked", ParamType::TBufferBinding, targetPacked);
paramBuffer.addEnumParam("pname", GLenumGroup::DefaultGroup, ParamType::TGLenum, pname);
paramBuffer.addValueParam("bufSize", ParamType::TGLsizei, bufSize);
ParamCapture lengthParam("length", ParamType::TGLsizeiPointer);
InitParamValue(ParamType::TGLsizeiPointer, length, &lengthParam.value);
CaptureGetBufferPointervRobustANGLE_length(glState, isCallValid, targetPacked, pname, bufSize,
length, params, &lengthParam);
paramBuffer.addParam(std::move(lengthParam));
ParamCapture paramsParam("params", ParamType::TvoidPointerPointer);
InitParamValue(ParamType::TvoidPointerPointer, params, &paramsParam.value);
CaptureGetBufferPointervRobustANGLE_params(glState, isCallValid, targetPacked, pname, bufSize,
length, params, &paramsParam);
paramBuffer.addParam(std::move(paramsParam));
return CallCapture(gl::EntryPoint::GetBufferPointervRobustANGLE, std::move(paramBuffer));
}
CallCapture CaptureGetIntegeri_vRobustANGLE(const State &glState,
bool isCallValid,
GLenum target,
GLuint index,
GLsizei bufSize,
GLsizei *length,
GLint *data)
{
ParamBuffer paramBuffer;
paramBuffer.addEnumParam("target", GLenumGroup::DefaultGroup, ParamType::TGLenum, target);
paramBuffer.addValueParam("index", ParamType::TGLuint, index);
paramBuffer.addValueParam("bufSize", ParamType::TGLsizei, bufSize);
ParamCapture lengthParam("length", ParamType::TGLsizeiPointer);
InitParamValue(ParamType::TGLsizeiPointer, length, &lengthParam.value);
CaptureGetIntegeri_vRobustANGLE_length(glState, isCallValid, target, index, bufSize, length,
data, &lengthParam);
paramBuffer.addParam(std::move(lengthParam));
ParamCapture dataParam("data", ParamType::TGLintPointer);
InitParamValue(ParamType::TGLintPointer, data, &dataParam.value);
CaptureGetIntegeri_vRobustANGLE_data(glState, isCallValid, target, index, bufSize, length, data,
&dataParam);
paramBuffer.addParam(std::move(dataParam));
return CallCapture(gl::EntryPoint::GetIntegeri_vRobustANGLE, std::move(paramBuffer));
}
CallCapture CaptureGetInternalformativRobustANGLE(const State &glState,
bool isCallValid,
GLenum target,
GLenum internalformat,
GLenum pname,
GLsizei bufSize,
GLsizei *length,
GLint *params)
{
ParamBuffer paramBuffer;
paramBuffer.addEnumParam("target", GLenumGroup::DefaultGroup, ParamType::TGLenum, target);
paramBuffer.addEnumParam("internalformat", GLenumGroup::DefaultGroup, ParamType::TGLenum,
internalformat);
paramBuffer.addEnumParam("pname", GLenumGroup::DefaultGroup, ParamType::TGLenum, pname);
paramBuffer.addValueParam("bufSize", ParamType::TGLsizei, bufSize);
ParamCapture lengthParam("length", ParamType::TGLsizeiPointer);
InitParamValue(ParamType::TGLsizeiPointer, length, &lengthParam.value);
CaptureGetInternalformativRobustANGLE_length(glState, isCallValid, target, internalformat,
pname, bufSize, length, params, &lengthParam);
paramBuffer.addParam(std::move(lengthParam));
ParamCapture paramsParam("params", ParamType::TGLintPointer);
InitParamValue(ParamType::TGLintPointer, params, &paramsParam.value);
CaptureGetInternalformativRobustANGLE_params(glState, isCallValid, target, internalformat,
pname, bufSize, length, params, &paramsParam);
paramBuffer.addParam(std::move(paramsParam));
return CallCapture(gl::EntryPoint::GetInternalformativRobustANGLE, std::move(paramBuffer));
}
CallCapture CaptureGetVertexAttribIivRobustANGLE(const State &glState,
bool isCallValid,
GLuint index,
GLenum pname,
GLsizei bufSize,
GLsizei *length,
GLint *params)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("index", ParamType::TGLuint, index);
paramBuffer.addEnumParam("pname", GLenumGroup::DefaultGroup, ParamType::TGLenum, pname);
paramBuffer.addValueParam("bufSize", ParamType::TGLsizei, bufSize);
ParamCapture lengthParam("length", ParamType::TGLsizeiPointer);
InitParamValue(ParamType::TGLsizeiPointer, length, &lengthParam.value);
CaptureGetVertexAttribIivRobustANGLE_length(glState, isCallValid, index, pname, bufSize, length,
params, &lengthParam);
paramBuffer.addParam(std::move(lengthParam));
ParamCapture paramsParam("params", ParamType::TGLintPointer);
InitParamValue(ParamType::TGLintPointer, params, &paramsParam.value);
CaptureGetVertexAttribIivRobustANGLE_params(glState, isCallValid, index, pname, bufSize, length,
params, &paramsParam);
paramBuffer.addParam(std::move(paramsParam));
return CallCapture(gl::EntryPoint::GetVertexAttribIivRobustANGLE, std::move(paramBuffer));
}
CallCapture CaptureGetVertexAttribIuivRobustANGLE(const State &glState,
bool isCallValid,
GLuint index,
GLenum pname,
GLsizei bufSize,
GLsizei *length,
GLuint *params)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("index", ParamType::TGLuint, index);
paramBuffer.addEnumParam("pname", GLenumGroup::DefaultGroup, ParamType::TGLenum, pname);
paramBuffer.addValueParam("bufSize", ParamType::TGLsizei, bufSize);
ParamCapture lengthParam("length", ParamType::TGLsizeiPointer);
InitParamValue(ParamType::TGLsizeiPointer, length, &lengthParam.value);
CaptureGetVertexAttribIuivRobustANGLE_length(glState, isCallValid, index, pname, bufSize,
length, params, &lengthParam);
paramBuffer.addParam(std::move(lengthParam));
ParamCapture paramsParam("params", ParamType::TGLuintPointer);
InitParamValue(ParamType::TGLuintPointer, params, &paramsParam.value);
CaptureGetVertexAttribIuivRobustANGLE_params(glState, isCallValid, index, pname, bufSize,
length, params, &paramsParam);
paramBuffer.addParam(std::move(paramsParam));
return CallCapture(gl::EntryPoint::GetVertexAttribIuivRobustANGLE, std::move(paramBuffer));
}
CallCapture CaptureGetUniformuivRobustANGLE(const State &glState,
bool isCallValid,
ShaderProgramID programPacked,
GLint location,
GLsizei bufSize,
GLsizei *length,
GLuint *params)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("programPacked", ParamType::TShaderProgramID, programPacked);
paramBuffer.addValueParam("location", ParamType::TGLint, location);
paramBuffer.addValueParam("bufSize", ParamType::TGLsizei, bufSize);
ParamCapture lengthParam("length", ParamType::TGLsizeiPointer);
InitParamValue(ParamType::TGLsizeiPointer, length, &lengthParam.value);
CaptureGetUniformuivRobustANGLE_length(glState, isCallValid, programPacked, location, bufSize,
length, params, &lengthParam);
paramBuffer.addParam(std::move(lengthParam));
ParamCapture paramsParam("params", ParamType::TGLuintPointer);
InitParamValue(ParamType::TGLuintPointer, params, &paramsParam.value);
CaptureGetUniformuivRobustANGLE_params(glState, isCallValid, programPacked, location, bufSize,
length, params, &paramsParam);
paramBuffer.addParam(std::move(paramsParam));
return CallCapture(gl::EntryPoint::GetUniformuivRobustANGLE, std::move(paramBuffer));
}
CallCapture CaptureGetActiveUniformBlockivRobustANGLE(const State &glState,
bool isCallValid,
ShaderProgramID programPacked,
GLuint uniformBlockIndex,
GLenum pname,
GLsizei bufSize,
GLsizei *length,
GLint *params)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("programPacked", ParamType::TShaderProgramID, programPacked);
paramBuffer.addValueParam("uniformBlockIndex", ParamType::TGLuint, uniformBlockIndex);
paramBuffer.addEnumParam("pname", GLenumGroup::DefaultGroup, ParamType::TGLenum, pname);
paramBuffer.addValueParam("bufSize", ParamType::TGLsizei, bufSize);
ParamCapture lengthParam("length", ParamType::TGLsizeiPointer);
InitParamValue(ParamType::TGLsizeiPointer, length, &lengthParam.value);
CaptureGetActiveUniformBlockivRobustANGLE_length(glState, isCallValid, programPacked,
uniformBlockIndex, pname, bufSize, length,
params, &lengthParam);
paramBuffer.addParam(std::move(lengthParam));
ParamCapture paramsParam("params", ParamType::TGLintPointer);
InitParamValue(ParamType::TGLintPointer, params, &paramsParam.value);
CaptureGetActiveUniformBlockivRobustANGLE_params(glState, isCallValid, programPacked,
uniformBlockIndex, pname, bufSize, length,
params, &paramsParam);
paramBuffer.addParam(std::move(paramsParam));
return CallCapture(gl::EntryPoint::GetActiveUniformBlockivRobustANGLE, std::move(paramBuffer));
}
CallCapture CaptureGetInteger64vRobustANGLE(const State &glState,
bool isCallValid,
GLenum pname,
GLsizei bufSize,
GLsizei *length,
GLint64 *data)
{
ParamBuffer paramBuffer;
paramBuffer.addEnumParam("pname", GLenumGroup::DefaultGroup, ParamType::TGLenum, pname);
paramBuffer.addValueParam("bufSize", ParamType::TGLsizei, bufSize);
ParamCapture lengthParam("length", ParamType::TGLsizeiPointer);
InitParamValue(ParamType::TGLsizeiPointer, length, &lengthParam.value);
CaptureGetInteger64vRobustANGLE_length(glState, isCallValid, pname, bufSize, length, data,
&lengthParam);
paramBuffer.addParam(std::move(lengthParam));
ParamCapture dataParam("data", ParamType::TGLint64Pointer);
InitParamValue(ParamType::TGLint64Pointer, data, &dataParam.value);
CaptureGetInteger64vRobustANGLE_data(glState, isCallValid, pname, bufSize, length, data,
&dataParam);
paramBuffer.addParam(std::move(dataParam));
return CallCapture(gl::EntryPoint::GetInteger64vRobustANGLE, std::move(paramBuffer));
}
CallCapture CaptureGetInteger64i_vRobustANGLE(const State &glState,
bool isCallValid,
GLenum target,
GLuint index,
GLsizei bufSize,
GLsizei *length,
GLint64 *data)
{
ParamBuffer paramBuffer;
paramBuffer.addEnumParam("target", GLenumGroup::DefaultGroup, ParamType::TGLenum, target);
paramBuffer.addValueParam("index", ParamType::TGLuint, index);
paramBuffer.addValueParam("bufSize", ParamType::TGLsizei, bufSize);
ParamCapture lengthParam("length", ParamType::TGLsizeiPointer);
InitParamValue(ParamType::TGLsizeiPointer, length, &lengthParam.value);
CaptureGetInteger64i_vRobustANGLE_length(glState, isCallValid, target, index, bufSize, length,
data, &lengthParam);
paramBuffer.addParam(std::move(lengthParam));
ParamCapture dataParam("data", ParamType::TGLint64Pointer);
InitParamValue(ParamType::TGLint64Pointer, data, &dataParam.value);
CaptureGetInteger64i_vRobustANGLE_data(glState, isCallValid, target, index, bufSize, length,
data, &dataParam);
paramBuffer.addParam(std::move(dataParam));
return CallCapture(gl::EntryPoint::GetInteger64i_vRobustANGLE, std::move(paramBuffer));
}
CallCapture CaptureGetBufferParameteri64vRobustANGLE(const State &glState,
bool isCallValid,
BufferBinding targetPacked,
GLenum pname,
GLsizei bufSize,
GLsizei *length,
GLint64 *params)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("targetPacked", ParamType::TBufferBinding, targetPacked);
paramBuffer.addEnumParam("pname", GLenumGroup::DefaultGroup, ParamType::TGLenum, pname);
paramBuffer.addValueParam("bufSize", ParamType::TGLsizei, bufSize);
ParamCapture lengthParam("length", ParamType::TGLsizeiPointer);
InitParamValue(ParamType::TGLsizeiPointer, length, &lengthParam.value);
CaptureGetBufferParameteri64vRobustANGLE_length(glState, isCallValid, targetPacked, pname,
bufSize, length, params, &lengthParam);
paramBuffer.addParam(std::move(lengthParam));
ParamCapture paramsParam("params", ParamType::TGLint64Pointer);
InitParamValue(ParamType::TGLint64Pointer, params, &paramsParam.value);
CaptureGetBufferParameteri64vRobustANGLE_params(glState, isCallValid, targetPacked, pname,
bufSize, length, params, &paramsParam);
paramBuffer.addParam(std::move(paramsParam));
return CallCapture(gl::EntryPoint::GetBufferParameteri64vRobustANGLE, std::move(paramBuffer));
}
CallCapture CaptureSamplerParameterivRobustANGLE(const State &glState,
bool isCallValid,
SamplerID samplerPacked,
GLuint pname,
GLsizei bufSize,
const GLint *param)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("samplerPacked", ParamType::TSamplerID, samplerPacked);
paramBuffer.addValueParam("pname", ParamType::TGLuint, pname);
paramBuffer.addValueParam("bufSize", ParamType::TGLsizei, bufSize);
ParamCapture paramParam("param", ParamType::TGLintConstPointer);
InitParamValue(ParamType::TGLintConstPointer, param, &paramParam.value);
CaptureSamplerParameterivRobustANGLE_param(glState, isCallValid, samplerPacked, pname, bufSize,
param, &paramParam);
paramBuffer.addParam(std::move(paramParam));
return CallCapture(gl::EntryPoint::SamplerParameterivRobustANGLE, std::move(paramBuffer));
}
CallCapture CaptureSamplerParameterfvRobustANGLE(const State &glState,
bool isCallValid,
SamplerID samplerPacked,
GLenum pname,
GLsizei bufSize,
const GLfloat *param)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("samplerPacked", ParamType::TSamplerID, samplerPacked);
paramBuffer.addEnumParam("pname", GLenumGroup::DefaultGroup, ParamType::TGLenum, pname);
paramBuffer.addValueParam("bufSize", ParamType::TGLsizei, bufSize);
ParamCapture paramParam("param", ParamType::TGLfloatConstPointer);
InitParamValue(ParamType::TGLfloatConstPointer, param, &paramParam.value);
CaptureSamplerParameterfvRobustANGLE_param(glState, isCallValid, samplerPacked, pname, bufSize,
param, &paramParam);
paramBuffer.addParam(std::move(paramParam));
return CallCapture(gl::EntryPoint::SamplerParameterfvRobustANGLE, std::move(paramBuffer));
}
CallCapture CaptureGetSamplerParameterivRobustANGLE(const State &glState,
bool isCallValid,
SamplerID samplerPacked,
GLenum pname,
GLsizei bufSize,
GLsizei *length,
GLint *params)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("samplerPacked", ParamType::TSamplerID, samplerPacked);
paramBuffer.addEnumParam("pname", GLenumGroup::DefaultGroup, ParamType::TGLenum, pname);
paramBuffer.addValueParam("bufSize", ParamType::TGLsizei, bufSize);
ParamCapture lengthParam("length", ParamType::TGLsizeiPointer);
InitParamValue(ParamType::TGLsizeiPointer, length, &lengthParam.value);
CaptureGetSamplerParameterivRobustANGLE_length(glState, isCallValid, samplerPacked, pname,
bufSize, length, params, &lengthParam);
paramBuffer.addParam(std::move(lengthParam));
ParamCapture paramsParam("params", ParamType::TGLintPointer);
InitParamValue(ParamType::TGLintPointer, params, &paramsParam.value);
CaptureGetSamplerParameterivRobustANGLE_params(glState, isCallValid, samplerPacked, pname,
bufSize, length, params, &paramsParam);
paramBuffer.addParam(std::move(paramsParam));
return CallCapture(gl::EntryPoint::GetSamplerParameterivRobustANGLE, std::move(paramBuffer));
}
CallCapture CaptureGetSamplerParameterfvRobustANGLE(const State &glState,
bool isCallValid,
SamplerID samplerPacked,
GLenum pname,
GLsizei bufSize,
GLsizei *length,
GLfloat *params)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("samplerPacked", ParamType::TSamplerID, samplerPacked);
paramBuffer.addEnumParam("pname", GLenumGroup::DefaultGroup, ParamType::TGLenum, pname);
paramBuffer.addValueParam("bufSize", ParamType::TGLsizei, bufSize);
ParamCapture lengthParam("length", ParamType::TGLsizeiPointer);
InitParamValue(ParamType::TGLsizeiPointer, length, &lengthParam.value);
CaptureGetSamplerParameterfvRobustANGLE_length(glState, isCallValid, samplerPacked, pname,
bufSize, length, params, &lengthParam);
paramBuffer.addParam(std::move(lengthParam));
ParamCapture paramsParam("params", ParamType::TGLfloatPointer);
InitParamValue(ParamType::TGLfloatPointer, params, &paramsParam.value);
CaptureGetSamplerParameterfvRobustANGLE_params(glState, isCallValid, samplerPacked, pname,
bufSize, length, params, &paramsParam);
paramBuffer.addParam(std::move(paramsParam));
return CallCapture(gl::EntryPoint::GetSamplerParameterfvRobustANGLE, std::move(paramBuffer));
}
CallCapture CaptureGetFramebufferParameterivRobustANGLE(const State &glState,
bool isCallValid,
GLenum target,
GLenum pname,
GLsizei bufSize,
GLsizei *length,
GLint *params)
{
ParamBuffer paramBuffer;
paramBuffer.addEnumParam("target", GLenumGroup::DefaultGroup, ParamType::TGLenum, target);
paramBuffer.addEnumParam("pname", GLenumGroup::DefaultGroup, ParamType::TGLenum, pname);
paramBuffer.addValueParam("bufSize", ParamType::TGLsizei, bufSize);
ParamCapture lengthParam("length", ParamType::TGLsizeiPointer);
InitParamValue(ParamType::TGLsizeiPointer, length, &lengthParam.value);
CaptureGetFramebufferParameterivRobustANGLE_length(glState, isCallValid, target, pname, bufSize,
length, params, &lengthParam);
paramBuffer.addParam(std::move(lengthParam));
ParamCapture paramsParam("params", ParamType::TGLintPointer);
InitParamValue(ParamType::TGLintPointer, params, &paramsParam.value);
CaptureGetFramebufferParameterivRobustANGLE_params(glState, isCallValid, target, pname, bufSize,
length, params, &paramsParam);
paramBuffer.addParam(std::move(paramsParam));
return CallCapture(gl::EntryPoint::GetFramebufferParameterivRobustANGLE,
std::move(paramBuffer));
}
CallCapture CaptureGetProgramInterfaceivRobustANGLE(const State &glState,
bool isCallValid,
ShaderProgramID programPacked,
GLenum programInterface,
GLenum pname,
GLsizei bufSize,
GLsizei *length,
GLint *params)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("programPacked", ParamType::TShaderProgramID, programPacked);
paramBuffer.addEnumParam("programInterface", GLenumGroup::DefaultGroup, ParamType::TGLenum,
programInterface);
paramBuffer.addEnumParam("pname", GLenumGroup::DefaultGroup, ParamType::TGLenum, pname);
paramBuffer.addValueParam("bufSize", ParamType::TGLsizei, bufSize);
ParamCapture lengthParam("length", ParamType::TGLsizeiPointer);
InitParamValue(ParamType::TGLsizeiPointer, length, &lengthParam.value);
CaptureGetProgramInterfaceivRobustANGLE_length(glState, isCallValid, programPacked,
programInterface, pname, bufSize, length, params,
&lengthParam);
paramBuffer.addParam(std::move(lengthParam));
ParamCapture paramsParam("params", ParamType::TGLintPointer);
InitParamValue(ParamType::TGLintPointer, params, &paramsParam.value);
CaptureGetProgramInterfaceivRobustANGLE_params(glState, isCallValid, programPacked,
programInterface, pname, bufSize, length, params,
&paramsParam);
paramBuffer.addParam(std::move(paramsParam));
return CallCapture(gl::EntryPoint::GetProgramInterfaceivRobustANGLE, std::move(paramBuffer));
}
CallCapture CaptureGetBooleani_vRobustANGLE(const State &glState,
bool isCallValid,
GLenum target,
GLuint index,
GLsizei bufSize,
GLsizei *length,
GLboolean *data)
{
ParamBuffer paramBuffer;
paramBuffer.addEnumParam("target", GLenumGroup::DefaultGroup, ParamType::TGLenum, target);
paramBuffer.addValueParam("index", ParamType::TGLuint, index);
paramBuffer.addValueParam("bufSize", ParamType::TGLsizei, bufSize);
ParamCapture lengthParam("length", ParamType::TGLsizeiPointer);
InitParamValue(ParamType::TGLsizeiPointer, length, &lengthParam.value);
CaptureGetBooleani_vRobustANGLE_length(glState, isCallValid, target, index, bufSize, length,
data, &lengthParam);
paramBuffer.addParam(std::move(lengthParam));
ParamCapture dataParam("data", ParamType::TGLbooleanPointer);
InitParamValue(ParamType::TGLbooleanPointer, data, &dataParam.value);
CaptureGetBooleani_vRobustANGLE_data(glState, isCallValid, target, index, bufSize, length, data,
&dataParam);
paramBuffer.addParam(std::move(dataParam));
return CallCapture(gl::EntryPoint::GetBooleani_vRobustANGLE, std::move(paramBuffer));
}
CallCapture CaptureGetMultisamplefvRobustANGLE(const State &glState,
bool isCallValid,
GLenum pname,
GLuint index,
GLsizei bufSize,
GLsizei *length,
GLfloat *val)
{
ParamBuffer paramBuffer;
paramBuffer.addEnumParam("pname", GLenumGroup::DefaultGroup, ParamType::TGLenum, pname);
paramBuffer.addValueParam("index", ParamType::TGLuint, index);
paramBuffer.addValueParam("bufSize", ParamType::TGLsizei, bufSize);
ParamCapture lengthParam("length", ParamType::TGLsizeiPointer);
InitParamValue(ParamType::TGLsizeiPointer, length, &lengthParam.value);
CaptureGetMultisamplefvRobustANGLE_length(glState, isCallValid, pname, index, bufSize, length,
val, &lengthParam);
paramBuffer.addParam(std::move(lengthParam));
ParamCapture valParam("val", ParamType::TGLfloatPointer);
InitParamValue(ParamType::TGLfloatPointer, val, &valParam.value);
CaptureGetMultisamplefvRobustANGLE_val(glState, isCallValid, pname, index, bufSize, length, val,
&valParam);
paramBuffer.addParam(std::move(valParam));
return CallCapture(gl::EntryPoint::GetMultisamplefvRobustANGLE, std::move(paramBuffer));
}
CallCapture CaptureGetTexLevelParameterivRobustANGLE(const State &glState,
bool isCallValid,
TextureTarget targetPacked,
GLint level,
GLenum pname,
GLsizei bufSize,
GLsizei *length,
GLint *params)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("targetPacked", ParamType::TTextureTarget, targetPacked);
paramBuffer.addValueParam("level", ParamType::TGLint, level);
paramBuffer.addEnumParam("pname", GLenumGroup::DefaultGroup, ParamType::TGLenum, pname);
paramBuffer.addValueParam("bufSize", ParamType::TGLsizei, bufSize);
ParamCapture lengthParam("length", ParamType::TGLsizeiPointer);
InitParamValue(ParamType::TGLsizeiPointer, length, &lengthParam.value);
CaptureGetTexLevelParameterivRobustANGLE_length(glState, isCallValid, targetPacked, level,
pname, bufSize, length, params, &lengthParam);
paramBuffer.addParam(std::move(lengthParam));
ParamCapture paramsParam("params", ParamType::TGLintPointer);
InitParamValue(ParamType::TGLintPointer, params, &paramsParam.value);
CaptureGetTexLevelParameterivRobustANGLE_params(glState, isCallValid, targetPacked, level,
pname, bufSize, length, params, &paramsParam);
paramBuffer.addParam(std::move(paramsParam));
return CallCapture(gl::EntryPoint::GetTexLevelParameterivRobustANGLE, std::move(paramBuffer));
}
CallCapture CaptureGetTexLevelParameterfvRobustANGLE(const State &glState,
bool isCallValid,
TextureTarget targetPacked,
GLint level,
GLenum pname,
GLsizei bufSize,
GLsizei *length,
GLfloat *params)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("targetPacked", ParamType::TTextureTarget, targetPacked);
paramBuffer.addValueParam("level", ParamType::TGLint, level);
paramBuffer.addEnumParam("pname", GLenumGroup::DefaultGroup, ParamType::TGLenum, pname);
paramBuffer.addValueParam("bufSize", ParamType::TGLsizei, bufSize);
ParamCapture lengthParam("length", ParamType::TGLsizeiPointer);
InitParamValue(ParamType::TGLsizeiPointer, length, &lengthParam.value);
CaptureGetTexLevelParameterfvRobustANGLE_length(glState, isCallValid, targetPacked, level,
pname, bufSize, length, params, &lengthParam);
paramBuffer.addParam(std::move(lengthParam));
ParamCapture paramsParam("params", ParamType::TGLfloatPointer);
InitParamValue(ParamType::TGLfloatPointer, params, &paramsParam.value);
CaptureGetTexLevelParameterfvRobustANGLE_params(glState, isCallValid, targetPacked, level,
pname, bufSize, length, params, &paramsParam);
paramBuffer.addParam(std::move(paramsParam));
return CallCapture(gl::EntryPoint::GetTexLevelParameterfvRobustANGLE, std::move(paramBuffer));
}
CallCapture CaptureGetPointervRobustANGLERobustANGLE(const State &glState,
bool isCallValid,
GLenum pname,
GLsizei bufSize,
GLsizei *length,
void **params)
{
ParamBuffer paramBuffer;
paramBuffer.addEnumParam("pname", GLenumGroup::DefaultGroup, ParamType::TGLenum, pname);
paramBuffer.addValueParam("bufSize", ParamType::TGLsizei, bufSize);
ParamCapture lengthParam("length", ParamType::TGLsizeiPointer);
InitParamValue(ParamType::TGLsizeiPointer, length, &lengthParam.value);
CaptureGetPointervRobustANGLERobustANGLE_length(glState, isCallValid, pname, bufSize, length,
params, &lengthParam);
paramBuffer.addParam(std::move(lengthParam));
ParamCapture paramsParam("params", ParamType::TvoidPointerPointer);
InitParamValue(ParamType::TvoidPointerPointer, params, &paramsParam.value);
CaptureGetPointervRobustANGLERobustANGLE_params(glState, isCallValid, pname, bufSize, length,
params, &paramsParam);
paramBuffer.addParam(std::move(paramsParam));
return CallCapture(gl::EntryPoint::GetPointervRobustANGLERobustANGLE, std::move(paramBuffer));
}
CallCapture CaptureReadnPixelsRobustANGLE(const State &glState,
bool isCallValid,
GLint x,
GLint y,
GLsizei width,
GLsizei height,
GLenum format,
GLenum type,
GLsizei bufSize,
GLsizei *length,
GLsizei *columns,
GLsizei *rows,
void *data)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("x", ParamType::TGLint, x);
paramBuffer.addValueParam("y", ParamType::TGLint, y);
paramBuffer.addValueParam("width", ParamType::TGLsizei, width);
paramBuffer.addValueParam("height", ParamType::TGLsizei, height);
paramBuffer.addEnumParam("format", GLenumGroup::DefaultGroup, ParamType::TGLenum, format);
paramBuffer.addEnumParam("type", GLenumGroup::DefaultGroup, ParamType::TGLenum, type);
paramBuffer.addValueParam("bufSize", ParamType::TGLsizei, bufSize);
ParamCapture lengthParam("length", ParamType::TGLsizeiPointer);
InitParamValue(ParamType::TGLsizeiPointer, length, &lengthParam.value);
CaptureReadnPixelsRobustANGLE_length(glState, isCallValid, x, y, width, height, format, type,
bufSize, length, columns, rows, data, &lengthParam);
paramBuffer.addParam(std::move(lengthParam));
ParamCapture columnsParam("columns", ParamType::TGLsizeiPointer);
InitParamValue(ParamType::TGLsizeiPointer, columns, &columnsParam.value);
CaptureReadnPixelsRobustANGLE_columns(glState, isCallValid, x, y, width, height, format, type,
bufSize, length, columns, rows, data, &columnsParam);
paramBuffer.addParam(std::move(columnsParam));
ParamCapture rowsParam("rows", ParamType::TGLsizeiPointer);
InitParamValue(ParamType::TGLsizeiPointer, rows, &rowsParam.value);
CaptureReadnPixelsRobustANGLE_rows(glState, isCallValid, x, y, width, height, format, type,
bufSize, length, columns, rows, data, &rowsParam);
paramBuffer.addParam(std::move(rowsParam));
ParamCapture dataParam("data", ParamType::TvoidPointer);
InitParamValue(ParamType::TvoidPointer, data, &dataParam.value);
CaptureReadnPixelsRobustANGLE_data(glState, isCallValid, x, y, width, height, format, type,
bufSize, length, columns, rows, data, &dataParam);
paramBuffer.addParam(std::move(dataParam));
return CallCapture(gl::EntryPoint::ReadnPixelsRobustANGLE, std::move(paramBuffer));
}
CallCapture CaptureGetnUniformfvRobustANGLE(const State &glState,
bool isCallValid,
ShaderProgramID programPacked,
GLint location,
GLsizei bufSize,
GLsizei *length,
GLfloat *params)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("programPacked", ParamType::TShaderProgramID, programPacked);
paramBuffer.addValueParam("location", ParamType::TGLint, location);
paramBuffer.addValueParam("bufSize", ParamType::TGLsizei, bufSize);
ParamCapture lengthParam("length", ParamType::TGLsizeiPointer);
InitParamValue(ParamType::TGLsizeiPointer, length, &lengthParam.value);
CaptureGetnUniformfvRobustANGLE_length(glState, isCallValid, programPacked, location, bufSize,
length, params, &lengthParam);
paramBuffer.addParam(std::move(lengthParam));
ParamCapture paramsParam("params", ParamType::TGLfloatPointer);
InitParamValue(ParamType::TGLfloatPointer, params, &paramsParam.value);
CaptureGetnUniformfvRobustANGLE_params(glState, isCallValid, programPacked, location, bufSize,
length, params, &paramsParam);
paramBuffer.addParam(std::move(paramsParam));
return CallCapture(gl::EntryPoint::GetnUniformfvRobustANGLE, std::move(paramBuffer));
}
CallCapture CaptureGetnUniformivRobustANGLE(const State &glState,
bool isCallValid,
ShaderProgramID programPacked,
GLint location,
GLsizei bufSize,
GLsizei *length,
GLint *params)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("programPacked", ParamType::TShaderProgramID, programPacked);
paramBuffer.addValueParam("location", ParamType::TGLint, location);
paramBuffer.addValueParam("bufSize", ParamType::TGLsizei, bufSize);
ParamCapture lengthParam("length", ParamType::TGLsizeiPointer);
InitParamValue(ParamType::TGLsizeiPointer, length, &lengthParam.value);
CaptureGetnUniformivRobustANGLE_length(glState, isCallValid, programPacked, location, bufSize,
length, params, &lengthParam);
paramBuffer.addParam(std::move(lengthParam));
ParamCapture paramsParam("params", ParamType::TGLintPointer);
InitParamValue(ParamType::TGLintPointer, params, &paramsParam.value);
CaptureGetnUniformivRobustANGLE_params(glState, isCallValid, programPacked, location, bufSize,
length, params, &paramsParam);
paramBuffer.addParam(std::move(paramsParam));
return CallCapture(gl::EntryPoint::GetnUniformivRobustANGLE, std::move(paramBuffer));
}
CallCapture CaptureGetnUniformuivRobustANGLE(const State &glState,
bool isCallValid,
ShaderProgramID programPacked,
GLint location,
GLsizei bufSize,
GLsizei *length,
GLuint *params)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("programPacked", ParamType::TShaderProgramID, programPacked);
paramBuffer.addValueParam("location", ParamType::TGLint, location);
paramBuffer.addValueParam("bufSize", ParamType::TGLsizei, bufSize);
ParamCapture lengthParam("length", ParamType::TGLsizeiPointer);
InitParamValue(ParamType::TGLsizeiPointer, length, &lengthParam.value);
CaptureGetnUniformuivRobustANGLE_length(glState, isCallValid, programPacked, location, bufSize,
length, params, &lengthParam);
paramBuffer.addParam(std::move(lengthParam));
ParamCapture paramsParam("params", ParamType::TGLuintPointer);
InitParamValue(ParamType::TGLuintPointer, params, &paramsParam.value);
CaptureGetnUniformuivRobustANGLE_params(glState, isCallValid, programPacked, location, bufSize,
length, params, &paramsParam);
paramBuffer.addParam(std::move(paramsParam));
return CallCapture(gl::EntryPoint::GetnUniformuivRobustANGLE, std::move(paramBuffer));
}
CallCapture CaptureTexParameterIivRobustANGLE(const State &glState,
bool isCallValid,
TextureType targetPacked,
GLenum pname,
GLsizei bufSize,
const GLint *params)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("targetPacked", ParamType::TTextureType, targetPacked);
paramBuffer.addEnumParam("pname", GLenumGroup::DefaultGroup, ParamType::TGLenum, pname);
paramBuffer.addValueParam("bufSize", ParamType::TGLsizei, bufSize);
ParamCapture paramsParam("params", ParamType::TGLintConstPointer);
InitParamValue(ParamType::TGLintConstPointer, params, &paramsParam.value);
CaptureTexParameterIivRobustANGLE_params(glState, isCallValid, targetPacked, pname, bufSize,
params, &paramsParam);
paramBuffer.addParam(std::move(paramsParam));
return CallCapture(gl::EntryPoint::TexParameterIivRobustANGLE, std::move(paramBuffer));
}
CallCapture CaptureTexParameterIuivRobustANGLE(const State &glState,
bool isCallValid,
TextureType targetPacked,
GLenum pname,
GLsizei bufSize,
const GLuint *params)
{
ParamBuffer paramBuffer;
paramBuffer.addValueParam("targetPacked", ParamType::TTextureType, targetPacked);
paramBuffer.addEnumParam("pname",<