Home
last modified time | relevance | path

Searched refs:physDev (Results 1 – 6 of 6) sorted by relevance

/external/skia/src/gpu/vk/
DGrVkCaps.cpp16 VkPhysicalDevice physDev, uint32_t featureFlags, uint32_t extensionFlags) in GrVkCaps() argument
53 this->init(contextOptions, vkInterface, physDev, featureFlags, extensionFlags); in GrVkCaps()
73 VkPhysicalDevice physDev, uint32_t featureFlags, uint32_t extensionFlags) { in init() argument
76 GR_VK_CALL(vkInterface, GetPhysicalDeviceProperties(physDev, &properties)); in init()
79 GR_VK_CALL(vkInterface, GetPhysicalDeviceMemoryProperties(physDev, &memoryProperties)); in init()
83 this->initConfigTable(vkInterface, physDev); in init()
84 this->initStencilFormat(vkInterface, physDev); in init()
262 VkPhysicalDevice physDev, in stencil_format_supported() argument
266 GR_VK_CALL(interface, GetPhysicalDeviceFormatProperties(physDev, format, &props)); in stencil_format_supported()
270 void GrVkCaps::initStencilFormat(const GrVkInterface* interface, VkPhysicalDevice physDev) { in initStencilFormat() argument
[all …]
DGrVkBackendContext.cpp44 VkPhysicalDevice physDev; in Create() local
130 err = vkEnumeratePhysicalDevices(inst, &gpuCount, &physDev); in Create()
139 vkGetPhysicalDeviceQueueFamilyProperties(physDev, &queueCount, nullptr); in Create()
146 vkGetPhysicalDeviceQueueFamilyProperties(physDev, &queueCount, queueProps); in Create()
162 if (canPresent(inst, physDev, i)) { in Create()
171 extensions.initDevice(kGrVkMinimumVersion, inst, physDev); in Create()
193 vkGetPhysicalDeviceFeatures(physDev, &deviceFeatures); in Create()
245 err = vkCreateDevice(physDev, &deviceInfo, nullptr, &device); in Create()
257 ctx->fPhysicalDevice = physDev; in Create()
DGrVkExtensions.cpp128 bool GrVkExtensions::initDevice(uint32_t specVersion, VkInstance inst, VkPhysicalDevice physDev) { in initDevice() argument
143 VkResult res = EnumerateDeviceLayerProperties(physDev, &layerCount, nullptr); in initDevice()
148 res = EnumerateDeviceLayerProperties(physDev, &layerCount, layers); in initDevice()
167 res = EnumerateDeviceExtensionProperties(physDev, nullptr, &extensionCount, nullptr); in initDevice()
172 res = EnumerateDeviceExtensionProperties(physDev, nullptr, &extensionCount, extensions); in initDevice()
191 res = EnumerateDeviceExtensionProperties(physDev, in initDevice()
198 res = EnumerateDeviceExtensionProperties(physDev, in initDevice()
DGrVkCaps.h127 void initStencilFormat(const GrVkInterface* iface, VkPhysicalDevice physDev);
/external/skia/tools/viewer/sk_app/win/
DVulkanWindowContext_win.cpp47 auto canPresent = [hwnd] (VkInstance instance, VkPhysicalDevice physDev, in NewVulkanForWin()
58 VkBool32 check = getPhysicalDeviceWin32PresentationSupportKHR(physDev, queueFamilyIndex); in NewVulkanForWin()
/external/skia/tools/viewer/sk_app/unix/
DVulkanWindowContext_unix.cpp49 auto canPresent = [&info](VkInstance instance, VkPhysicalDevice physDev, in NewVulkanForXlib()
63 VkBool32 check = getPhysicalDeviceXcbPresentationSupportKHR(physDev, in NewVulkanForXlib()