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

Unified Diff: trunk/src/gpu/command_buffer/client/gles2_cmd_helper_autogen.h

Issue 216673006: Revert 260177 "By keeping track of transfer buffer usage (both s..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 9 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: trunk/src/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
===================================================================
--- trunk/src/gpu/command_buffer/client/gles2_cmd_helper_autogen.h (revision 260192)
+++ trunk/src/gpu/command_buffer/client/gles2_cmd_helper_autogen.h (working copy)
@@ -2097,10 +2097,7 @@
GLenum format,
GLenum type,
uint32 data_shm_id,
- uint32 data_shm_offset,
- uint32 async_upload_token,
- uint32 sync_data_shm_id,
- uint32 sync_data_shm_offset) {
+ uint32 data_shm_offset) {
gles2::cmds::AsyncTexSubImage2DCHROMIUM* c =
GetCmdSpace<gles2::cmds::AsyncTexSubImage2DCHROMIUM>();
if (c) {
@@ -2113,10 +2110,7 @@
format,
type,
data_shm_id,
- data_shm_offset,
- async_upload_token,
- sync_data_shm_id,
- sync_data_shm_offset);
+ data_shm_offset);
}
}
@@ -2129,10 +2123,7 @@
GLenum format,
GLenum type,
uint32 pixels_shm_id,
- uint32 pixels_shm_offset,
- uint32 async_upload_token,
- uint32 sync_data_shm_id,
- uint32 sync_data_shm_offset) {
+ uint32 pixels_shm_offset) {
gles2::cmds::AsyncTexImage2DCHROMIUM* c =
GetCmdSpace<gles2::cmds::AsyncTexImage2DCHROMIUM>();
if (c) {
@@ -2145,10 +2136,7 @@
format,
type,
pixels_shm_id,
- pixels_shm_offset,
- async_upload_token,
- sync_data_shm_id,
- sync_data_shm_offset);
+ pixels_shm_offset);
}
}
@@ -2160,14 +2148,6 @@
}
}
-void WaitAllAsyncTexImage2DCHROMIUM() {
- gles2::cmds::WaitAllAsyncTexImage2DCHROMIUM* c =
- GetCmdSpace<gles2::cmds::WaitAllAsyncTexImage2DCHROMIUM>();
- if (c) {
- c->Init();
- }
-}
-
void DiscardFramebufferEXT(GLenum target,
GLsizei count,
uint32 attachments_shm_id,
« no previous file with comments | « trunk/src/gpu/command_buffer/client/gles2_c_lib_autogen.h ('k') | trunk/src/gpu/command_buffer/client/gles2_implementation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698