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

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

Issue 2646243002: Use IDCompositionSurface to implement DirectCompositionSurfaceWin. (Closed)
Patch Set: better Created 3 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 4f5f8eca935a1175706b53db093ac0abbb9c04a4..7f5b34a0cc48683b46bfdcd5881c6e3139e6ee39 100644
--- a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
+++ b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
@@ -3196,4 +3196,12 @@ void SwapBuffersWithDamageCHROMIUM(GLint x,
}
}
+void SetDrawRectangleCHROMIUM(GLint x, GLint y, GLint width, GLint height) {
+ gles2::cmds::SetDrawRectangleCHROMIUM* c =
+ GetCmdSpace<gles2::cmds::SetDrawRectangleCHROMIUM>();
+ if (c) {
+ c->Init(x, y, width, height);
+ }
+}
+
#endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_

Powered by Google App Engine
This is Rietveld 408576698