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

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

Issue 2743663006: Allow switching DirectCompositionSurfaceWin between drawing modes. (Closed)
Patch Set: rebase Created 3 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: 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 b3cba3c2391347856949115a0c9734e5cf4e17d9..5ff6a5f04964fd1be35f1937c04730fc5ea5edd8 100644
--- a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
+++ b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
@@ -3230,4 +3230,12 @@ void SetDrawRectangleCHROMIUM(GLint x, GLint y, GLint width, GLint height) {
}
}
+void SetEnableDCLayersCHROMIUM(GLboolean enabled) {
+ gles2::cmds::SetEnableDCLayersCHROMIUM* c =
+ GetCmdSpace<gles2::cmds::SetEnableDCLayersCHROMIUM>();
+ if (c) {
+ c->Init(enabled);
+ }
+}
+
#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_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698