GLsizei height;
GLenum format;
GLenum type;
- GLsizei pixels;
+ uintptr_t pixels;
x = yagl_transport_get_out_GLint(t);
y = yagl_transport_get_out_GLint(t);
width = yagl_transport_get_out_GLsizei(t);
height = yagl_transport_get_out_GLsizei(t);
format = yagl_transport_get_out_GLenum(t);
type = yagl_transport_get_out_GLenum(t);
- pixels = yagl_transport_get_out_GLsizei(t);
- YAGL_LOG_FUNC_ENTER_SPLIT7(glReadPixelsOffset, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLsizei, x, y, width, height, format, type, pixels);
+ pixels = yagl_transport_get_out_uintptr_t(t);
+ YAGL_LOG_FUNC_ENTER_SPLIT7(glReadPixelsOffset, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, uintptr_t, x, y, width, height, format, type, pixels);
(void)yagl_host_glReadPixelsOffset(x, y, width, height, format, type, pixels);
YAGL_LOG_FUNC_EXIT(NULL);
}
GLenum type;
GLboolean normalized;
GLsizei stride;
- GLsizei offset;
+ uintptr_t offset;
indx = yagl_transport_get_out_GLuint(t);
size = yagl_transport_get_out_GLint(t);
type = yagl_transport_get_out_GLenum(t);
normalized = yagl_transport_get_out_GLboolean(t);
stride = yagl_transport_get_out_GLsizei(t);
- offset = yagl_transport_get_out_GLsizei(t);
- YAGL_LOG_FUNC_ENTER_SPLIT6(glVertexAttribPointerOffset, GLuint, GLint, GLenum, GLboolean, GLsizei, GLsizei, indx, size, type, normalized, stride, offset);
+ offset = yagl_transport_get_out_uintptr_t(t);
+ YAGL_LOG_FUNC_ENTER_SPLIT6(glVertexAttribPointerOffset, GLuint, GLint, GLenum, GLboolean, GLsizei, uintptr_t, indx, size, type, normalized, stride, offset);
(void)yagl_host_glVertexAttribPointerOffset(indx, size, type, normalized, stride, offset);
YAGL_LOG_FUNC_EXIT(NULL);
}
GLint size;
GLenum type;
GLsizei stride;
- GLsizei offset;
+ uintptr_t offset;
size = yagl_transport_get_out_GLint(t);
type = yagl_transport_get_out_GLenum(t);
stride = yagl_transport_get_out_GLsizei(t);
- offset = yagl_transport_get_out_GLsizei(t);
- YAGL_LOG_FUNC_ENTER_SPLIT4(glVertexPointerOffset, GLint, GLenum, GLsizei, GLsizei, size, type, stride, offset);
+ offset = yagl_transport_get_out_uintptr_t(t);
+ YAGL_LOG_FUNC_ENTER_SPLIT4(glVertexPointerOffset, GLint, GLenum, GLsizei, uintptr_t, size, type, stride, offset);
(void)yagl_host_glVertexPointerOffset(size, type, stride, offset);
YAGL_LOG_FUNC_EXIT(NULL);
}
{
GLenum type;
GLsizei stride;
- GLsizei offset;
+ uintptr_t offset;
type = yagl_transport_get_out_GLenum(t);
stride = yagl_transport_get_out_GLsizei(t);
- offset = yagl_transport_get_out_GLsizei(t);
- YAGL_LOG_FUNC_ENTER_SPLIT3(glNormalPointerOffset, GLenum, GLsizei, GLsizei, type, stride, offset);
+ offset = yagl_transport_get_out_uintptr_t(t);
+ YAGL_LOG_FUNC_ENTER_SPLIT3(glNormalPointerOffset, GLenum, GLsizei, uintptr_t, type, stride, offset);
(void)yagl_host_glNormalPointerOffset(type, stride, offset);
YAGL_LOG_FUNC_EXIT(NULL);
}
GLint size;
GLenum type;
GLsizei stride;
- GLsizei offset;
+ uintptr_t offset;
size = yagl_transport_get_out_GLint(t);
type = yagl_transport_get_out_GLenum(t);
stride = yagl_transport_get_out_GLsizei(t);
- offset = yagl_transport_get_out_GLsizei(t);
- YAGL_LOG_FUNC_ENTER_SPLIT4(glColorPointerOffset, GLint, GLenum, GLsizei, GLsizei, size, type, stride, offset);
+ offset = yagl_transport_get_out_uintptr_t(t);
+ YAGL_LOG_FUNC_ENTER_SPLIT4(glColorPointerOffset, GLint, GLenum, GLsizei, uintptr_t, size, type, stride, offset);
(void)yagl_host_glColorPointerOffset(size, type, stride, offset);
YAGL_LOG_FUNC_EXIT(NULL);
}
GLint size;
GLenum type;
GLsizei stride;
- GLsizei offset;
+ uintptr_t offset;
size = yagl_transport_get_out_GLint(t);
type = yagl_transport_get_out_GLenum(t);
stride = yagl_transport_get_out_GLsizei(t);
- offset = yagl_transport_get_out_GLsizei(t);
- YAGL_LOG_FUNC_ENTER_SPLIT4(glTexCoordPointerOffset, GLint, GLenum, GLsizei, GLsizei, size, type, stride, offset);
+ offset = yagl_transport_get_out_uintptr_t(t);
+ YAGL_LOG_FUNC_ENTER_SPLIT4(glTexCoordPointerOffset, GLint, GLenum, GLsizei, uintptr_t, size, type, stride, offset);
(void)yagl_host_glTexCoordPointerOffset(size, type, stride, offset);
YAGL_LOG_FUNC_EXIT(NULL);
}
GLint size;
GLenum type;
GLsizei stride;
- GLsizei offset;
+ uintptr_t offset;
index = yagl_transport_get_out_GLuint(t);
size = yagl_transport_get_out_GLint(t);
type = yagl_transport_get_out_GLenum(t);
stride = yagl_transport_get_out_GLsizei(t);
- offset = yagl_transport_get_out_GLsizei(t);
- YAGL_LOG_FUNC_ENTER_SPLIT5(glVertexAttribIPointerOffset, GLuint, GLint, GLenum, GLsizei, GLsizei, index, size, type, stride, offset);
+ offset = yagl_transport_get_out_uintptr_t(t);
+ YAGL_LOG_FUNC_ENTER_SPLIT5(glVertexAttribIPointerOffset, GLuint, GLint, GLenum, GLsizei, uintptr_t, index, size, type, stride, offset);
(void)yagl_host_glVertexAttribIPointerOffset(index, size, type, stride, offset);
YAGL_LOG_FUNC_EXIT(NULL);
}
{
GLenum readTarget;
GLenum writeTarget;
- GLint readOffset;
- GLint writeOffset;
+ GLintptr readOffset;
+ GLintptr writeOffset;
GLsizei size;
readTarget = yagl_transport_get_out_GLenum(t);
writeTarget = yagl_transport_get_out_GLenum(t);
- readOffset = yagl_transport_get_out_GLint(t);
- writeOffset = yagl_transport_get_out_GLint(t);
+ readOffset = yagl_transport_get_out_GLintptr(t);
+ writeOffset = yagl_transport_get_out_GLintptr(t);
size = yagl_transport_get_out_GLsizei(t);
- YAGL_LOG_FUNC_ENTER_SPLIT5(glCopyBufferSubData, GLenum, GLenum, GLint, GLint, GLsizei, readTarget, writeTarget, readOffset, writeOffset, size);
+ YAGL_LOG_FUNC_ENTER_SPLIT5(glCopyBufferSubData, GLenum, GLenum, GLintptr, GLintptr, GLsizei, readTarget, writeTarget, readOffset, writeOffset, size);
(void)yagl_host_glCopyBufferSubData(readTarget, writeTarget, readOffset, writeOffset, size);
YAGL_LOG_FUNC_EXIT(NULL);
}
GLint border;
GLenum format;
GLenum type;
- GLsizei pixels;
+ uintptr_t pixels;
target = yagl_transport_get_out_GLenum(t);
level = yagl_transport_get_out_GLint(t);
internalformat = yagl_transport_get_out_GLint(t);
border = yagl_transport_get_out_GLint(t);
format = yagl_transport_get_out_GLenum(t);
type = yagl_transport_get_out_GLenum(t);
- pixels = yagl_transport_get_out_GLsizei(t);
- YAGL_LOG_FUNC_ENTER_SPLIT9(glTexImage2DOffset, GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, GLsizei, target, level, internalformat, width, height, border, format, type, pixels);
+ pixels = yagl_transport_get_out_uintptr_t(t);
+ YAGL_LOG_FUNC_ENTER_SPLIT9(glTexImage2DOffset, GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, uintptr_t, target, level, internalformat, width, height, border, format, type, pixels);
(void)yagl_host_glTexImage2DOffset(target, level, internalformat, width, height, border, format, type, pixels);
YAGL_LOG_FUNC_EXIT(NULL);
}
GLsizei height;
GLenum format;
GLenum type;
- GLsizei pixels;
+ uintptr_t pixels;
target = yagl_transport_get_out_GLenum(t);
level = yagl_transport_get_out_GLint(t);
xoffset = yagl_transport_get_out_GLint(t);
height = yagl_transport_get_out_GLsizei(t);
format = yagl_transport_get_out_GLenum(t);
type = yagl_transport_get_out_GLenum(t);
- pixels = yagl_transport_get_out_GLsizei(t);
- YAGL_LOG_FUNC_ENTER_SPLIT9(glTexSubImage2DOffset, GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLsizei, target, level, xoffset, yoffset, width, height, format, type, pixels);
+ pixels = yagl_transport_get_out_uintptr_t(t);
+ YAGL_LOG_FUNC_ENTER_SPLIT9(glTexSubImage2DOffset, GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, uintptr_t, target, level, xoffset, yoffset, width, height, format, type, pixels);
(void)yagl_host_glTexSubImage2DOffset(target, level, xoffset, yoffset, width, height, format, type, pixels);
YAGL_LOG_FUNC_EXIT(NULL);
}
GLint border;
GLenum format;
GLenum type;
- GLsizei pixels;
+ uintptr_t pixels;
target = yagl_transport_get_out_GLenum(t);
level = yagl_transport_get_out_GLint(t);
internalformat = yagl_transport_get_out_GLint(t);
border = yagl_transport_get_out_GLint(t);
format = yagl_transport_get_out_GLenum(t);
type = yagl_transport_get_out_GLenum(t);
- pixels = yagl_transport_get_out_GLsizei(t);
- YAGL_LOG_FUNC_ENTER_SPLIT10(glTexImage3DOffset, GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, GLsizei, target, level, internalformat, width, height, depth, border, format, type, pixels);
+ pixels = yagl_transport_get_out_uintptr_t(t);
+ YAGL_LOG_FUNC_ENTER_SPLIT10(glTexImage3DOffset, GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, uintptr_t, target, level, internalformat, width, height, depth, border, format, type, pixels);
(void)yagl_host_glTexImage3DOffset(target, level, internalformat, width, height, depth, border, format, type, pixels);
YAGL_LOG_FUNC_EXIT(NULL);
}
GLsizei depth;
GLenum format;
GLenum type;
- GLsizei pixels;
+ uintptr_t pixels;
target = yagl_transport_get_out_GLenum(t);
level = yagl_transport_get_out_GLint(t);
xoffset = yagl_transport_get_out_GLint(t);
depth = yagl_transport_get_out_GLsizei(t);
format = yagl_transport_get_out_GLenum(t);
type = yagl_transport_get_out_GLenum(t);
- pixels = yagl_transport_get_out_GLsizei(t);
- YAGL_LOG_FUNC_ENTER_SPLIT11(glTexSubImage3DOffset, GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, GLsizei, target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels);
+ pixels = yagl_transport_get_out_uintptr_t(t);
+ YAGL_LOG_FUNC_ENTER_SPLIT11(glTexSubImage3DOffset, GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, uintptr_t, target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels);
(void)yagl_host_glTexSubImage3DOffset(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels);
YAGL_LOG_FUNC_EXIT(NULL);
}
GLsizei height,
GLenum format,
GLenum type,
- GLsizei pixels)
+ uintptr_t pixels)
{
gles_api_ts->driver->ReadPixels(x,
y,
height,
format,
type,
- (GLvoid*)(uintptr_t)pixels);
+ (GLvoid*)pixels);
}
void yagl_host_glDrawArraysInstanced(GLenum mode,
GLenum type,
GLboolean normalized,
GLsizei stride,
- GLsizei offset)
+ uintptr_t offset)
{
gles_api_ts->driver->VertexAttribPointer(indx, size, type, normalized,
stride,
- (const GLvoid*)(uintptr_t)offset);
+ (const GLvoid*)offset);
}
void yagl_host_glVertexPointerData(GLint size,
void yagl_host_glVertexPointerOffset(GLint size,
GLenum type,
GLsizei stride,
- GLsizei offset)
+ uintptr_t offset)
{
- gles_api_ts->driver->VertexPointer(size, type, stride, (const GLvoid*)(uintptr_t)offset);
+ gles_api_ts->driver->VertexPointer(size, type, stride, (const GLvoid*)offset);
}
void yagl_host_glNormalPointerData(GLenum type,
void yagl_host_glNormalPointerOffset(GLenum type,
GLsizei stride,
- GLsizei offset)
+ uintptr_t offset)
{
- gles_api_ts->driver->NormalPointer(type, stride, (const GLvoid*)(uintptr_t)offset);
+ gles_api_ts->driver->NormalPointer(type, stride, (const GLvoid*)offset);
}
void yagl_host_glColorPointerData(GLint size,
void yagl_host_glColorPointerOffset(GLint size,
GLenum type,
GLsizei stride,
- GLsizei offset)
+ uintptr_t offset)
{
- gles_api_ts->driver->ColorPointer(size, type, stride, (const GLvoid*)(uintptr_t)offset);
+ gles_api_ts->driver->ColorPointer(size, type, stride, (const GLvoid*)offset);
}
void yagl_host_glTexCoordPointerData(GLint tex_id,
void yagl_host_glTexCoordPointerOffset(GLint size,
GLenum type,
GLsizei stride,
- GLsizei offset)
+ uintptr_t offset)
{
- gles_api_ts->driver->TexCoordPointer(size, type, stride, (const GLvoid*)(uintptr_t)offset);
+ gles_api_ts->driver->TexCoordPointer(size, type, stride, (const GLvoid*)offset);
}
void yagl_host_glDisableClientState(GLenum array)
GLint size,
GLenum type,
GLsizei stride,
- GLsizei offset)
+ uintptr_t offset)
{
gles_api_ts->driver->VertexAttribIPointer(index, size, type,
stride,
- (const GLvoid*)(uintptr_t)offset);
+ (const GLvoid*)offset);
}
void yagl_host_glGenBuffers(const GLuint *buffers, int32_t buffers_count)
void yagl_host_glCopyBufferSubData(GLenum readTarget,
GLenum writeTarget,
- GLint readOffset,
- GLint writeOffset,
+ GLintptr readOffset,
+ GLintptr writeOffset,
GLsizei size)
{
gles_api_ts->driver->CopyBufferSubData(readTarget, writeTarget,
GLint border,
GLenum format,
GLenum type,
- GLsizei pixels)
+ uintptr_t pixels)
{
gles_api_ts->driver->TexImage2D(target,
level,
border,
format,
type,
- (const GLvoid*)(uintptr_t)pixels);
+ (const GLvoid*)pixels);
}
void yagl_host_glTexParameterf(GLenum target,
GLsizei height,
GLenum format,
GLenum type,
- GLsizei pixels)
+ uintptr_t pixels)
{
GLint row_length;
height,
format,
type,
- (const GLvoid*)(uintptr_t)pixels);
+ (const GLvoid*)pixels);
if (format == GL_ALPHA) {
gles_api_ts->driver->PixelStorei(GL_UNPACK_ROW_LENGTH, row_length);
GLint border,
GLenum format,
GLenum type,
- GLsizei pixels)
+ uintptr_t pixels)
{
gles_api_ts->driver->TexImage3D(target,
level,
border,
format,
type,
- (const void*)(uintptr_t)pixels);
+ (const void*)pixels);
}
void yagl_host_glTexSubImage3DData(GLenum target,
GLsizei depth,
GLenum format,
GLenum type,
- GLsizei pixels)
+ uintptr_t pixels)
{
gles_api_ts->driver->TexSubImage3D(target,
level,
depth,
format,
type,
- (const void*)(uintptr_t)pixels);
+ (const void*)pixels);
}
void yagl_host_glCopyTexSubImage3D(GLenum target,