Revert "Replace gl::trace logging with Chromium style logging"
Failing Chromium static initializers check:
FAILED linux-release-64/sizes/chrome-si/initializers: actual 8, expected 7, better lower
Possibly due to the static initializer for std::array for
the log severity types. We should change it to POD.
BUG=angleproject:1660
This reverts commit afcc41cee4ff63e7f6c9e60e55fc061adbba7dd4.
Change-Id: Ifb362a4af78542608397c7a0b19e6afe076f2cf3
Reviewed-on: https://chromium-review.googlesource.com/427235
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
diff --git a/src/libANGLE/formatutils.cpp b/src/libANGLE/formatutils.cpp
index 928d055..6692d3f 100644
--- a/src/libANGLE/formatutils.cpp
+++ b/src/libANGLE/formatutils.cpp
@@ -6,9 +6,8 @@
// formatutils.cpp: Queries for GL image formats.
-#include "libANGLE/formatutils.h"
-
#include "common/mathutil.h"
+#include "libANGLE/formatutils.h"
#include "libANGLE/Context.h"
#include "libANGLE/Framebuffer.h"
@@ -287,12 +286,6 @@
return invalid;
}
-std::ostream &operator<<(std::ostream &os, const Format &fmt)
-{
- // TODO(ynovikov): return string representation when available
- return FmtHexShort(os, fmt.asSized());
-}
-
bool InternalFormat::operator==(const InternalFormat &other) const
{
// We assume there are no duplicates.