Lines Matching refs:displayVk
506 DisplayVk *displayVk, in CompressAndStorePipelineCacheVk() argument
570 displayVk->getBlobCache()->putApplication(chunkCacheHash, keyData); in CompressAndStorePipelineCacheVk()
579 CompressAndStorePipelineCacheTask(DisplayVk *displayVk, in CompressAndStorePipelineCacheTask() argument
583 : mDisplayVk(displayVk), in CompressAndStorePipelineCacheTask()
623 DisplayVk *displayVk, in GetAndDecompressPipelineCacheVk() argument
634 if (!displayVk->getBlobCache()->get(displayVk->getScratchBuffer(), chunkCacheHash, &keyData, in GetAndDecompressPipelineCacheVk()
649 ANGLE_VK_CHECK(displayVk, compressedData.resize(chunkSize * numChunks), in GetAndDecompressPipelineCacheVk()
658 if (!displayVk->getBlobCache()->get(displayVk->getScratchBuffer(), chunkCacheHash, &keyData, in GetAndDecompressPipelineCacheVk()
684 displayVk, in GetAndDecompressPipelineCacheVk()
839 angle::Result RendererVk::initialize(DisplayVk *displayVk, in initialize() argument
847 ANGLE_VK_CHECK(displayVk, mLibVulkanLibrary, VK_ERROR_INITIALIZATION_FAILED); in initialize()
853 ANGLE_VK_TRY(displayVk, volkInitialize()); in initialize()
877 ANGLE_VK_TRY(displayVk, vkEnumerateInstanceLayerProperties(&instanceLayerCount, nullptr)); in initialize()
884 ANGLE_VK_TRY(displayVk, vkEnumerateInstanceLayerProperties(&instanceLayerCount, in initialize()
907 ANGLE_VK_TRY(displayVk, vkEnumerateInstanceExtensionProperties( in initialize()
915 ANGLE_VK_TRY(displayVk, in initialize()
927 ANGLE_VK_TRY(displayVk, vkEnumerateInstanceExtensionProperties( in initialize()
933 ANGLE_VK_TRY(displayVk, vkEnumerateInstanceExtensionProperties( in initialize()
950 if (displayVk->isUsingSwapchain()) in initialize()
996 ANGLE_VK_TRY(displayVk, in initialize()
1025 ANGLE_VK_TRY(displayVk, enumerateInstanceVersion(&apiVersion)); in initialize()
1064 ANGLE_VK_TRY(displayVk, vkCreateInstance(&instanceInfo, nullptr, &mInstance)); in initialize()
1095 ANGLE_VK_TRY(displayVk, vkCreateDebugUtilsMessengerEXT(mInstance, &messengerInfo, nullptr, in initialize()
1112 ANGLE_VK_TRY(displayVk, vkCreateDebugReportCallbackEXT(mInstance, &debugReportInfo, nullptr, in initialize()
1127 ANGLE_VK_TRY(displayVk, vkEnumeratePhysicalDevices(mInstance, &physicalDeviceCount, nullptr)); in initialize()
1128 ANGLE_VK_CHECK(displayVk, physicalDeviceCount > 0, VK_ERROR_INITIALIZATION_FAILED); in initialize()
1132 ANGLE_VK_TRY(displayVk, vkEnumeratePhysicalDevices(mInstance, &physicalDeviceCount, in initialize()
1147 ANGLE_VK_CHECK(displayVk, queueFamilyCount > 0, VK_ERROR_INITIALIZATION_FAILED); in initialize()
1166 ANGLE_VK_CHECK(displayVk, queueFamilyMatchCount > 0, VK_ERROR_INITIALIZATION_FAILED); in initialize()
1172 ANGLE_TRY(initializeDevice(displayVk, firstGraphicsQueueFamily)); in initialize()
1185 ANGLE_VK_TRY(displayVk, in initialize()
1440 angle::Result RendererVk::initializeDevice(DisplayVk *displayVk, uint32_t queueFamilyIndex) in initializeDevice() argument
1443 ANGLE_VK_TRY(displayVk, in initializeDevice()
1449 ANGLE_VK_TRY(displayVk, vkEnumerateDeviceLayerProperties(mPhysicalDevice, &deviceLayerCount, in initializeDevice()
1460 const char *wsiLayer = displayVk->getWSILayer(); in initializeDevice()
1469 ANGLE_VK_TRY(displayVk, vkEnumerateDeviceExtensionProperties(mPhysicalDevice, nullptr, in initializeDevice()
1475 ANGLE_VK_TRY(displayVk, vkEnumerateDeviceExtensionProperties(mPhysicalDevice, nullptr, in initializeDevice()
1485 ANGLE_VK_TRY(displayVk, in initializeDevice()
1489 ANGLE_VK_TRY(displayVk, vkEnumerateDeviceExtensionProperties( in initializeDevice()
1506 if (displayVk->isUsingSwapchain()) in initializeDevice()
1515 initFeatures(displayVk, deviceExtensionNames); in initializeDevice()
1574 ANGLE_VK_CHECK(displayVk, getFeatures().supportsGGPFrameToken.enabled, in initializeDevice()
1666 ANGLE_VK_TRY(displayVk, VerifyExtensionsPresent(deviceExtensionNames, enabledDeviceExtensions)); in initializeDevice()
1849 ANGLE_VK_CHECK(displayVk, queueFamily.getDeviceQueueCount() > 0, in initializeDevice()
1879 ANGLE_VK_TRY(displayVk, vkCreateDevice(mPhysicalDevice, &createInfo, nullptr, &mDevice)); in initializeDevice()
1890 ANGLE_TRY(mCommandProcessor.init(displayVk, graphicsQueueMap)); in initializeDevice()
1894 ANGLE_TRY(mCommandQueue.init(displayVk, graphicsQueueMap)); in initializeDevice()
1932 ANGLE_TRY(initPipelineCache(displayVk, &mPipelineCache, &success)); in initializeDevice()
1953 angle::Result RendererVk::selectPresentQueueForSurface(DisplayVk *displayVk, in selectPresentQueueForSurface() argument
1965 ANGLE_VK_TRY(displayVk, in selectPresentQueueForSurface()
1986 ANGLE_VK_TRY(displayVk, vkGetPhysicalDeviceSurfaceSupportKHR( in selectPresentQueueForSurface()
1997 ANGLE_VK_CHECK(displayVk, newPresentQueue.valid(), VK_ERROR_INITIALIZATION_FAILED); in selectPresentQueueForSurface()
1998 ANGLE_TRY(initializeDevice(displayVk, newPresentQueue.value())); in selectPresentQueueForSurface()
2193 void RendererVk::initFeatures(DisplayVk *displayVk, in initFeatures() argument
2196 if (displayVk->getState().featuresAllDisabled) in initFeatures()
2198 ApplyFeatureOverrides(&mFeatures, displayVk->getState()); in initFeatures()
2556 ApplyFeatureOverrides(&mFeatures, displayVk->getState()); in initFeatures()
2632 angle::Result RendererVk::getPipelineCacheSize(DisplayVk *displayVk, size_t *pipelineCacheSizeOut) in getPipelineCacheSize() argument
2635 ANGLE_VK_TRY(displayVk, result); in getPipelineCacheSize()
2640 angle::Result RendererVk::syncPipelineCacheVk(DisplayVk *displayVk, const gl::Context *context) in syncPipelineCacheVk() argument
2658 ANGLE_TRY(getPipelineCacheSize(displayVk, &pipelineCacheSize)); in syncPipelineCacheVk()
2704 ANGLE_VK_TRY(displayVk, result); in syncPipelineCacheVk()
2725 displayVk, contextVk, std::move(pipelineCacheData), kMaxTotalSize); in syncPipelineCacheVk()
2738 mPhysicalDeviceProperties, displayVk, contextVk, pipelineCacheData, kMaxTotalSize); in syncPipelineCacheVk()