#include "gpu/ipc/common/gpu_preferences.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_preferences.mojom-params-data.h"
namespace gpu {
namespace mojom {
NOINLINE static const char* VulkanImplementationNameToStringHelper(VulkanImplementationName value) { … }
std::string VulkanImplementationNameToString(VulkanImplementationName value) { … }
std::ostream& operator<<(std::ostream& os, VulkanImplementationName value) { … }
NOINLINE static const char* WebGPUAdapterNameToStringHelper(WebGPUAdapterName value) { … }
std::string WebGPUAdapterNameToString(WebGPUAdapterName value) { … }
std::ostream& operator<<(std::ostream& os, WebGPUAdapterName value) { … }
NOINLINE static const char* WebGPUPowerPreferenceToStringHelper(WebGPUPowerPreference value) { … }
std::string WebGPUPowerPreferenceToString(WebGPUPowerPreference value) { … }
std::ostream& operator<<(std::ostream& os, WebGPUPowerPreference value) { … }
NOINLINE static const char* GrContextTypeToStringHelper(GrContextType value) { … }
std::string GrContextTypeToString(GrContextType value) { … }
std::ostream& operator<<(std::ostream& os, GrContextType value) { … }
NOINLINE static const char* DawnBackendValidationLevelToStringHelper(DawnBackendValidationLevel value) { … }
std::string DawnBackendValidationLevelToString(DawnBackendValidationLevel value) { … }
std::ostream& operator<<(std::ostream& os, DawnBackendValidationLevel value) { … }
namespace internal {
bool GpuPreferences_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
GpuPreferences_Data::GpuPreferences_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::gpu::mojom::VulkanImplementationName>::WriteIntoTrace(
perfetto::TracedValue context, ::gpu::mojom::VulkanImplementationName value) { … }
}
namespace perfetto {
void TraceFormatTraits<::gpu::mojom::WebGPUAdapterName>::WriteIntoTrace(
perfetto::TracedValue context, ::gpu::mojom::WebGPUAdapterName value) { … }
}
namespace perfetto {
void TraceFormatTraits<::gpu::mojom::WebGPUPowerPreference>::WriteIntoTrace(
perfetto::TracedValue context, ::gpu::mojom::WebGPUPowerPreference value) { … }
}
namespace perfetto {
void TraceFormatTraits<::gpu::mojom::GrContextType>::WriteIntoTrace(
perfetto::TracedValue context, ::gpu::mojom::GrContextType value) { … }
}
namespace perfetto {
void TraceFormatTraits<::gpu::mojom::DawnBackendValidationLevel>::WriteIntoTrace(
perfetto::TracedValue context, ::gpu::mojom::DawnBackendValidationLevel value) { … }
}