#include "gpu/ipc/common/gpu_info.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 "gpu/ipc/common/gpu_info.mojom-params-data.h"
namespace gpu {
namespace mojom {
NOINLINE static const char* VideoCodecProfileToStringHelper(VideoCodecProfile value) { … }
std::string VideoCodecProfileToString(VideoCodecProfile value) { … }
std::ostream& operator<<(std::ostream& os, VideoCodecProfile value) { … }
NOINLINE static const char* ImageDecodeAcceleratorTypeToStringHelper(ImageDecodeAcceleratorType value) { … }
std::string ImageDecodeAcceleratorTypeToString(ImageDecodeAcceleratorType value) { … }
std::ostream& operator<<(std::ostream& os, ImageDecodeAcceleratorType value) { … }
NOINLINE static const char* ImageDecodeAcceleratorSubsamplingToStringHelper(ImageDecodeAcceleratorSubsampling value) { … }
std::string ImageDecodeAcceleratorSubsamplingToString(ImageDecodeAcceleratorSubsampling value) { … }
std::ostream& operator<<(std::ostream& os, ImageDecodeAcceleratorSubsampling value) { … }
namespace internal {
bool GpuDevice_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
GpuDevice_Data::GpuDevice_Data()
: … { … }
bool VideoDecodeAcceleratorSupportedProfile_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
VideoDecodeAcceleratorSupportedProfile_Data::VideoDecodeAcceleratorSupportedProfile_Data()
: … { … }
bool VideoDecodeAcceleratorCapabilities_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
VideoDecodeAcceleratorCapabilities_Data::VideoDecodeAcceleratorCapabilities_Data()
: … { … }
bool VideoEncodeAcceleratorSupportedProfile_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
VideoEncodeAcceleratorSupportedProfile_Data::VideoEncodeAcceleratorSupportedProfile_Data()
: … { … }
bool ImageDecodeAcceleratorSupportedProfile_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ImageDecodeAcceleratorSupportedProfile_Data::ImageDecodeAcceleratorSupportedProfile_Data()
: … { … }
bool GpuInfo_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
GpuInfo_Data::GpuInfo_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::gpu::mojom::VideoCodecProfile>::WriteIntoTrace(
perfetto::TracedValue context, ::gpu::mojom::VideoCodecProfile value) { … }
}
namespace perfetto {
void TraceFormatTraits<::gpu::mojom::ImageDecodeAcceleratorType>::WriteIntoTrace(
perfetto::TracedValue context, ::gpu::mojom::ImageDecodeAcceleratorType value) { … }
}
namespace perfetto {
void TraceFormatTraits<::gpu::mojom::ImageDecodeAcceleratorSubsampling>::WriteIntoTrace(
perfetto::TracedValue context, ::gpu::mojom::ImageDecodeAcceleratorSubsampling value) { … }
}