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

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

Issue 7890046: Command to mark surface inactive, so gpu process can release resources. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Flush only on hide Created 9 years, 2 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 0705fb35871046eff373c066f4d1a1044a137ce7..c510c4df855a90425488b5eebd13a87b14a1514f 100644
--- a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
+++ b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
@@ -1247,5 +1247,11 @@
c.Init(shader, bucket_id);
}
+ void SetSurfaceVisibleCHROMIUM(GLboolean visible) {
+ gles2::SetSurfaceVisibleCHROMIUM& c =
+ GetCmdSpace<gles2::SetSurfaceVisibleCHROMIUM>();
+ c.Init(visible);
+ }
+
#endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_

Powered by Google App Engine
This is Rietveld 408576698