Reformat all cpp and h files.
This applies git cl format --full to all ANGLE sources.
Bug: angleproject:2986
Change-Id: Ib504e618c1589332a37e97696cdc3515d739308f
Reviewed-on: https://chromium-review.googlesource.com/c/1351367
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
diff --git a/src/tests/gl_tests/CubeMapTextureTest.cpp b/src/tests/gl_tests/CubeMapTextureTest.cpp
index 98f864e..4522797 100644
--- a/src/tests/gl_tests/CubeMapTextureTest.cpp
+++ b/src/tests/gl_tests/CubeMapTextureTest.cpp
@@ -56,20 +56,16 @@
GLint mColorLocation;
};
-// Verify that rendering to the faces of a cube map consecutively will correctly render to each face.
+// Verify that rendering to the faces of a cube map consecutively will correctly render to each
+// face.
TEST_P(CubeMapTextureTest, RenderToFacesConsecutively)
{
// TODO: Diagnose and fix. http://anglebug.com/2954
ANGLE_SKIP_TEST_IF(IsVulkan() && IsIntel() && IsWindows());
- const GLfloat faceColors[] =
- {
- 1.0f, 0.0f, 0.0f, 1.0f,
- 0.0f, 1.0f, 0.0f, 1.0f,
- 0.0f, 0.0f, 1.0f, 1.0f,
- 1.0f, 1.0f, 0.0f, 1.0f,
- 1.0f, 0.0f, 1.0f, 1.0f,
- 0.0f, 1.0f, 1.0f, 1.0f,
+ const GLfloat faceColors[] = {
+ 1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f, 0.0f, 1.0f, 0.0f, 0.0f, 1.0f, 1.0f,
+ 1.0f, 1.0f, 0.0f, 1.0f, 1.0f, 0.0f, 1.0f, 1.0f, 0.0f, 1.0f, 1.0f, 1.0f,
};
GLuint tex = 0;
@@ -89,7 +85,8 @@
for (GLenum face = 0; face < 6; face++)
{
- glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_CUBE_MAP_POSITIVE_X + face, tex, 0);
+ glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0,
+ GL_TEXTURE_CUBE_MAP_POSITIVE_X + face, tex, 0);
EXPECT_GL_NO_ERROR();
glUseProgram(mProgram);
@@ -103,11 +100,13 @@
for (GLenum face = 0; face < 6; face++)
{
- glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_CUBE_MAP_POSITIVE_X + face, tex, 0);
+ glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0,
+ GL_TEXTURE_CUBE_MAP_POSITIVE_X + face, tex, 0);
EXPECT_GL_NO_ERROR();
const GLfloat *faceColor = faceColors + (face * 4);
- EXPECT_PIXEL_EQ(0, 0, faceColor[0] * 255, faceColor[1] * 255, faceColor[2] * 255, faceColor[3] * 255);
+ EXPECT_PIXEL_EQ(0, 0, faceColor[0] * 255, faceColor[1] * 255, faceColor[2] * 255,
+ faceColor[3] * 255);
EXPECT_GL_NO_ERROR();
}
@@ -117,7 +116,8 @@
EXPECT_GL_NO_ERROR();
}
-// Use this to select which configurations (e.g. which renderer, which GLES major version) these tests should be run against.
+// Use this to select which configurations (e.g. which renderer, which GLES major version) these
+// tests should be run against.
ANGLE_INSTANTIATE_TEST(CubeMapTextureTest,
ES2_D3D11(),
ES2_D3D11_FL10_0(),