#ifndef GPU_IPC_COMMON_VULKAN_TYPES_MOJOM_SHARED_H_
#define GPU_IPC_COMMON_VULKAN_TYPES_MOJOM_SHARED_H_
#include <stdint.h>
#include <functional>
#include <iosfwd>
#include <type_traits>
#include <utility>
#include "mojo/public/cpp/bindings/array_data_view.h"
#include "mojo/public/cpp/bindings/enum_traits.h"
#include "mojo/public/cpp/bindings/interface_data_view.h"
#include "mojo/public/cpp/bindings/lib/bindings_internal.h"
#include "mojo/public/cpp/bindings/lib/serialization.h"
#include "mojo/public/cpp/bindings/map_data_view.h"
#include "mojo/public/cpp/bindings/string_data_view.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value_forward.h"
#include "gpu/ipc/common/vulkan_types.mojom-shared-internal.h"
#include "base/component_export.h"
namespace gpu::mojom {
class VkExtensionPropertiesDataView;
class VkLayerPropertiesDataView;
class VkPhysicalDeviceLimitsDataView;
class VkPhysicalDeviceSparsePropertiesDataView;
class VkPhysicalDevicePropertiesDataView;
class VkPhysicalDeviceFeaturesDataView;
class VkExtent3DDataView;
class VkQueueFamilyPropertiesDataView;
}
namespace mojo {
namespace internal {
template <>
struct MojomTypeTraits<::gpu::mojom::VkExtensionPropertiesDataView> { … };
template <>
struct MojomTypeTraits<::gpu::mojom::VkLayerPropertiesDataView> { … };
template <>
struct MojomTypeTraits<::gpu::mojom::VkPhysicalDeviceLimitsDataView> { … };
template <>
struct MojomTypeTraits<::gpu::mojom::VkPhysicalDeviceSparsePropertiesDataView> { … };
template <>
struct MojomTypeTraits<::gpu::mojom::VkPhysicalDevicePropertiesDataView> { … };
template <>
struct MojomTypeTraits<::gpu::mojom::VkPhysicalDeviceFeaturesDataView> { … };
template <>
struct MojomTypeTraits<::gpu::mojom::VkExtent3DDataView> { … };
template <>
struct MojomTypeTraits<::gpu::mojom::VkQueueFamilyPropertiesDataView> { … };
}
}
namespace gpumojom
namespace std {
template <>
struct hash<::gpu::mojom::VkPhysicalDeviceType>
: public mojo::internal::EnumHashImpl<::gpu::mojom::VkPhysicalDeviceType> { … };
}
namespace mojo {
namespace internal {
Serializer< ::gpu::mojom::VkPhysicalDeviceType, MaybeConstUserType>;
}
namespace internal {
Serializer< ::gpu::mojom::VkExtensionPropertiesDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::gpu::mojom::VkLayerPropertiesDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::gpu::mojom::VkPhysicalDeviceLimitsDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::gpu::mojom::VkPhysicalDeviceSparsePropertiesDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::gpu::mojom::VkPhysicalDevicePropertiesDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::gpu::mojom::VkPhysicalDeviceFeaturesDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::gpu::mojom::VkExtent3DDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::gpu::mojom::VkQueueFamilyPropertiesDataView, MaybeConstUserType>;
}
}
namespace gpu::mojom {
inline void VkExtensionPropertiesDataView::GetExtensionNameDataView(
mojo::StringDataView* output) { … }
inline void VkLayerPropertiesDataView::GetLayerNameDataView(
mojo::StringDataView* output) { … }
inline void VkLayerPropertiesDataView::GetDescriptionDataView(
mojo::StringDataView* output) { … }
inline void VkPhysicalDeviceLimitsDataView::GetMaxComputeWorkGroupCountDataView(
mojo::ArrayDataView<uint32_t>* output) { … }
inline void VkPhysicalDeviceLimitsDataView::GetMaxComputeWorkGroupSizeDataView(
mojo::ArrayDataView<uint32_t>* output) { … }
inline void VkPhysicalDeviceLimitsDataView::GetMaxViewportDimensionsDataView(
mojo::ArrayDataView<uint32_t>* output) { … }
inline void VkPhysicalDeviceLimitsDataView::GetViewportBoundsRangeDataView(
mojo::ArrayDataView<float>* output) { … }
inline void VkPhysicalDeviceLimitsDataView::GetPointSizeRangeDataView(
mojo::ArrayDataView<float>* output) { … }
inline void VkPhysicalDeviceLimitsDataView::GetLineWidthRangeDataView(
mojo::ArrayDataView<float>* output) { … }
inline void VkPhysicalDevicePropertiesDataView::GetDeviceNameDataView(
mojo::StringDataView* output) { … }
inline void VkPhysicalDevicePropertiesDataView::GetPipelineCacheUuidDataView(
mojo::ArrayDataView<uint8_t>* output) { … }
inline void VkPhysicalDevicePropertiesDataView::GetLimitsDataView(
VkPhysicalDeviceLimitsDataView* output) { … }
inline void VkPhysicalDevicePropertiesDataView::GetSparsePropertiesDataView(
VkPhysicalDeviceSparsePropertiesDataView* output) { … }
inline void VkQueueFamilyPropertiesDataView::GetMinImageTransferGranularityDataView(
VkExtent3DDataView* output) { … }
}
namespace perfetto {
template <>
struct COMPONENT_EXPORT(MOJOM_SHARED_GPU_EXPORT) TraceFormatTraits<::gpu::mojom::VkPhysicalDeviceType> { … };
}
#endif