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

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

Issue 12210129: gpu: Add the ability to wait on upload completion. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix logging. Created 7 years, 10 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
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | gpu/command_buffer/client/gles2_cmd_helper_autogen.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 d56df6fdb0d851125148a1aac0bedbc487320682..8ed8d9d8636ff07e7b0cc4a745b2f2abc250d7a7 100644
--- a/gpu/command_buffer/client/gles2_c_lib_autogen.h
+++ b/gpu/command_buffer/client/gles2_c_lib_autogen.h
@@ -712,6 +712,9 @@ void GLES2AsyncTexImage2DCHROMIUM(
target, level, internalformat, width, height, border, format, type,
pixels);
}
+void GLES2WaitAsyncTexImage2DCHROMIUM(GLenum target) {
+ gles2::GetGLContext()->WaitAsyncTexImage2DCHROMIUM(target);
+}
void GLES2DiscardFramebufferEXT(
GLenum target, GLsizei count, const GLenum* attachments) {
gles2::GetGLContext()->DiscardFramebufferEXT(target, count, attachments);
@@ -1053,6 +1056,8 @@ NameToFunc g_gles2_function_table[] = {
glAsyncTexSubImage2DCHROMIUM), },
{ "glAsyncTexImage2DCHROMIUM", reinterpret_cast<GLES2FunctionPointer>(
glAsyncTexImage2DCHROMIUM), },
+ { "glWaitAsyncTexImage2DCHROMIUM", reinterpret_cast<GLES2FunctionPointer>(
+ glWaitAsyncTexImage2DCHROMIUM), },
{ "glDiscardFramebufferEXT", reinterpret_cast<GLES2FunctionPointer>(
glDiscardFramebufferEXT), },
{ "glLoseContextCHROMIUM", reinterpret_cast<GLES2FunctionPointer>(
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | gpu/command_buffer/client/gles2_cmd_helper_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698