-// Copyright (c) 2014 The Chromium Authors. All rights reserved.
+// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
}
}
-void BindAttribLocation(GLuint program,
- GLuint index,
- uint32 name_shm_id,
- uint32 name_shm_offset,
- uint32 data_size) {
- gles2::cmds::BindAttribLocation* c =
- GetCmdSpace<gles2::cmds::BindAttribLocation>();
- if (c) {
- c->Init(program, index, name_shm_id, name_shm_offset, data_size);
- }
-}
-
void BindAttribLocationBucket(GLuint program,
GLuint index,
- uint32 name_bucket_id) {
+ uint32_t name_bucket_id) {
gles2::cmds::BindAttribLocationBucket* c =
GetCmdSpace<gles2::cmds::BindAttribLocationBucket>();
if (c) {
void BufferData(GLenum target,
GLsizeiptr size,
- uint32 data_shm_id,
- uint32 data_shm_offset,
+ uint32_t data_shm_id,
+ uint32_t data_shm_offset,
GLenum usage) {
gles2::cmds::BufferData* c = GetCmdSpace<gles2::cmds::BufferData>();
if (c) {
void BufferSubData(GLenum target,
GLintptr offset,
GLsizeiptr size,
- uint32 data_shm_id,
- uint32 data_shm_offset) {
+ uint32_t data_shm_id,
+ uint32_t data_shm_offset) {
gles2::cmds::BufferSubData* c = GetCmdSpace<gles2::cmds::BufferSubData>();
if (c) {
c->Init(target, offset, size, data_shm_id, data_shm_offset);
}
void CheckFramebufferStatus(GLenum target,
- uint32 result_shm_id,
- uint32 result_shm_offset) {
+ uint32_t result_shm_id,
+ uint32_t result_shm_offset) {
gles2::cmds::CheckFramebufferStatus* c =
GetCmdSpace<gles2::cmds::CheckFramebufferStatus>();
if (c) {
}
}
+void CompressedTexImage2DBucket(GLenum target,
+ GLint level,
+ GLenum internalformat,
+ GLsizei width,
+ GLsizei height,
+ GLuint bucket_id) {
+ gles2::cmds::CompressedTexImage2DBucket* c =
+ GetCmdSpace<gles2::cmds::CompressedTexImage2DBucket>();
+ if (c) {
+ c->Init(target, level, internalformat, width, height, bucket_id);
+ }
+}
+
void CompressedTexImage2D(GLenum target,
GLint level,
GLenum internalformat,
GLsizei width,
GLsizei height,
- GLint border,
GLsizei imageSize,
- uint32 data_shm_id,
- uint32 data_shm_offset) {
+ uint32_t data_shm_id,
+ uint32_t data_shm_offset) {
gles2::cmds::CompressedTexImage2D* c =
GetCmdSpace<gles2::cmds::CompressedTexImage2D>();
if (c) {
internalformat,
width,
height,
- border,
imageSize,
data_shm_id,
data_shm_offset);
}
}
-void CompressedTexImage2DBucket(GLenum target,
- GLint level,
- GLenum internalformat,
- GLsizei width,
- GLsizei height,
- GLint border,
- GLuint bucket_id) {
- gles2::cmds::CompressedTexImage2DBucket* c =
- GetCmdSpace<gles2::cmds::CompressedTexImage2DBucket>();
+void CompressedTexSubImage2DBucket(GLenum target,
+ GLint level,
+ GLint xoffset,
+ GLint yoffset,
+ GLsizei width,
+ GLsizei height,
+ GLenum format,
+ GLuint bucket_id) {
+ gles2::cmds::CompressedTexSubImage2DBucket* c =
+ GetCmdSpace<gles2::cmds::CompressedTexSubImage2DBucket>();
if (c) {
- c->Init(target, level, internalformat, width, height, border, bucket_id);
+ c->Init(target, level, xoffset, yoffset, width, height, format, bucket_id);
}
}
GLsizei height,
GLenum format,
GLsizei imageSize,
- uint32 data_shm_id,
- uint32 data_shm_offset) {
+ uint32_t data_shm_id,
+ uint32_t data_shm_offset) {
gles2::cmds::CompressedTexSubImage2D* c =
GetCmdSpace<gles2::cmds::CompressedTexSubImage2D>();
if (c) {
}
}
-void CompressedTexSubImage2DBucket(GLenum target,
- GLint level,
- GLint xoffset,
- GLint yoffset,
- GLsizei width,
- GLsizei height,
- GLenum format,
- GLuint bucket_id) {
- gles2::cmds::CompressedTexSubImage2DBucket* c =
- GetCmdSpace<gles2::cmds::CompressedTexSubImage2DBucket>();
- if (c) {
- c->Init(target, level, xoffset, yoffset, width, height, format, bucket_id);
- }
-}
-
void CopyTexImage2D(GLenum target,
GLint level,
GLenum internalformat,
GLint x,
GLint y,
GLsizei width,
- GLsizei height,
- GLint border) {
+ GLsizei height) {
gles2::cmds::CopyTexImage2D* c = GetCmdSpace<gles2::cmds::CopyTexImage2D>();
if (c) {
- c->Init(target, level, internalformat, x, y, width, height, border);
+ c->Init(target, level, internalformat, x, y, width, height);
}
}
}
}
-void CreateProgram(uint32 client_id) {
+void CreateProgram(uint32_t client_id) {
gles2::cmds::CreateProgram* c = GetCmdSpace<gles2::cmds::CreateProgram>();
if (c) {
c->Init(client_id);
}
}
-void CreateShader(GLenum type, uint32 client_id) {
+void CreateShader(GLenum type, uint32_t client_id) {
gles2::cmds::CreateShader* c = GetCmdSpace<gles2::cmds::CreateShader>();
if (c) {
c->Init(type, client_id);
}
}
-void DeleteBuffers(GLsizei n,
- uint32 buffers_shm_id,
- uint32 buffers_shm_offset) {
- gles2::cmds::DeleteBuffers* c = GetCmdSpace<gles2::cmds::DeleteBuffers>();
- if (c) {
- c->Init(n, buffers_shm_id, buffers_shm_offset);
- }
-}
-
void DeleteBuffersImmediate(GLsizei n, const GLuint* buffers) {
- const uint32 size = gles2::cmds::DeleteBuffersImmediate::ComputeSize(n);
+ const uint32_t size = gles2::cmds::DeleteBuffersImmediate::ComputeSize(n);
gles2::cmds::DeleteBuffersImmediate* c =
GetImmediateCmdSpaceTotalSize<gles2::cmds::DeleteBuffersImmediate>(size);
if (c) {
}
}
-void DeleteFramebuffers(GLsizei n,
- uint32 framebuffers_shm_id,
- uint32 framebuffers_shm_offset) {
- gles2::cmds::DeleteFramebuffers* c =
- GetCmdSpace<gles2::cmds::DeleteFramebuffers>();
- if (c) {
- c->Init(n, framebuffers_shm_id, framebuffers_shm_offset);
- }
-}
-
void DeleteFramebuffersImmediate(GLsizei n, const GLuint* framebuffers) {
- const uint32 size = gles2::cmds::DeleteFramebuffersImmediate::ComputeSize(n);
+ const uint32_t size =
+ gles2::cmds::DeleteFramebuffersImmediate::ComputeSize(n);
gles2::cmds::DeleteFramebuffersImmediate* c =
GetImmediateCmdSpaceTotalSize<gles2::cmds::DeleteFramebuffersImmediate>(
size);
}
}
-void DeleteRenderbuffers(GLsizei n,
- uint32 renderbuffers_shm_id,
- uint32 renderbuffers_shm_offset) {
- gles2::cmds::DeleteRenderbuffers* c =
- GetCmdSpace<gles2::cmds::DeleteRenderbuffers>();
- if (c) {
- c->Init(n, renderbuffers_shm_id, renderbuffers_shm_offset);
- }
-}
-
void DeleteRenderbuffersImmediate(GLsizei n, const GLuint* renderbuffers) {
- const uint32 size = gles2::cmds::DeleteRenderbuffersImmediate::ComputeSize(n);
+ const uint32_t size =
+ gles2::cmds::DeleteRenderbuffersImmediate::ComputeSize(n);
gles2::cmds::DeleteRenderbuffersImmediate* c =
GetImmediateCmdSpaceTotalSize<gles2::cmds::DeleteRenderbuffersImmediate>(
size);
}
}
-void DeleteTextures(GLsizei n,
- uint32 textures_shm_id,
- uint32 textures_shm_offset) {
- gles2::cmds::DeleteTextures* c = GetCmdSpace<gles2::cmds::DeleteTextures>();
- if (c) {
- c->Init(n, textures_shm_id, textures_shm_offset);
- }
-}
-
void DeleteTexturesImmediate(GLsizei n, const GLuint* textures) {
- const uint32 size = gles2::cmds::DeleteTexturesImmediate::ComputeSize(n);
+ const uint32_t size = gles2::cmds::DeleteTexturesImmediate::ComputeSize(n);
gles2::cmds::DeleteTexturesImmediate* c =
GetImmediateCmdSpaceTotalSize<gles2::cmds::DeleteTexturesImmediate>(size);
if (c) {
void FramebufferTexture2D(GLenum target,
GLenum attachment,
GLenum textarget,
- GLuint texture,
- GLint level) {
+ GLuint texture) {
gles2::cmds::FramebufferTexture2D* c =
GetCmdSpace<gles2::cmds::FramebufferTexture2D>();
if (c) {
- c->Init(target, attachment, textarget, texture, level);
+ c->Init(target, attachment, textarget, texture);
}
}
}
}
-void GenBuffers(GLsizei n, uint32 buffers_shm_id, uint32 buffers_shm_offset) {
- gles2::cmds::GenBuffers* c = GetCmdSpace<gles2::cmds::GenBuffers>();
- if (c) {
- c->Init(n, buffers_shm_id, buffers_shm_offset);
- }
-}
-
void GenBuffersImmediate(GLsizei n, GLuint* buffers) {
- const uint32 size = gles2::cmds::GenBuffersImmediate::ComputeSize(n);
+ const uint32_t size = gles2::cmds::GenBuffersImmediate::ComputeSize(n);
gles2::cmds::GenBuffersImmediate* c =
GetImmediateCmdSpaceTotalSize<gles2::cmds::GenBuffersImmediate>(size);
if (c) {
}
}
-void GenFramebuffers(GLsizei n,
- uint32 framebuffers_shm_id,
- uint32 framebuffers_shm_offset) {
- gles2::cmds::GenFramebuffers* c = GetCmdSpace<gles2::cmds::GenFramebuffers>();
- if (c) {
- c->Init(n, framebuffers_shm_id, framebuffers_shm_offset);
- }
-}
-
void GenFramebuffersImmediate(GLsizei n, GLuint* framebuffers) {
- const uint32 size = gles2::cmds::GenFramebuffersImmediate::ComputeSize(n);
+ const uint32_t size = gles2::cmds::GenFramebuffersImmediate::ComputeSize(n);
gles2::cmds::GenFramebuffersImmediate* c =
GetImmediateCmdSpaceTotalSize<gles2::cmds::GenFramebuffersImmediate>(
size);
}
}
-void GenRenderbuffers(GLsizei n,
- uint32 renderbuffers_shm_id,
- uint32 renderbuffers_shm_offset) {
- gles2::cmds::GenRenderbuffers* c =
- GetCmdSpace<gles2::cmds::GenRenderbuffers>();
- if (c) {
- c->Init(n, renderbuffers_shm_id, renderbuffers_shm_offset);
- }
-}
-
void GenRenderbuffersImmediate(GLsizei n, GLuint* renderbuffers) {
- const uint32 size = gles2::cmds::GenRenderbuffersImmediate::ComputeSize(n);
+ const uint32_t size = gles2::cmds::GenRenderbuffersImmediate::ComputeSize(n);
gles2::cmds::GenRenderbuffersImmediate* c =
GetImmediateCmdSpaceTotalSize<gles2::cmds::GenRenderbuffersImmediate>(
size);
}
}
-void GenTextures(GLsizei n,
- uint32 textures_shm_id,
- uint32 textures_shm_offset) {
- gles2::cmds::GenTextures* c = GetCmdSpace<gles2::cmds::GenTextures>();
- if (c) {
- c->Init(n, textures_shm_id, textures_shm_offset);
- }
-}
-
void GenTexturesImmediate(GLsizei n, GLuint* textures) {
- const uint32 size = gles2::cmds::GenTexturesImmediate::ComputeSize(n);
+ const uint32_t size = gles2::cmds::GenTexturesImmediate::ComputeSize(n);
gles2::cmds::GenTexturesImmediate* c =
GetImmediateCmdSpaceTotalSize<gles2::cmds::GenTexturesImmediate>(size);
if (c) {
void GetActiveAttrib(GLuint program,
GLuint index,
- uint32 name_bucket_id,
- uint32 result_shm_id,
- uint32 result_shm_offset) {
+ uint32_t name_bucket_id,
+ uint32_t result_shm_id,
+ uint32_t result_shm_offset) {
gles2::cmds::GetActiveAttrib* c = GetCmdSpace<gles2::cmds::GetActiveAttrib>();
if (c) {
c->Init(program, index, name_bucket_id, result_shm_id, result_shm_offset);
void GetActiveUniform(GLuint program,
GLuint index,
- uint32 name_bucket_id,
- uint32 result_shm_id,
- uint32 result_shm_offset) {
+ uint32_t name_bucket_id,
+ uint32_t result_shm_id,
+ uint32_t result_shm_offset) {
gles2::cmds::GetActiveUniform* c =
GetCmdSpace<gles2::cmds::GetActiveUniform>();
if (c) {
}
void GetAttachedShaders(GLuint program,
- uint32 result_shm_id,
- uint32 result_shm_offset,
- uint32 result_size) {
+ uint32_t result_shm_id,
+ uint32_t result_shm_offset,
+ uint32_t result_size) {
gles2::cmds::GetAttachedShaders* c =
GetCmdSpace<gles2::cmds::GetAttachedShaders>();
if (c) {
}
}
-void GetBooleanv(GLenum pname, uint32 params_shm_id, uint32 params_shm_offset) {
+void GetAttribLocation(GLuint program,
+ uint32_t name_bucket_id,
+ uint32_t location_shm_id,
+ uint32_t location_shm_offset) {
+ gles2::cmds::GetAttribLocation* c =
+ GetCmdSpace<gles2::cmds::GetAttribLocation>();
+ if (c) {
+ c->Init(program, name_bucket_id, location_shm_id, location_shm_offset);
+ }
+}
+
+void GetBooleanv(GLenum pname,
+ uint32_t params_shm_id,
+ uint32_t params_shm_offset) {
gles2::cmds::GetBooleanv* c = GetCmdSpace<gles2::cmds::GetBooleanv>();
if (c) {
c->Init(pname, params_shm_id, params_shm_offset);
void GetBufferParameteriv(GLenum target,
GLenum pname,
- uint32 params_shm_id,
- uint32 params_shm_offset) {
+ uint32_t params_shm_id,
+ uint32_t params_shm_offset) {
gles2::cmds::GetBufferParameteriv* c =
GetCmdSpace<gles2::cmds::GetBufferParameteriv>();
if (c) {
}
}
-void GetError(uint32 result_shm_id, uint32 result_shm_offset) {
+void GetError(uint32_t result_shm_id, uint32_t result_shm_offset) {
gles2::cmds::GetError* c = GetCmdSpace<gles2::cmds::GetError>();
if (c) {
c->Init(result_shm_id, result_shm_offset);
}
}
-void GetFloatv(GLenum pname, uint32 params_shm_id, uint32 params_shm_offset) {
+void GetFloatv(GLenum pname,
+ uint32_t params_shm_id,
+ uint32_t params_shm_offset) {
gles2::cmds::GetFloatv* c = GetCmdSpace<gles2::cmds::GetFloatv>();
if (c) {
c->Init(pname, params_shm_id, params_shm_offset);
void GetFramebufferAttachmentParameteriv(GLenum target,
GLenum attachment,
GLenum pname,
- uint32 params_shm_id,
- uint32 params_shm_offset) {
+ uint32_t params_shm_id,
+ uint32_t params_shm_offset) {
gles2::cmds::GetFramebufferAttachmentParameteriv* c =
GetCmdSpace<gles2::cmds::GetFramebufferAttachmentParameteriv>();
if (c) {
}
}
-void GetIntegerv(GLenum pname, uint32 params_shm_id, uint32 params_shm_offset) {
+void GetIntegerv(GLenum pname,
+ uint32_t params_shm_id,
+ uint32_t params_shm_offset) {
gles2::cmds::GetIntegerv* c = GetCmdSpace<gles2::cmds::GetIntegerv>();
if (c) {
c->Init(pname, params_shm_id, params_shm_offset);
void GetProgramiv(GLuint program,
GLenum pname,
- uint32 params_shm_id,
- uint32 params_shm_offset) {
+ uint32_t params_shm_id,
+ uint32_t params_shm_offset) {
gles2::cmds::GetProgramiv* c = GetCmdSpace<gles2::cmds::GetProgramiv>();
if (c) {
c->Init(program, pname, params_shm_id, params_shm_offset);
}
}
-void GetProgramInfoLog(GLuint program, uint32 bucket_id) {
+void GetProgramInfoLog(GLuint program, uint32_t bucket_id) {
gles2::cmds::GetProgramInfoLog* c =
GetCmdSpace<gles2::cmds::GetProgramInfoLog>();
if (c) {
void GetRenderbufferParameteriv(GLenum target,
GLenum pname,
- uint32 params_shm_id,
- uint32 params_shm_offset) {
+ uint32_t params_shm_id,
+ uint32_t params_shm_offset) {
gles2::cmds::GetRenderbufferParameteriv* c =
GetCmdSpace<gles2::cmds::GetRenderbufferParameteriv>();
if (c) {
void GetShaderiv(GLuint shader,
GLenum pname,
- uint32 params_shm_id,
- uint32 params_shm_offset) {
+ uint32_t params_shm_id,
+ uint32_t params_shm_offset) {
gles2::cmds::GetShaderiv* c = GetCmdSpace<gles2::cmds::GetShaderiv>();
if (c) {
c->Init(shader, pname, params_shm_id, params_shm_offset);
}
}
-void GetShaderInfoLog(GLuint shader, uint32 bucket_id) {
+void GetShaderInfoLog(GLuint shader, uint32_t bucket_id) {
gles2::cmds::GetShaderInfoLog* c =
GetCmdSpace<gles2::cmds::GetShaderInfoLog>();
if (c) {
void GetShaderPrecisionFormat(GLenum shadertype,
GLenum precisiontype,
- uint32 result_shm_id,
- uint32 result_shm_offset) {
+ uint32_t result_shm_id,
+ uint32_t result_shm_offset) {
gles2::cmds::GetShaderPrecisionFormat* c =
GetCmdSpace<gles2::cmds::GetShaderPrecisionFormat>();
if (c) {
}
}
-void GetShaderSource(GLuint shader, uint32 bucket_id) {
+void GetShaderSource(GLuint shader, uint32_t bucket_id) {
gles2::cmds::GetShaderSource* c = GetCmdSpace<gles2::cmds::GetShaderSource>();
if (c) {
c->Init(shader, bucket_id);
}
}
-void GetString(GLenum name, uint32 bucket_id) {
+void GetString(GLenum name, uint32_t bucket_id) {
gles2::cmds::GetString* c = GetCmdSpace<gles2::cmds::GetString>();
if (c) {
c->Init(name, bucket_id);
void GetTexParameterfv(GLenum target,
GLenum pname,
- uint32 params_shm_id,
- uint32 params_shm_offset) {
+ uint32_t params_shm_id,
+ uint32_t params_shm_offset) {
gles2::cmds::GetTexParameterfv* c =
GetCmdSpace<gles2::cmds::GetTexParameterfv>();
if (c) {
void GetTexParameteriv(GLenum target,
GLenum pname,
- uint32 params_shm_id,
- uint32 params_shm_offset) {
+ uint32_t params_shm_id,
+ uint32_t params_shm_offset) {
gles2::cmds::GetTexParameteriv* c =
GetCmdSpace<gles2::cmds::GetTexParameteriv>();
if (c) {
void GetUniformfv(GLuint program,
GLint location,
- uint32 params_shm_id,
- uint32 params_shm_offset) {
+ uint32_t params_shm_id,
+ uint32_t params_shm_offset) {
gles2::cmds::GetUniformfv* c = GetCmdSpace<gles2::cmds::GetUniformfv>();
if (c) {
c->Init(program, location, params_shm_id, params_shm_offset);
void GetUniformiv(GLuint program,
GLint location,
- uint32 params_shm_id,
- uint32 params_shm_offset) {
+ uint32_t params_shm_id,
+ uint32_t params_shm_offset) {
gles2::cmds::GetUniformiv* c = GetCmdSpace<gles2::cmds::GetUniformiv>();
if (c) {
c->Init(program, location, params_shm_id, params_shm_offset);
}
}
+void GetUniformLocation(GLuint program,
+ uint32_t name_bucket_id,
+ uint32_t location_shm_id,
+ uint32_t location_shm_offset) {
+ gles2::cmds::GetUniformLocation* c =
+ GetCmdSpace<gles2::cmds::GetUniformLocation>();
+ if (c) {
+ c->Init(program, name_bucket_id, location_shm_id, location_shm_offset);
+ }
+}
+
void GetVertexAttribfv(GLuint index,
GLenum pname,
- uint32 params_shm_id,
- uint32 params_shm_offset) {
+ uint32_t params_shm_id,
+ uint32_t params_shm_offset) {
gles2::cmds::GetVertexAttribfv* c =
GetCmdSpace<gles2::cmds::GetVertexAttribfv>();
if (c) {
void GetVertexAttribiv(GLuint index,
GLenum pname,
- uint32 params_shm_id,
- uint32 params_shm_offset) {
+ uint32_t params_shm_id,
+ uint32_t params_shm_offset) {
gles2::cmds::GetVertexAttribiv* c =
GetCmdSpace<gles2::cmds::GetVertexAttribiv>();
if (c) {
void GetVertexAttribPointerv(GLuint index,
GLenum pname,
- uint32 pointer_shm_id,
- uint32 pointer_shm_offset) {
+ uint32_t pointer_shm_id,
+ uint32_t pointer_shm_offset) {
gles2::cmds::GetVertexAttribPointerv* c =
GetCmdSpace<gles2::cmds::GetVertexAttribPointerv>();
if (c) {
}
}
-void IsBuffer(GLuint buffer, uint32 result_shm_id, uint32 result_shm_offset) {
+void IsBuffer(GLuint buffer,
+ uint32_t result_shm_id,
+ uint32_t result_shm_offset) {
gles2::cmds::IsBuffer* c = GetCmdSpace<gles2::cmds::IsBuffer>();
if (c) {
c->Init(buffer, result_shm_id, result_shm_offset);
}
}
-void IsEnabled(GLenum cap, uint32 result_shm_id, uint32 result_shm_offset) {
+void IsEnabled(GLenum cap, uint32_t result_shm_id, uint32_t result_shm_offset) {
gles2::cmds::IsEnabled* c = GetCmdSpace<gles2::cmds::IsEnabled>();
if (c) {
c->Init(cap, result_shm_id, result_shm_offset);
}
void IsFramebuffer(GLuint framebuffer,
- uint32 result_shm_id,
- uint32 result_shm_offset) {
+ uint32_t result_shm_id,
+ uint32_t result_shm_offset) {
gles2::cmds::IsFramebuffer* c = GetCmdSpace<gles2::cmds::IsFramebuffer>();
if (c) {
c->Init(framebuffer, result_shm_id, result_shm_offset);
}
}
-void IsProgram(GLuint program, uint32 result_shm_id, uint32 result_shm_offset) {
+void IsProgram(GLuint program,
+ uint32_t result_shm_id,
+ uint32_t result_shm_offset) {
gles2::cmds::IsProgram* c = GetCmdSpace<gles2::cmds::IsProgram>();
if (c) {
c->Init(program, result_shm_id, result_shm_offset);
}
void IsRenderbuffer(GLuint renderbuffer,
- uint32 result_shm_id,
- uint32 result_shm_offset) {
+ uint32_t result_shm_id,
+ uint32_t result_shm_offset) {
gles2::cmds::IsRenderbuffer* c = GetCmdSpace<gles2::cmds::IsRenderbuffer>();
if (c) {
c->Init(renderbuffer, result_shm_id, result_shm_offset);
}
}
-void IsShader(GLuint shader, uint32 result_shm_id, uint32 result_shm_offset) {
+void IsShader(GLuint shader,
+ uint32_t result_shm_id,
+ uint32_t result_shm_offset) {
gles2::cmds::IsShader* c = GetCmdSpace<gles2::cmds::IsShader>();
if (c) {
c->Init(shader, result_shm_id, result_shm_offset);
}
}
-void IsTexture(GLuint texture, uint32 result_shm_id, uint32 result_shm_offset) {
+void IsTexture(GLuint texture,
+ uint32_t result_shm_id,
+ uint32_t result_shm_offset) {
gles2::cmds::IsTexture* c = GetCmdSpace<gles2::cmds::IsTexture>();
if (c) {
c->Init(texture, result_shm_id, result_shm_offset);
GLsizei height,
GLenum format,
GLenum type,
- uint32 pixels_shm_id,
- uint32 pixels_shm_offset,
- uint32 result_shm_id,
- uint32 result_shm_offset,
+ uint32_t pixels_shm_id,
+ uint32_t pixels_shm_offset,
+ uint32_t result_shm_id,
+ uint32_t result_shm_offset,
GLboolean async) {
gles2::cmds::ReadPixels* c = GetCmdSpace<gles2::cmds::ReadPixels>();
if (c) {
}
void ShaderBinary(GLsizei n,
- uint32 shaders_shm_id,
- uint32 shaders_shm_offset,
+ uint32_t shaders_shm_id,
+ uint32_t shaders_shm_offset,
GLenum binaryformat,
- uint32 binary_shm_id,
- uint32 binary_shm_offset,
+ uint32_t binary_shm_id,
+ uint32_t binary_shm_offset,
GLsizei length) {
gles2::cmds::ShaderBinary* c = GetCmdSpace<gles2::cmds::ShaderBinary>();
if (c) {
}
}
-void ShaderSource(GLuint shader,
- uint32 data_shm_id,
- uint32 data_shm_offset,
- uint32 data_size) {
- gles2::cmds::ShaderSource* c = GetCmdSpace<gles2::cmds::ShaderSource>();
- if (c) {
- c->Init(shader, data_shm_id, data_shm_offset, data_size);
- }
-}
-
-void ShaderSourceBucket(GLuint shader, uint32 data_bucket_id) {
+void ShaderSourceBucket(GLuint shader, uint32_t data_bucket_id) {
gles2::cmds::ShaderSourceBucket* c =
GetCmdSpace<gles2::cmds::ShaderSourceBucket>();
if (c) {
GLint internalformat,
GLsizei width,
GLsizei height,
- GLint border,
GLenum format,
GLenum type,
- uint32 pixels_shm_id,
- uint32 pixels_shm_offset) {
+ uint32_t pixels_shm_id,
+ uint32_t pixels_shm_offset) {
gles2::cmds::TexImage2D* c = GetCmdSpace<gles2::cmds::TexImage2D>();
if (c) {
c->Init(target,
internalformat,
width,
height,
- border,
format,
type,
pixels_shm_id,
}
}
-void TexParameterfv(GLenum target,
- GLenum pname,
- uint32 params_shm_id,
- uint32 params_shm_offset) {
- gles2::cmds::TexParameterfv* c = GetCmdSpace<gles2::cmds::TexParameterfv>();
- if (c) {
- c->Init(target, pname, params_shm_id, params_shm_offset);
- }
-}
-
void TexParameterfvImmediate(GLenum target,
GLenum pname,
const GLfloat* params) {
- const uint32 size = gles2::cmds::TexParameterfvImmediate::ComputeSize();
+ const uint32_t size = gles2::cmds::TexParameterfvImmediate::ComputeSize();
gles2::cmds::TexParameterfvImmediate* c =
GetImmediateCmdSpaceTotalSize<gles2::cmds::TexParameterfvImmediate>(size);
if (c) {
}
}
-void TexParameteriv(GLenum target,
- GLenum pname,
- uint32 params_shm_id,
- uint32 params_shm_offset) {
- gles2::cmds::TexParameteriv* c = GetCmdSpace<gles2::cmds::TexParameteriv>();
- if (c) {
- c->Init(target, pname, params_shm_id, params_shm_offset);
- }
-}
-
void TexParameterivImmediate(GLenum target, GLenum pname, const GLint* params) {
- const uint32 size = gles2::cmds::TexParameterivImmediate::ComputeSize();
+ const uint32_t size = gles2::cmds::TexParameterivImmediate::ComputeSize();
gles2::cmds::TexParameterivImmediate* c =
GetImmediateCmdSpaceTotalSize<gles2::cmds::TexParameterivImmediate>(size);
if (c) {
GLsizei height,
GLenum format,
GLenum type,
- uint32 pixels_shm_id,
- uint32 pixels_shm_offset,
+ uint32_t pixels_shm_id,
+ uint32_t pixels_shm_offset,
GLboolean internal) {
gles2::cmds::TexSubImage2D* c = GetCmdSpace<gles2::cmds::TexSubImage2D>();
if (c) {
}
}
-void Uniform1fv(GLint location,
- GLsizei count,
- uint32 v_shm_id,
- uint32 v_shm_offset) {
- gles2::cmds::Uniform1fv* c = GetCmdSpace<gles2::cmds::Uniform1fv>();
- if (c) {
- c->Init(location, count, v_shm_id, v_shm_offset);
- }
-}
-
void Uniform1fvImmediate(GLint location, GLsizei count, const GLfloat* v) {
- const uint32 size = gles2::cmds::Uniform1fvImmediate::ComputeSize(count);
+ const uint32_t size = gles2::cmds::Uniform1fvImmediate::ComputeSize(count);
gles2::cmds::Uniform1fvImmediate* c =
GetImmediateCmdSpaceTotalSize<gles2::cmds::Uniform1fvImmediate>(size);
if (c) {
}
}
-void Uniform1iv(GLint location,
- GLsizei count,
- uint32 v_shm_id,
- uint32 v_shm_offset) {
- gles2::cmds::Uniform1iv* c = GetCmdSpace<gles2::cmds::Uniform1iv>();
- if (c) {
- c->Init(location, count, v_shm_id, v_shm_offset);
- }
-}
-
void Uniform1ivImmediate(GLint location, GLsizei count, const GLint* v) {
- const uint32 size = gles2::cmds::Uniform1ivImmediate::ComputeSize(count);
+ const uint32_t size = gles2::cmds::Uniform1ivImmediate::ComputeSize(count);
gles2::cmds::Uniform1ivImmediate* c =
GetImmediateCmdSpaceTotalSize<gles2::cmds::Uniform1ivImmediate>(size);
if (c) {
}
}
-void Uniform2fv(GLint location,
- GLsizei count,
- uint32 v_shm_id,
- uint32 v_shm_offset) {
- gles2::cmds::Uniform2fv* c = GetCmdSpace<gles2::cmds::Uniform2fv>();
- if (c) {
- c->Init(location, count, v_shm_id, v_shm_offset);
- }
-}
-
void Uniform2fvImmediate(GLint location, GLsizei count, const GLfloat* v) {
- const uint32 size = gles2::cmds::Uniform2fvImmediate::ComputeSize(count);
+ const uint32_t size = gles2::cmds::Uniform2fvImmediate::ComputeSize(count);
gles2::cmds::Uniform2fvImmediate* c =
GetImmediateCmdSpaceTotalSize<gles2::cmds::Uniform2fvImmediate>(size);
if (c) {
}
}
-void Uniform2iv(GLint location,
- GLsizei count,
- uint32 v_shm_id,
- uint32 v_shm_offset) {
- gles2::cmds::Uniform2iv* c = GetCmdSpace<gles2::cmds::Uniform2iv>();
- if (c) {
- c->Init(location, count, v_shm_id, v_shm_offset);
- }
-}
-
void Uniform2ivImmediate(GLint location, GLsizei count, const GLint* v) {
- const uint32 size = gles2::cmds::Uniform2ivImmediate::ComputeSize(count);
+ const uint32_t size = gles2::cmds::Uniform2ivImmediate::ComputeSize(count);
gles2::cmds::Uniform2ivImmediate* c =
GetImmediateCmdSpaceTotalSize<gles2::cmds::Uniform2ivImmediate>(size);
if (c) {
}
}
-void Uniform3fv(GLint location,
- GLsizei count,
- uint32 v_shm_id,
- uint32 v_shm_offset) {
- gles2::cmds::Uniform3fv* c = GetCmdSpace<gles2::cmds::Uniform3fv>();
- if (c) {
- c->Init(location, count, v_shm_id, v_shm_offset);
- }
-}
-
void Uniform3fvImmediate(GLint location, GLsizei count, const GLfloat* v) {
- const uint32 size = gles2::cmds::Uniform3fvImmediate::ComputeSize(count);
+ const uint32_t size = gles2::cmds::Uniform3fvImmediate::ComputeSize(count);
gles2::cmds::Uniform3fvImmediate* c =
GetImmediateCmdSpaceTotalSize<gles2::cmds::Uniform3fvImmediate>(size);
if (c) {
}
}
-void Uniform3iv(GLint location,
- GLsizei count,
- uint32 v_shm_id,
- uint32 v_shm_offset) {
- gles2::cmds::Uniform3iv* c = GetCmdSpace<gles2::cmds::Uniform3iv>();
- if (c) {
- c->Init(location, count, v_shm_id, v_shm_offset);
- }
-}
-
void Uniform3ivImmediate(GLint location, GLsizei count, const GLint* v) {
- const uint32 size = gles2::cmds::Uniform3ivImmediate::ComputeSize(count);
+ const uint32_t size = gles2::cmds::Uniform3ivImmediate::ComputeSize(count);
gles2::cmds::Uniform3ivImmediate* c =
GetImmediateCmdSpaceTotalSize<gles2::cmds::Uniform3ivImmediate>(size);
if (c) {
}
}
-void Uniform4fv(GLint location,
- GLsizei count,
- uint32 v_shm_id,
- uint32 v_shm_offset) {
- gles2::cmds::Uniform4fv* c = GetCmdSpace<gles2::cmds::Uniform4fv>();
- if (c) {
- c->Init(location, count, v_shm_id, v_shm_offset);
- }
-}
-
void Uniform4fvImmediate(GLint location, GLsizei count, const GLfloat* v) {
- const uint32 size = gles2::cmds::Uniform4fvImmediate::ComputeSize(count);
+ const uint32_t size = gles2::cmds::Uniform4fvImmediate::ComputeSize(count);
gles2::cmds::Uniform4fvImmediate* c =
GetImmediateCmdSpaceTotalSize<gles2::cmds::Uniform4fvImmediate>(size);
if (c) {
}
}
-void Uniform4iv(GLint location,
- GLsizei count,
- uint32 v_shm_id,
- uint32 v_shm_offset) {
- gles2::cmds::Uniform4iv* c = GetCmdSpace<gles2::cmds::Uniform4iv>();
- if (c) {
- c->Init(location, count, v_shm_id, v_shm_offset);
- }
-}
-
void Uniform4ivImmediate(GLint location, GLsizei count, const GLint* v) {
- const uint32 size = gles2::cmds::Uniform4ivImmediate::ComputeSize(count);
+ const uint32_t size = gles2::cmds::Uniform4ivImmediate::ComputeSize(count);
gles2::cmds::Uniform4ivImmediate* c =
GetImmediateCmdSpaceTotalSize<gles2::cmds::Uniform4ivImmediate>(size);
if (c) {
}
}
-void UniformMatrix2fv(GLint location,
- GLsizei count,
- GLboolean transpose,
- uint32 value_shm_id,
- uint32 value_shm_offset) {
- gles2::cmds::UniformMatrix2fv* c =
- GetCmdSpace<gles2::cmds::UniformMatrix2fv>();
- if (c) {
- c->Init(location, count, transpose, value_shm_id, value_shm_offset);
- }
-}
-
void UniformMatrix2fvImmediate(GLint location,
GLsizei count,
- GLboolean transpose,
const GLfloat* value) {
- const uint32 size =
+ const uint32_t size =
gles2::cmds::UniformMatrix2fvImmediate::ComputeSize(count);
gles2::cmds::UniformMatrix2fvImmediate* c =
GetImmediateCmdSpaceTotalSize<gles2::cmds::UniformMatrix2fvImmediate>(
size);
if (c) {
- c->Init(location, count, transpose, value);
- }
-}
-
-void UniformMatrix3fv(GLint location,
- GLsizei count,
- GLboolean transpose,
- uint32 value_shm_id,
- uint32 value_shm_offset) {
- gles2::cmds::UniformMatrix3fv* c =
- GetCmdSpace<gles2::cmds::UniformMatrix3fv>();
- if (c) {
- c->Init(location, count, transpose, value_shm_id, value_shm_offset);
+ c->Init(location, count, value);
}
}
void UniformMatrix3fvImmediate(GLint location,
GLsizei count,
- GLboolean transpose,
const GLfloat* value) {
- const uint32 size =
+ const uint32_t size =
gles2::cmds::UniformMatrix3fvImmediate::ComputeSize(count);
gles2::cmds::UniformMatrix3fvImmediate* c =
GetImmediateCmdSpaceTotalSize<gles2::cmds::UniformMatrix3fvImmediate>(
size);
if (c) {
- c->Init(location, count, transpose, value);
- }
-}
-
-void UniformMatrix4fv(GLint location,
- GLsizei count,
- GLboolean transpose,
- uint32 value_shm_id,
- uint32 value_shm_offset) {
- gles2::cmds::UniformMatrix4fv* c =
- GetCmdSpace<gles2::cmds::UniformMatrix4fv>();
- if (c) {
- c->Init(location, count, transpose, value_shm_id, value_shm_offset);
+ c->Init(location, count, value);
}
}
void UniformMatrix4fvImmediate(GLint location,
GLsizei count,
- GLboolean transpose,
const GLfloat* value) {
- const uint32 size =
+ const uint32_t size =
gles2::cmds::UniformMatrix4fvImmediate::ComputeSize(count);
gles2::cmds::UniformMatrix4fvImmediate* c =
GetImmediateCmdSpaceTotalSize<gles2::cmds::UniformMatrix4fvImmediate>(
size);
if (c) {
- c->Init(location, count, transpose, value);
+ c->Init(location, count, value);
}
}
}
}
-void VertexAttrib1fv(GLuint indx,
- uint32 values_shm_id,
- uint32 values_shm_offset) {
- gles2::cmds::VertexAttrib1fv* c = GetCmdSpace<gles2::cmds::VertexAttrib1fv>();
- if (c) {
- c->Init(indx, values_shm_id, values_shm_offset);
- }
-}
-
void VertexAttrib1fvImmediate(GLuint indx, const GLfloat* values) {
- const uint32 size = gles2::cmds::VertexAttrib1fvImmediate::ComputeSize();
+ const uint32_t size = gles2::cmds::VertexAttrib1fvImmediate::ComputeSize();
gles2::cmds::VertexAttrib1fvImmediate* c =
GetImmediateCmdSpaceTotalSize<gles2::cmds::VertexAttrib1fvImmediate>(
size);
}
}
-void VertexAttrib2fv(GLuint indx,
- uint32 values_shm_id,
- uint32 values_shm_offset) {
- gles2::cmds::VertexAttrib2fv* c = GetCmdSpace<gles2::cmds::VertexAttrib2fv>();
- if (c) {
- c->Init(indx, values_shm_id, values_shm_offset);
- }
-}
-
void VertexAttrib2fvImmediate(GLuint indx, const GLfloat* values) {
- const uint32 size = gles2::cmds::VertexAttrib2fvImmediate::ComputeSize();
+ const uint32_t size = gles2::cmds::VertexAttrib2fvImmediate::ComputeSize();
gles2::cmds::VertexAttrib2fvImmediate* c =
GetImmediateCmdSpaceTotalSize<gles2::cmds::VertexAttrib2fvImmediate>(
size);
}
}
-void VertexAttrib3fv(GLuint indx,
- uint32 values_shm_id,
- uint32 values_shm_offset) {
- gles2::cmds::VertexAttrib3fv* c = GetCmdSpace<gles2::cmds::VertexAttrib3fv>();
- if (c) {
- c->Init(indx, values_shm_id, values_shm_offset);
- }
-}
-
void VertexAttrib3fvImmediate(GLuint indx, const GLfloat* values) {
- const uint32 size = gles2::cmds::VertexAttrib3fvImmediate::ComputeSize();
+ const uint32_t size = gles2::cmds::VertexAttrib3fvImmediate::ComputeSize();
gles2::cmds::VertexAttrib3fvImmediate* c =
GetImmediateCmdSpaceTotalSize<gles2::cmds::VertexAttrib3fvImmediate>(
size);
}
}
-void VertexAttrib4fv(GLuint indx,
- uint32 values_shm_id,
- uint32 values_shm_offset) {
- gles2::cmds::VertexAttrib4fv* c = GetCmdSpace<gles2::cmds::VertexAttrib4fv>();
- if (c) {
- c->Init(indx, values_shm_id, values_shm_offset);
- }
-}
-
void VertexAttrib4fvImmediate(GLuint indx, const GLfloat* values) {
- const uint32 size = gles2::cmds::VertexAttrib4fvImmediate::ComputeSize();
+ const uint32_t size = gles2::cmds::VertexAttrib4fvImmediate::ComputeSize();
gles2::cmds::VertexAttrib4fvImmediate* c =
GetImmediateCmdSpaceTotalSize<gles2::cmds::VertexAttrib4fvImmediate>(
size);
GLenum attachment,
GLenum textarget,
GLuint texture,
- GLint level,
GLsizei samples) {
gles2::cmds::FramebufferTexture2DMultisampleEXT* c =
GetCmdSpace<gles2::cmds::FramebufferTexture2DMultisampleEXT>();
if (c) {
- c->Init(target, attachment, textarget, texture, level, samples);
+ c->Init(target, attachment, textarget, texture, samples);
}
}
}
}
-void GenQueriesEXT(GLsizei n,
- uint32 queries_shm_id,
- uint32 queries_shm_offset) {
- gles2::cmds::GenQueriesEXT* c = GetCmdSpace<gles2::cmds::GenQueriesEXT>();
- if (c) {
- c->Init(n, queries_shm_id, queries_shm_offset);
- }
-}
-
void GenQueriesEXTImmediate(GLsizei n, GLuint* queries) {
- const uint32 size = gles2::cmds::GenQueriesEXTImmediate::ComputeSize(n);
+ const uint32_t size = gles2::cmds::GenQueriesEXTImmediate::ComputeSize(n);
gles2::cmds::GenQueriesEXTImmediate* c =
GetImmediateCmdSpaceTotalSize<gles2::cmds::GenQueriesEXTImmediate>(size);
if (c) {
}
}
-void DeleteQueriesEXT(GLsizei n,
- uint32 queries_shm_id,
- uint32 queries_shm_offset) {
- gles2::cmds::DeleteQueriesEXT* c =
- GetCmdSpace<gles2::cmds::DeleteQueriesEXT>();
- if (c) {
- c->Init(n, queries_shm_id, queries_shm_offset);
- }
-}
-
void DeleteQueriesEXTImmediate(GLsizei n, const GLuint* queries) {
- const uint32 size = gles2::cmds::DeleteQueriesEXTImmediate::ComputeSize(n);
+ const uint32_t size = gles2::cmds::DeleteQueriesEXTImmediate::ComputeSize(n);
gles2::cmds::DeleteQueriesEXTImmediate* c =
GetImmediateCmdSpaceTotalSize<gles2::cmds::DeleteQueriesEXTImmediate>(
size);
void BeginQueryEXT(GLenum target,
GLuint id,
- uint32 sync_data_shm_id,
- uint32 sync_data_shm_offset) {
+ uint32_t sync_data_shm_id,
+ uint32_t sync_data_shm_offset) {
gles2::cmds::BeginQueryEXT* c = GetCmdSpace<gles2::cmds::BeginQueryEXT>();
if (c) {
c->Init(target, id, sync_data_shm_id, sync_data_shm_offset);
}
}
-void GenVertexArraysOES(GLsizei n,
- uint32 arrays_shm_id,
- uint32 arrays_shm_offset) {
- gles2::cmds::GenVertexArraysOES* c =
- GetCmdSpace<gles2::cmds::GenVertexArraysOES>();
- if (c) {
- c->Init(n, arrays_shm_id, arrays_shm_offset);
- }
-}
-
void GenVertexArraysOESImmediate(GLsizei n, GLuint* arrays) {
- const uint32 size = gles2::cmds::GenVertexArraysOESImmediate::ComputeSize(n);
+ const uint32_t size =
+ gles2::cmds::GenVertexArraysOESImmediate::ComputeSize(n);
gles2::cmds::GenVertexArraysOESImmediate* c =
GetImmediateCmdSpaceTotalSize<gles2::cmds::GenVertexArraysOESImmediate>(
size);
}
}
-void DeleteVertexArraysOES(GLsizei n,
- uint32 arrays_shm_id,
- uint32 arrays_shm_offset) {
- gles2::cmds::DeleteVertexArraysOES* c =
- GetCmdSpace<gles2::cmds::DeleteVertexArraysOES>();
- if (c) {
- c->Init(n, arrays_shm_id, arrays_shm_offset);
- }
-}
-
void DeleteVertexArraysOESImmediate(GLsizei n, const GLuint* arrays) {
- const uint32 size =
+ const uint32_t size =
gles2::cmds::DeleteVertexArraysOESImmediate::ComputeSize(n);
gles2::cmds::DeleteVertexArraysOESImmediate* c =
GetImmediateCmdSpaceTotalSize<
}
void IsVertexArrayOES(GLuint array,
- uint32 result_shm_id,
- uint32 result_shm_offset) {
+ uint32_t result_shm_id,
+ uint32_t result_shm_offset) {
gles2::cmds::IsVertexArrayOES* c =
GetCmdSpace<gles2::cmds::IsVertexArrayOES>();
if (c) {
GLsizei count,
GLenum type,
GLuint offset,
- uint32 result_shm_id,
- uint32 result_shm_offset) {
+ uint32_t result_shm_id,
+ uint32_t result_shm_offset) {
gles2::cmds::GetMaxValueInBufferCHROMIUM* c =
GetCmdSpace<gles2::cmds::GetMaxValueInBufferCHROMIUM>();
if (c) {
void GenSharedIdsCHROMIUM(GLuint namespace_id,
GLuint id_offset,
GLsizei n,
- uint32 ids_shm_id,
- uint32 ids_shm_offset) {
+ uint32_t ids_shm_id,
+ uint32_t ids_shm_offset) {
gles2::cmds::GenSharedIdsCHROMIUM* c =
GetCmdSpace<gles2::cmds::GenSharedIdsCHROMIUM>();
if (c) {
void DeleteSharedIdsCHROMIUM(GLuint namespace_id,
GLsizei n,
- uint32 ids_shm_id,
- uint32 ids_shm_offset) {
+ uint32_t ids_shm_id,
+ uint32_t ids_shm_offset) {
gles2::cmds::DeleteSharedIdsCHROMIUM* c =
GetCmdSpace<gles2::cmds::DeleteSharedIdsCHROMIUM>();
if (c) {
void RegisterSharedIdsCHROMIUM(GLuint namespace_id,
GLsizei n,
- uint32 ids_shm_id,
- uint32 ids_shm_offset) {
+ uint32_t ids_shm_id,
+ uint32_t ids_shm_offset) {
gles2::cmds::RegisterSharedIdsCHROMIUM* c =
GetCmdSpace<gles2::cmds::RegisterSharedIdsCHROMIUM>();
if (c) {
}
void EnableFeatureCHROMIUM(GLuint bucket_id,
- uint32 result_shm_id,
- uint32 result_shm_offset) {
+ uint32_t result_shm_id,
+ uint32_t result_shm_offset) {
gles2::cmds::EnableFeatureCHROMIUM* c =
GetCmdSpace<gles2::cmds::EnableFeatureCHROMIUM>();
if (c) {
}
}
-void GetRequestableExtensionsCHROMIUM(uint32 bucket_id) {
+void GetRequestableExtensionsCHROMIUM(uint32_t bucket_id) {
gles2::cmds::GetRequestableExtensionsCHROMIUM* c =
GetCmdSpace<gles2::cmds::GetRequestableExtensionsCHROMIUM>();
if (c) {
}
}
-void RequestExtensionCHROMIUM(uint32 bucket_id) {
+void RequestExtensionCHROMIUM(uint32_t bucket_id) {
gles2::cmds::RequestExtensionCHROMIUM* c =
GetCmdSpace<gles2::cmds::RequestExtensionCHROMIUM>();
if (c) {
}
}
-void GetMultipleIntegervCHROMIUM(uint32 pnames_shm_id,
- uint32 pnames_shm_offset,
+void GetMultipleIntegervCHROMIUM(uint32_t pnames_shm_id,
+ uint32_t pnames_shm_offset,
GLuint count,
- uint32 results_shm_id,
- uint32 results_shm_offset,
+ uint32_t results_shm_id,
+ uint32_t results_shm_offset,
GLsizeiptr size) {
gles2::cmds::GetMultipleIntegervCHROMIUM* c =
GetCmdSpace<gles2::cmds::GetMultipleIntegervCHROMIUM>();
}
}
-void GetProgramInfoCHROMIUM(GLuint program, uint32 bucket_id) {
+void GetProgramInfoCHROMIUM(GLuint program, uint32_t bucket_id) {
gles2::cmds::GetProgramInfoCHROMIUM* c =
GetCmdSpace<gles2::cmds::GetProgramInfoCHROMIUM>();
if (c) {
}
}
-void GetTranslatedShaderSourceANGLE(GLuint shader, uint32 bucket_id) {
+void GetTranslatedShaderSourceANGLE(GLuint shader, uint32_t bucket_id) {
gles2::cmds::GetTranslatedShaderSourceANGLE* c =
GetCmdSpace<gles2::cmds::GetTranslatedShaderSourceANGLE>();
if (c) {
}
}
-void ProduceTextureCHROMIUM(GLenum target,
- uint32 mailbox_shm_id,
- uint32 mailbox_shm_offset) {
- gles2::cmds::ProduceTextureCHROMIUM* c =
- GetCmdSpace<gles2::cmds::ProduceTextureCHROMIUM>();
- if (c) {
- c->Init(target, mailbox_shm_id, mailbox_shm_offset);
- }
-}
-
void ProduceTextureCHROMIUMImmediate(GLenum target, const GLbyte* mailbox) {
- const uint32 size =
+ const uint32_t size =
gles2::cmds::ProduceTextureCHROMIUMImmediate::ComputeSize();
gles2::cmds::ProduceTextureCHROMIUMImmediate* c =
GetImmediateCmdSpaceTotalSize<
}
}
-void ConsumeTextureCHROMIUM(GLenum target,
- uint32 mailbox_shm_id,
- uint32 mailbox_shm_offset) {
- gles2::cmds::ConsumeTextureCHROMIUM* c =
- GetCmdSpace<gles2::cmds::ConsumeTextureCHROMIUM>();
+void ProduceTextureDirectCHROMIUMImmediate(GLuint texture,
+ GLenum target,
+ const GLbyte* mailbox) {
+ const uint32_t size =
+ gles2::cmds::ProduceTextureDirectCHROMIUMImmediate::ComputeSize();
+ gles2::cmds::ProduceTextureDirectCHROMIUMImmediate* c =
+ GetImmediateCmdSpaceTotalSize<
+ gles2::cmds::ProduceTextureDirectCHROMIUMImmediate>(size);
if (c) {
- c->Init(target, mailbox_shm_id, mailbox_shm_offset);
+ c->Init(texture, target, mailbox);
}
}
void ConsumeTextureCHROMIUMImmediate(GLenum target, const GLbyte* mailbox) {
- const uint32 size =
+ const uint32_t size =
gles2::cmds::ConsumeTextureCHROMIUMImmediate::ComputeSize();
gles2::cmds::ConsumeTextureCHROMIUMImmediate* c =
GetImmediateCmdSpaceTotalSize<
}
}
-void BindUniformLocationCHROMIUM(GLuint program,
- GLint location,
- uint32 name_shm_id,
- uint32 name_shm_offset,
- uint32 data_size) {
- gles2::cmds::BindUniformLocationCHROMIUM* c =
- GetCmdSpace<gles2::cmds::BindUniformLocationCHROMIUM>();
- if (c) {
- c->Init(program, location, name_shm_id, name_shm_offset, data_size);
- }
-}
-
void BindUniformLocationCHROMIUMBucket(GLuint program,
GLint location,
- uint32 name_bucket_id) {
+ uint32_t name_bucket_id) {
gles2::cmds::BindUniformLocationCHROMIUMBucket* c =
GetCmdSpace<gles2::cmds::BindUniformLocationCHROMIUMBucket>();
if (c) {
GLsizei height,
GLenum format,
GLenum type,
- uint32 data_shm_id,
- uint32 data_shm_offset) {
+ uint32_t data_shm_id,
+ uint32_t data_shm_offset,
+ uint32_t async_upload_token,
+ uint32_t sync_data_shm_id,
+ uint32_t sync_data_shm_offset) {
gles2::cmds::AsyncTexSubImage2DCHROMIUM* c =
GetCmdSpace<gles2::cmds::AsyncTexSubImage2DCHROMIUM>();
if (c) {
format,
type,
data_shm_id,
- data_shm_offset);
+ data_shm_offset,
+ async_upload_token,
+ sync_data_shm_id,
+ sync_data_shm_offset);
}
}
GLint internalformat,
GLsizei width,
GLsizei height,
- GLint border,
GLenum format,
GLenum type,
- uint32 pixels_shm_id,
- uint32 pixels_shm_offset) {
+ uint32_t pixels_shm_id,
+ uint32_t pixels_shm_offset,
+ uint32_t async_upload_token,
+ uint32_t sync_data_shm_id,
+ uint32_t sync_data_shm_offset) {
gles2::cmds::AsyncTexImage2DCHROMIUM* c =
GetCmdSpace<gles2::cmds::AsyncTexImage2DCHROMIUM>();
if (c) {
internalformat,
width,
height,
- border,
format,
type,
pixels_shm_id,
- pixels_shm_offset);
+ pixels_shm_offset,
+ async_upload_token,
+ sync_data_shm_id,
+ sync_data_shm_offset);
}
}
}
}
-void DiscardFramebufferEXT(GLenum target,
- GLsizei count,
- uint32 attachments_shm_id,
- uint32 attachments_shm_offset) {
- gles2::cmds::DiscardFramebufferEXT* c =
- GetCmdSpace<gles2::cmds::DiscardFramebufferEXT>();
+void WaitAllAsyncTexImage2DCHROMIUM() {
+ gles2::cmds::WaitAllAsyncTexImage2DCHROMIUM* c =
+ GetCmdSpace<gles2::cmds::WaitAllAsyncTexImage2DCHROMIUM>();
if (c) {
- c->Init(target, count, attachments_shm_id, attachments_shm_offset);
+ c->Init();
}
}
void DiscardFramebufferEXTImmediate(GLenum target,
GLsizei count,
const GLenum* attachments) {
- const uint32 size =
+ const uint32_t size =
gles2::cmds::DiscardFramebufferEXTImmediate::ComputeSize(count);
gles2::cmds::DiscardFramebufferEXTImmediate* c =
GetImmediateCmdSpaceTotalSize<
}
}
-void DrawBuffersEXT(GLsizei count, uint32 bufs_shm_id, uint32 bufs_shm_offset) {
- gles2::cmds::DrawBuffersEXT* c = GetCmdSpace<gles2::cmds::DrawBuffersEXT>();
- if (c) {
- c->Init(count, bufs_shm_id, bufs_shm_offset);
- }
-}
-
void DrawBuffersEXTImmediate(GLsizei count, const GLenum* bufs) {
- const uint32 size = gles2::cmds::DrawBuffersEXTImmediate::ComputeSize(count);
+ const uint32_t size =
+ gles2::cmds::DrawBuffersEXTImmediate::ComputeSize(count);
gles2::cmds::DrawBuffersEXTImmediate* c =
GetImmediateCmdSpaceTotalSize<gles2::cmds::DrawBuffersEXTImmediate>(size);
if (c) {
}
}
+void ScheduleOverlayPlaneCHROMIUM(GLint plane_z_order,
+ GLenum plane_transform,
+ GLuint overlay_texture_id,
+ GLint bounds_x,
+ GLint bounds_y,
+ GLint bounds_width,
+ GLint bounds_height,
+ GLfloat uv_x,
+ GLfloat uv_y,
+ GLfloat uv_width,
+ GLfloat uv_height) {
+ gles2::cmds::ScheduleOverlayPlaneCHROMIUM* c =
+ GetCmdSpace<gles2::cmds::ScheduleOverlayPlaneCHROMIUM>();
+ if (c) {
+ c->Init(plane_z_order,
+ plane_transform,
+ overlay_texture_id,
+ bounds_x,
+ bounds_y,
+ bounds_width,
+ bounds_height,
+ uv_x,
+ uv_y,
+ uv_width,
+ uv_height);
+ }
+}
+
#endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_