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

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

Issue 2814583002: Service/ClientDiscardableManager (Closed)
Patch Set: rebase Created 3 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
« no previous file with comments | « gpu/command_buffer/client/gles2_c_lib_autogen.h ('k') | gpu/command_buffer/client/gles2_implementation.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2991ac956dc67ff9f2fd49e45a61ecddf23f07dc..77d259db84c5f0cfd2cccfe78ec8a94d894589be 100644
--- a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
+++ b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
@@ -3248,4 +3248,30 @@ void SetEnableDCLayersCHROMIUM(GLboolean enabled) {
}
}
+void InitializeDiscardableTextureCHROMIUM(GLuint texture_id,
+ uint32_t shm_id,
+ uint32_t shm_offset) {
+ gles2::cmds::InitializeDiscardableTextureCHROMIUM* c =
+ GetCmdSpace<gles2::cmds::InitializeDiscardableTextureCHROMIUM>();
+ if (c) {
+ c->Init(texture_id, shm_id, shm_offset);
+ }
+}
+
+void UnlockDiscardableTextureCHROMIUM(GLuint texture_id) {
+ gles2::cmds::UnlockDiscardableTextureCHROMIUM* c =
+ GetCmdSpace<gles2::cmds::UnlockDiscardableTextureCHROMIUM>();
+ if (c) {
+ c->Init(texture_id);
+ }
+}
+
+void LockDiscardableTextureCHROMIUM(GLuint texture_id) {
+ gles2::cmds::LockDiscardableTextureCHROMIUM* c =
+ GetCmdSpace<gles2::cmds::LockDiscardableTextureCHROMIUM>();
+ if (c) {
+ c->Init(texture_id);
+ }
+}
+
#endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_
« no previous file with comments | « gpu/command_buffer/client/gles2_c_lib_autogen.h ('k') | gpu/command_buffer/client/gles2_implementation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698