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/libANGLE/Image.cpp b/src/libANGLE/Image.cpp
index 095ab90..8ddaddd 100644
--- a/src/libANGLE/Image.cpp
+++ b/src/libANGLE/Image.cpp
@@ -52,9 +52,7 @@
} // anonymous namespace
-ImageSibling::ImageSibling() : FramebufferAttachmentObject(), mSourcesOf(), mTargetOf()
-{
-}
+ImageSibling::ImageSibling() : FramebufferAttachmentObject(), mSourcesOf(), mTargetOf() {}
ImageSibling::~ImageSibling()
{
@@ -137,8 +135,7 @@
EGLClientBuffer buffer,
const AttributeMap &attribs)
: mImplementation(factory->createExternalImageSibling(context, target, buffer, attribs))
-{
-}
+{}
gl::Extents ExternalImageSibling::getAttachmentSize(const gl::ImageIndex &imageIndex) const
{
@@ -168,13 +165,9 @@
return mImplementation->isTexturable(context);
}
-void ExternalImageSibling::onAttach(const gl::Context *context)
-{
-}
+void ExternalImageSibling::onAttach(const gl::Context *context) {}
-void ExternalImageSibling::onDetach(const gl::Context *context)
-{
-}
+void ExternalImageSibling::onDetach(const gl::Context *context) {}
GLuint ExternalImageSibling::getId() const
{
@@ -188,8 +181,7 @@
}
void ExternalImageSibling::setInitState(const gl::ImageIndex &imageIndex, gl::InitState initState)
-{
-}
+{}
rx::ExternalImageSiblingImpl *ExternalImageSibling::getImplementation() const
{
@@ -210,12 +202,9 @@
size(buffer->getAttachmentSize(imageIndex)),
samples(buffer->getAttachmentSamples(imageIndex)),
sourceType(target)
-{
-}
+{}
-ImageState::~ImageState()
-{
-}
+ImageState::~ImageState() {}
Image::Image(rx::EGLImplFactory *factory,
const gl::Context *context,