#include "services/viz/public/mojom/compositing/shared_image_format.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 "services/viz/public/mojom/compositing/shared_image_format.mojom-params-data.h"
namespace viz {
namespace mojom {
NOINLINE static const char* PlaneConfigToStringHelper(PlaneConfig value) { … }
std::string PlaneConfigToString(PlaneConfig value) { … }
std::ostream& operator<<(std::ostream& os, PlaneConfig value) { … }
NOINLINE static const char* SubsamplingToStringHelper(Subsampling value) { … }
std::string SubsamplingToString(Subsampling value) { … }
std::ostream& operator<<(std::ostream& os, Subsampling value) { … }
NOINLINE static const char* ChannelFormatToStringHelper(ChannelFormat value) { … }
std::string ChannelFormatToString(ChannelFormat value) { … }
std::ostream& operator<<(std::ostream& os, ChannelFormat value) { … }
namespace internal {
bool SharedImageFormat_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context,
bool inlined) { … }
bool MultiplanarFormat_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
MultiplanarFormat_Data::MultiplanarFormat_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::viz::mojom::PlaneConfig>::WriteIntoTrace(
perfetto::TracedValue context, ::viz::mojom::PlaneConfig value) { … }
}
namespace perfetto {
void TraceFormatTraits<::viz::mojom::Subsampling>::WriteIntoTrace(
perfetto::TracedValue context, ::viz::mojom::Subsampling value) { … }
}
namespace perfetto {
void TraceFormatTraits<::viz::mojom::ChannelFormat>::WriteIntoTrace(
perfetto::TracedValue context, ::viz::mojom::ChannelFormat value) { … }
}