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

Unified Diff: gpu/command_buffer/service/gles2_cmd_decoder_unittest_extensions_autogen.h

Issue 573953002: command_buffer: infer all generated c/c++ source files to clang-format (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 3 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/service/gles2_cmd_decoder_unittest_extensions_autogen.h
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_extensions_autogen.h b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_extensions_autogen.h
index 7466edb91305863fe711ec43447f8fabff11672a..a81be2f8d34729445888b6ba01131bf5360e9437 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_extensions_autogen.h
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_extensions_autogen.h
@@ -18,21 +18,25 @@
// TODO(gman): FramebufferTexture2DMultisampleEXT
// TODO(gman): DiscardFramebufferEXTImmediate
-TEST_P(GLES2DecoderTestWithCHROMIUMPathRendering, MatrixLoadfCHROMIUMImmediateValidArgs) {
- cmds::MatrixLoadfCHROMIUMImmediate& cmd = *GetImmediateAs<cmds::MatrixLoadfCHROMIUMImmediate>();
+TEST_P(GLES2DecoderTestWithCHROMIUMPathRendering,
+ MatrixLoadfCHROMIUMImmediateValidArgs) {
+ cmds::MatrixLoadfCHROMIUMImmediate& cmd =
+ *GetImmediateAs<cmds::MatrixLoadfCHROMIUMImmediate>();
SpecializedSetup<cmds::MatrixLoadfCHROMIUMImmediate, 0>(true);
- GLfloat temp[16] = { 0, };
+ GLfloat temp[16] = {
+ 0,
+ };
cmd.Init(GL_PATH_PROJECTION_CHROMIUM, &temp[0]);
EXPECT_CALL(
*gl_,
- MatrixLoadfEXT(GL_PATH_PROJECTION_CHROMIUM, reinterpret_cast<
- GLfloat*>(ImmediateDataAddress(&cmd))));
- EXPECT_EQ(error::kNoError,
- ExecuteImmediateCmd(cmd, sizeof(temp)));
+ MatrixLoadfEXT(GL_PATH_PROJECTION_CHROMIUM,
+ reinterpret_cast<GLfloat*>(ImmediateDataAddress(&cmd))));
+ EXPECT_EQ(error::kNoError, ExecuteImmediateCmd(cmd, sizeof(temp)));
EXPECT_EQ(GL_NO_ERROR, GetGLError());
}
-TEST_P(GLES2DecoderTestWithCHROMIUMPathRendering, MatrixLoadIdentityCHROMIUMValidArgs) {
+TEST_P(GLES2DecoderTestWithCHROMIUMPathRendering,
+ MatrixLoadIdentityCHROMIUMValidArgs) {
EXPECT_CALL(*gl_, MatrixLoadIdentityEXT(GL_PATH_PROJECTION_CHROMIUM));
SpecializedSetup<cmds::MatrixLoadIdentityCHROMIUM, 0>(true);
cmds::MatrixLoadIdentityCHROMIUM cmd;
@@ -41,4 +45,3 @@ TEST_P(GLES2DecoderTestWithCHROMIUMPathRendering, MatrixLoadIdentityCHROMIUMVali
EXPECT_EQ(GL_NO_ERROR, GetGLError());
}
#endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_EXTENSIONS_AUTOGEN_H_
-

Powered by Google App Engine
This is Rietveld 408576698