#include "gpu/ipc/common/gpu_disk_cache_type.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_disk_cache_type.mojom-params-data.h"
namespace gpu {
namespace mojom {
NOINLINE static const char* GpuDiskCacheTypeToStringHelper(GpuDiskCacheType value) { … }
std::string GpuDiskCacheTypeToString(GpuDiskCacheType value) { … }
std::ostream& operator<<(std::ostream& os, GpuDiskCacheType value) { … }
namespace internal {
bool GpuDiskCacheHandle_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context,
bool inlined) { … }
bool GpuDiskCacheGlShaderHandle_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
GpuDiskCacheGlShaderHandle_Data::GpuDiskCacheGlShaderHandle_Data()
: … { … }
bool GpuDiskCacheDawnWebGPUHandle_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
GpuDiskCacheDawnWebGPUHandle_Data::GpuDiskCacheDawnWebGPUHandle_Data()
: … { … }
bool GpuDiskCacheDawnGraphiteHandle_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
GpuDiskCacheDawnGraphiteHandle_Data::GpuDiskCacheDawnGraphiteHandle_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::gpu::mojom::GpuDiskCacheType>::WriteIntoTrace(
perfetto::TracedValue context, ::gpu::mojom::GpuDiskCacheType value) { … }
}