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/CopyTextureTest.cpp b/src/tests/gl_tests/CopyTextureTest.cpp
index 7ec2068..4ef46ff 100644
--- a/src/tests/gl_tests/CopyTextureTest.cpp
+++ b/src/tests/gl_tests/CopyTextureTest.cpp
@@ -120,7 +120,8 @@
}
GLuint mTextures[2] = {
- 0, 0,
+ 0,
+ 0,
};
GLuint mFramebuffer = 0;
@@ -129,8 +130,7 @@
};
class CopyTextureTestDest : public CopyTextureTest
-{
-};
+{};
class CopyTextureTestWebGL : public CopyTextureTest
{
@@ -139,8 +139,7 @@
};
class CopyTextureTestES3 : public CopyTextureTest
-{
-};
+{};
// Test to ensure that the basic functionality of the extension works.
TEST_P(CopyTextureTest, BasicCopyTexture)
@@ -1272,7 +1271,6 @@
bool flipY, bool premultiplyAlpha,
bool unmultiplyAlpha,
const GLColor &expectedColor) {
-
GLTexture sourceTexture;
glBindTexture(GL_TEXTURE_2D, sourceTexture);
glTexImage2D(GL_TEXTURE_2D, 0, sourceInternalFormat, 1, 1, 0, sourceFormat, sourceType,
@@ -1294,7 +1292,6 @@
GLenum destInternalFormat, GLenum destFormat, GLenum destType,
bool flipY, bool premultiplyAlpha, bool unmultiplyAlpha,
const GLColor &expectedColor) {
-
GLTexture sourceTexture;
glBindTexture(GL_TEXTURE_2D, sourceTexture);
glTexImage2D(GL_TEXTURE_2D, 0, sourceInternalFormat, 1, 1, 0, sourceFormat, sourceType,
@@ -1413,7 +1410,6 @@
bool flipY, bool premultiplyAlpha,
bool unmultiplyAlpha,
const GLColor32F &expectedColor) {
-
GLTexture sourceTexture;
glBindTexture(GL_TEXTURE_2D, sourceTexture);
glTexImage2D(GL_TEXTURE_2D, 0, sourceInternalFormat, 1, 1, 0, sourceFormat, sourceType,
@@ -1545,7 +1541,6 @@
bool flipY, bool premultiplyAlpha,
bool unmultiplyAlpha,
const GLColor32U &expectedColor) {
-
GLTexture sourceTexture;
glBindTexture(GL_TEXTURE_2D, sourceTexture);
glTexImage2D(GL_TEXTURE_2D, 0, sourceInternalFormat, 1, 1, 0, sourceFormat, sourceType,