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

Unified Diff: gpu/command_buffer/client/gles2_cmd_helper_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: Added entry point for waiting. Rebased and added test. 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
Index: gpu/command_buffer/client/gles2_cmd_helper_autogen.h
diff --git a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
index 3aa64a19a8983f7a0a54d870d1f6f799fd7cea25..09d621d33cfe56b8281d41e0cef98a1b49e21d7d 100644
--- a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
+++ b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
@@ -1958,6 +1958,14 @@
}
}
+ void WaitAsyncTexImage2DCHROMIUM(GLenum target) {
+ gles2::WaitAsyncTexImage2DCHROMIUM* c =
+ GetCmdSpace<gles2::WaitAsyncTexImage2DCHROMIUM>();
+ if (c) {
+ c->Init(target);
+ }
+ }
+
void DiscardFramebufferEXT(
GLenum target, GLsizei count, uint32 attachments_shm_id,
uint32 attachments_shm_offset) {

Powered by Google App Engine
This is Rietveld 408576698