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

Unified Diff: gpu/command_buffer/client/gles2_implementation_impl_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_implementation_impl_autogen.h
diff --git a/gpu/command_buffer/client/gles2_implementation_impl_autogen.h b/gpu/command_buffer/client/gles2_implementation_impl_autogen.h
index 9d9a020fe622cbb4a9926cb94c28a594ef281df0..b748d03c742e34af0ce6e2d6f69f2be5d2725c5e 100644
--- a/gpu/command_buffer/client/gles2_implementation_impl_autogen.h
+++ b/gpu/command_buffer/client/gles2_implementation_impl_autogen.h
@@ -2138,4 +2138,28 @@ void GLES2Implementation::ScheduleOverlayPlaneCHROMIUM(
CheckGLError();
}
+void GLES2Implementation::MatrixLoadfCHROMIUM(GLenum matrixMode,
+ const GLfloat* m) {
+ GPU_CLIENT_SINGLE_THREAD_CHECK();
+ GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glMatrixLoadfCHROMIUM("
+ << GLES2Util::GetStringMatrixMode(matrixMode) << ", "
+ << static_cast<const void*>(m) << ")");
+ GPU_CLIENT_LOG("values: " << m[0] << ", " << m[1] << ", " << m[2] << ", "
+ << m[3] << ", " << m[4] << ", " << m[5] << ", "
+ << m[6] << ", " << m[7] << ", " << m[8] << ", "
+ << m[9] << ", " << m[10] << ", " << m[11] << ", "
+ << m[12] << ", " << m[13] << ", " << m[14] << ", "
+ << m[15]);
+ helper_->MatrixLoadfCHROMIUMImmediate(matrixMode, m);
+ CheckGLError();
+}
+
+void GLES2Implementation::MatrixLoadIdentityCHROMIUM(GLenum matrixMode) {
+ GPU_CLIENT_SINGLE_THREAD_CHECK();
+ GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glMatrixLoadIdentityCHROMIUM("
+ << GLES2Util::GetStringMatrixMode(matrixMode) << ")");
+ helper_->MatrixLoadIdentityCHROMIUM(matrixMode);
+ CheckGLError();
+}
+
#endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_IMPL_AUTOGEN_H_

Powered by Google App Engine
This is Rietveld 408576698