 |
Flutter Impeller
|
|
Go to the documentation of this file.
5 #ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_DRIVER_INFO_VK_H_
6 #define FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_DRIVER_INFO_VK_H_
176 explicit DriverInfoVK(
const vk::PhysicalDevice& device);
242 bool is_valid_ =
false;
248 std::optional<AdrenoGPU> adreno_gpu_ = std::nullopt;
249 std::optional<MaliGPU> mali_gpu_ = std::nullopt;
250 std::string driver_name_;
255 #endif // FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_DRIVER_INFO_VK_H_
const VendorVK & GetVendor() const
Get the vendor of the Vulkan implementation. This is a broad check and includes multiple drivers and ...
const DeviceTypeVK & GetDeviceType() const
Get the device type. Typical use might be to check if the device is a CPU implementation.
DriverInfoVK(const vk::PhysicalDevice &device)
Get information about the Vulkan driver.
bool IsEmulator() const
Determines if the driver represents an emulator. There is no definitive way to tell if a driver is an...
void DumpToLog() const
Dumps the current driver info to the log.
MaliGPU GetMaliVersion(std::string_view version)
const Version & GetAPIVersion() const
Gets the Vulkan API version. Should be at or above Vulkan 1.1 which is the Impeller baseline.
AdrenoGPU GetAdrenoVersion(std::string_view version)
const std::string & GetDriverName() const
Get the self-reported name of the graphics driver.
DriverInfoVK & operator=(const DriverInfoVK &)=delete
bool IsKnownBadDriver() const
Determines if the driver has been tested and determined to be non-functional.