Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(85)

Unified Diff: gpu/command_buffer/client/gles2_c_lib_autogen.h

Issue 299043003: Adding bindless variants mailbox produce/consume (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: gpu/command_buffer/client/gles2_c_lib_autogen.h
diff --git a/gpu/command_buffer/client/gles2_c_lib_autogen.h b/gpu/command_buffer/client/gles2_c_lib_autogen.h
index 6ad04d2e84316c18f397076af1def38e0fe43a71..b63d7797d4b902bcb1af86c0b745adf9882958f9 100644
--- a/gpu/command_buffer/client/gles2_c_lib_autogen.h
+++ b/gpu/command_buffer/client/gles2_c_lib_autogen.h
@@ -862,9 +862,20 @@ void GLES2GenMailboxCHROMIUM(GLbyte* mailbox) {
void GLES2ProduceTextureCHROMIUM(GLenum target, const GLbyte* mailbox) {
gles2::GetGLContext()->ProduceTextureCHROMIUM(target, mailbox);
}
+void GLES2ProduceTextureBindlessCHROMIUM(GLuint texture,
+ GLenum target,
+ const GLbyte* mailbox) {
+ gles2::GetGLContext()->ProduceTextureBindlessCHROMIUM(
+ texture, target, mailbox);
+}
void GLES2ConsumeTextureCHROMIUM(GLenum target, const GLbyte* mailbox) {
gles2::GetGLContext()->ConsumeTextureCHROMIUM(target, mailbox);
}
+GLuint GLES2CreateAndConsumeTextureCHROMIUM(GLenum target,
+ const GLbyte* mailbox) {
+ return gles2::GetGLContext()->CreateAndConsumeTextureCHROMIUM(target,
+ mailbox);
+}
void GLES2BindUniformLocationCHROMIUM(GLuint program,
GLint location,
const char* name) {
@@ -1667,10 +1678,18 @@ extern const NameToFunc g_gles2_function_table[] = {
reinterpret_cast<GLES2FunctionPointer>(glProduceTextureCHROMIUM),
},
{
+ "glProduceTextureBindlessCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glProduceTextureBindlessCHROMIUM),
+ },
+ {
"glConsumeTextureCHROMIUM",
reinterpret_cast<GLES2FunctionPointer>(glConsumeTextureCHROMIUM),
},
{
+ "glCreateAndConsumeTextureCHROMIUM",
+ reinterpret_cast<GLES2FunctionPointer>(glCreateAndConsumeTextureCHROMIUM),
+ },
+ {
"glBindUniformLocationCHROMIUM",
reinterpret_cast<GLES2FunctionPointer>(glBindUniformLocationCHROMIUM),
},

Powered by Google App Engine
This is Rietveld 408576698