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

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

Issue 169603002: Add initial support for NV_path_rendering extension to gpu command buffer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address review comment Created 6 years, 4 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 baba8d3dc625fc3e7a06376c39e82bf6c1fbcee1..7510ad1b46e9056ca9d732dc10f1117de671f77a 100644
--- a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
+++ b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
@@ -1944,4 +1944,23 @@ void ScheduleOverlayPlaneCHROMIUM(GLint plane_z_order,
}
}
+void MatrixLoadfCHROMIUMImmediate(GLenum matrixMode, const GLfloat* m) {
+ const uint32_t size =
+ gles2::cmds::MatrixLoadfCHROMIUMImmediate::ComputeSize();
+ gles2::cmds::MatrixLoadfCHROMIUMImmediate* c =
+ GetImmediateCmdSpaceTotalSize<gles2::cmds::MatrixLoadfCHROMIUMImmediate>(
+ size);
+ if (c) {
+ c->Init(matrixMode, m);
+ }
+}
+
+void MatrixLoadIdentityCHROMIUM(GLenum matrixMode) {
+ gles2::cmds::MatrixLoadIdentityCHROMIUM* c =
+ GetCmdSpace<gles2::cmds::MatrixLoadIdentityCHROMIUM>();
+ if (c) {
+ c->Init(matrixMode);
+ }
+}
+
#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