#include "gpu/ipc/common/vulkan_types.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/vulkan_types.mojom-params-data.h"
namespace gpu {
namespace mojom {
NOINLINE static const char* VkPhysicalDeviceTypeToStringHelper(VkPhysicalDeviceType value) { … }
std::string VkPhysicalDeviceTypeToString(VkPhysicalDeviceType value) { … }
std::ostream& operator<<(std::ostream& os, VkPhysicalDeviceType value) { … }
namespace internal {
bool VkExtensionProperties_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
VkExtensionProperties_Data::VkExtensionProperties_Data()
: … { … }
bool VkLayerProperties_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
VkLayerProperties_Data::VkLayerProperties_Data()
: … { … }
bool VkPhysicalDeviceLimits_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
VkPhysicalDeviceLimits_Data::VkPhysicalDeviceLimits_Data()
: … { … }
bool VkPhysicalDeviceSparseProperties_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
VkPhysicalDeviceSparseProperties_Data::VkPhysicalDeviceSparseProperties_Data()
: … { … }
bool VkPhysicalDeviceProperties_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
VkPhysicalDeviceProperties_Data::VkPhysicalDeviceProperties_Data()
: … { … }
bool VkPhysicalDeviceFeatures_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
VkPhysicalDeviceFeatures_Data::VkPhysicalDeviceFeatures_Data()
: … { … }
bool VkExtent3D_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
VkExtent3D_Data::VkExtent3D_Data()
: … { … }
bool VkQueueFamilyProperties_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
VkQueueFamilyProperties_Data::VkQueueFamilyProperties_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::gpu::mojom::VkPhysicalDeviceType>::WriteIntoTrace(
perfetto::TracedValue context, ::gpu::mojom::VkPhysicalDeviceType value) { … }
}