/external/skia/src/gpu/vk/ |
H A D | GrVkExtensions.cpp | 132 bool GrVkExtensions::initDevice(uint32_t specVersion, VkInstance inst, VkPhysicalDevice physDev) { argument 151 VkResult res = EnumerateDeviceLayerProperties(physDev, &layerCount, nullptr); 156 res = EnumerateDeviceLayerProperties(physDev, &layerCount, layers); 175 res = EnumerateDeviceExtensionProperties(physDev, nullptr, &extensionCount, nullptr); 180 res = EnumerateDeviceExtensionProperties(physDev, nullptr, &extensionCount, extensions); 199 res = EnumerateDeviceExtensionProperties(physDev, 206 res = EnumerateDeviceExtensionProperties(physDev,
|
H A D | GrVkBackendContext.cpp | 58 VkPhysicalDevice physDev; local 158 err = grVkEnumeratePhysicalDevices(inst, &gpuCount, &physDev); 167 grVkGetPhysicalDeviceQueueFamilyProperties(physDev, &queueCount, nullptr); 178 grVkGetPhysicalDeviceQueueFamilyProperties(physDev, &queueCount, queueProps); 198 if (canPresent(inst, physDev, i)) { 215 extensions.initDevice(kGrVkMinimumVersion, inst, physDev); 237 grVkGetPhysicalDeviceFeatures(physDev, &deviceFeatures); 289 err = grVkCreateDevice(physDev, &deviceInfo, nullptr, &device); 311 ctx->fPhysicalDevice = physDev;
|
H A D | GrVkCaps.cpp | 18 VkPhysicalDevice physDev, uint32_t featureFlags, uint32_t extensionFlags) 53 this->init(contextOptions, vkInterface, physDev, featureFlags, extensionFlags); 78 VkPhysicalDevice physDev, uint32_t featureFlags, uint32_t extensionFlags) { 81 GR_VK_CALL(vkInterface, GetPhysicalDeviceProperties(physDev, &properties)); 84 GR_VK_CALL(vkInterface, GetPhysicalDeviceMemoryProperties(physDev, &memoryProperties)); 98 this->initConfigTable(vkInterface, physDev, properties); 99 this->initStencilFormat(vkInterface, physDev); 289 VkPhysicalDevice physDev, 293 GR_VK_CALL(interface, GetPhysicalDeviceFormatProperties(physDev, format, &props)); 297 void GrVkCaps::initStencilFormat(const GrVkInterface* interface, VkPhysicalDevice physDev) { argument 17 GrVkCaps(const GrContextOptions& contextOptions, const GrVkInterface* vkInterface, VkPhysicalDevice physDev, uint32_t featureFlags, uint32_t extensionFlags) argument 77 init(const GrContextOptions& contextOptions, const GrVkInterface* vkInterface, VkPhysicalDevice physDev, uint32_t featureFlags, uint32_t extensionFlags) argument 288 stencil_format_supported(const GrVkInterface* interface, VkPhysicalDevice physDev, VkFormat format) argument 318 initConfigTable(const GrVkInterface* interface, VkPhysicalDevice physDev, const VkPhysicalDeviceProperties& properties) argument 350 initSampleCounts(const GrVkInterface* interface, VkPhysicalDevice physDev, const VkPhysicalDeviceProperties& physProps, VkFormat format) argument 396 init(const GrVkInterface* interface, VkPhysicalDevice physDev, const VkPhysicalDeviceProperties& properties, VkFormat format) argument [all...] |
/external/skqp/src/gpu/vk/ |
H A D | GrVkExtensions.cpp | 130 bool GrVkExtensions::initDevice(uint32_t specVersion, VkInstance inst, VkPhysicalDevice physDev) { argument 149 VkResult res = EnumerateDeviceLayerProperties(physDev, &layerCount, nullptr); 154 res = EnumerateDeviceLayerProperties(physDev, &layerCount, layers); 173 res = EnumerateDeviceExtensionProperties(physDev, nullptr, &extensionCount, nullptr); 178 res = EnumerateDeviceExtensionProperties(physDev, nullptr, &extensionCount, extensions); 195 res = EnumerateDeviceExtensionProperties(physDev, 202 res = EnumerateDeviceExtensionProperties(physDev,
|
H A D | GrVkBackendContext.cpp | 58 VkPhysicalDevice physDev; local 158 err = grVkEnumeratePhysicalDevices(inst, &gpuCount, &physDev); 167 grVkGetPhysicalDeviceQueueFamilyProperties(physDev, &queueCount, nullptr); 178 grVkGetPhysicalDeviceQueueFamilyProperties(physDev, &queueCount, queueProps); 198 if (canPresent(inst, physDev, i)) { 215 extensions.initDevice(kGrVkMinimumVersion, inst, physDev); 237 grVkGetPhysicalDeviceFeatures(physDev, &deviceFeatures); 289 err = grVkCreateDevice(physDev, &deviceInfo, nullptr, &device); 311 ctx->fPhysicalDevice = physDev;
|
H A D | GrVkCaps.cpp | 18 VkPhysicalDevice physDev, uint32_t featureFlags, uint32_t extensionFlags) 52 this->init(contextOptions, vkInterface, physDev, featureFlags, extensionFlags); 77 VkPhysicalDevice physDev, uint32_t featureFlags, uint32_t extensionFlags) { 80 GR_VK_CALL(vkInterface, GetPhysicalDeviceProperties(physDev, &properties)); 83 GR_VK_CALL(vkInterface, GetPhysicalDeviceMemoryProperties(physDev, &memoryProperties)); 97 this->initConfigTable(vkInterface, physDev, properties); 98 this->initStencilFormat(vkInterface, physDev); 285 VkPhysicalDevice physDev, 289 GR_VK_CALL(interface, GetPhysicalDeviceFormatProperties(physDev, format, &props)); 293 void GrVkCaps::initStencilFormat(const GrVkInterface* interface, VkPhysicalDevice physDev) { argument 17 GrVkCaps(const GrContextOptions& contextOptions, const GrVkInterface* vkInterface, VkPhysicalDevice physDev, uint32_t featureFlags, uint32_t extensionFlags) argument 76 init(const GrContextOptions& contextOptions, const GrVkInterface* vkInterface, VkPhysicalDevice physDev, uint32_t featureFlags, uint32_t extensionFlags) argument 284 stencil_format_supported(const GrVkInterface* interface, VkPhysicalDevice physDev, VkFormat format) argument 314 initConfigTable(const GrVkInterface* interface, VkPhysicalDevice physDev, const VkPhysicalDeviceProperties& properties) argument 346 initSampleCounts(const GrVkInterface* interface, VkPhysicalDevice physDev, const VkPhysicalDeviceProperties& physProps, VkFormat format) argument 392 init(const GrVkInterface* interface, VkPhysicalDevice physDev, const VkPhysicalDeviceProperties& properties, VkFormat format) argument [all...] |