#include "ui/gl/mojom/gl_implementation.mojom-shared.h"
#include <ostream>
#include <utility>
#include "base/strings/stringprintf.h"
#include "mojo/public/cpp/bindings/lib/validate_params.h"
#include "mojo/public/cpp/bindings/lib/validation_errors.h"
#include "mojo/public/cpp/bindings/lib/validation_util.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value.h"
#include "ui/gl/mojom/gl_implementation.mojom-params-data.h"
namespace gl {
namespace mojom {
NOINLINE static const char* GLImplementationToStringHelper(GLImplementation value) { … }
std::string GLImplementationToString(GLImplementation value) { … }
std::ostream& operator<<(std::ostream& os, GLImplementation value) { … }
NOINLINE static const char* ANGLEImplementationToStringHelper(ANGLEImplementation value) { … }
std::string ANGLEImplementationToString(ANGLEImplementation value) { … }
std::ostream& operator<<(std::ostream& os, ANGLEImplementation value) { … }
namespace internal {
bool GLImplementationParts_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
GLImplementationParts_Data::GLImplementationParts_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::gl::mojom::GLImplementation>::WriteIntoTrace(
perfetto::TracedValue context, ::gl::mojom::GLImplementation value) { … }
}
namespace perfetto {
void TraceFormatTraits<::gl::mojom::ANGLEImplementation>::WriteIntoTrace(
perfetto::TracedValue context, ::gl::mojom::ANGLEImplementation value) { … }
}