• Home
  • Raw
  • Download

Lines Matching refs:displayVk

118 angle::Result InitImageHelper(DisplayVk *displayVk,  in InitImageHelper()  argument
137 ANGLE_TRY(imageHelper->initExternal(displayVk, gl::TextureType::_2D, extents, vkFormat, samples, in InitImageHelper()
191 angle::Result OffscreenSurfaceVk::AttachmentImage::initialize(DisplayVk *displayVk, in initialize() argument
199 ANGLE_TRY(InitImageHelper(displayVk, width, height, vkFormat, samples, in initialize()
202 RendererVk *renderer = displayVk->getRenderer(); in initialize()
209 image.initMemory(displayVk, hasProtectedContent, renderer->getMemoryProperties(), flags)); in initialize()
217 DisplayVk *displayVk, in initializeWithExternalMemory() argument
226 RendererVk *renderer = displayVk->getRenderer(); in initializeWithExternalMemory()
229 ANGLE_TRY(InitImageHelper(displayVk, width, height, vkFormat, samples, in initializeWithExternalMemory()
248 displayVk, renderer->getMemoryProperties(), externalMemoryRequirements, nullptr, in initializeWithExternalMemory()
258 DisplayVk *displayVk = vk::GetImpl(display); in destroy() local
259 RendererVk *renderer = displayVk->getRenderer(); in destroy()
284 DisplayVk *displayVk = vk::GetImpl(display); in initialize() local
285 angle::Result result = initializeImpl(displayVk); in initialize()
286 return angle::ToEGL(result, displayVk, EGL_BAD_SURFACE); in initialize()
289 angle::Result OffscreenSurfaceVk::initializeImpl(DisplayVk *displayVk) in initializeImpl() argument
291 RendererVk *renderer = displayVk->getRenderer(); in initializeImpl()
297 ANGLE_VK_CHECK(displayVk, samples > 0, VK_ERROR_INITIALIZATION_FAILED); in initializeImpl()
303 ANGLE_TRY(mColorAttachment.initialize(displayVk, mWidth, mHeight, in initializeImpl()
313 displayVk, mWidth, mHeight, renderer->getFormat(config->depthStencilFormat), samples, in initializeImpl()
522 DisplayVk *displayVk = vk::GetImpl(display); in destroy() local
523 RendererVk *renderer = displayVk->getRenderer(); in destroy()
528 (void)renderer->finish(displayVk, mState.hasProtectedContent()); in destroy()
530 destroySwapChainImages(displayVk); in destroy()
556 DisplayVk *displayVk = vk::GetImpl(display); in initialize() local
557 angle::Result result = initializeImpl(displayVk); in initialize()
560 return angle::ToEGL(result, displayVk, EGL_BAD_MATCH); in initialize()
564 return angle::ToEGL(result, displayVk, EGL_BAD_SURFACE); in initialize()
568 angle::Result WindowSurfaceVk::initializeImpl(DisplayVk *displayVk) in initializeImpl() argument
570 RendererVk *renderer = displayVk->getRenderer(); in initializeImpl()
578 ANGLE_TRY(createSurfaceVk(displayVk, &windowSize)); in initializeImpl()
581 ANGLE_TRY(renderer->selectPresentQueueForSurface(displayVk, mSurface, &presentQueue)); in initializeImpl()
606 ANGLE_VK_TRY(displayVk, vkGetPhysicalDeviceSurfaceCapabilities2KHR( in initializeImpl()
614 ANGLE_VK_TRY(displayVk, vkGetPhysicalDeviceSurfaceCapabilitiesKHR(physicalDevice, mSurface, in initializeImpl()
623 ANGLE_VK_CHECK(displayVk, (mState.hasProtectedContent() ? mSupportsProtectedSwapchain : true), in initializeImpl()
631 ANGLE_VK_CHECK(displayVk, in initializeImpl()
735 ANGLE_VK_TRY(displayVk, vkGetPhysicalDeviceSurfacePresentModesKHR(physicalDevice, mSurface, in initializeImpl()
740 ANGLE_VK_TRY(displayVk, vkGetPhysicalDeviceSurfacePresentModesKHR( in initializeImpl()
748 ANGLE_VK_TRY(displayVk, vkGetPhysicalDeviceSurfaceFormatsKHR(physicalDevice, mSurface, in initializeImpl()
752 ANGLE_VK_TRY(displayVk, in initializeImpl()
788 ANGLE_VK_CHECK(displayVk, (mSurfaceCaps.supportedCompositeAlpha & mCompositeAlpha) != 0, in initializeImpl()
791 ANGLE_TRY(createSwapChain(displayVk, extents, VK_NULL_HANDLE)); in initializeImpl()
793 VkResult vkResult = acquireNextSwapchainImage(displayVk); in initializeImpl()
797 ANGLE_VK_TRY(displayVk, vkResult); in initializeImpl()
1263 void WindowSurfaceVk::destroySwapChainImages(DisplayVk *displayVk) in destroySwapChainImages() argument
1265 RendererVk *renderer = displayVk->getRenderer(); in destroySwapChainImages()
1266 VkDevice device = displayVk->getDevice(); in destroySwapChainImages()
1309 DisplayVk *displayVk = vk::GetImpl(context->getDisplay()); in swapWithDamage() local
1312 return angle::ToEGL(result, displayVk, EGL_BAD_SURFACE); in swapWithDamage()
1317 DisplayVk *displayVk = vk::GetImpl(context->getDisplay()); in swap() local
1319 return angle::ToEGL(result, displayVk, EGL_BAD_SURFACE); in swap()
1563 DisplayVk *displayVk = vk::GetImpl(context->getDisplay()); in doDeferredAcquireNextImage() local
1596 ANGLE_TRY(renderer->syncPipelineCacheVk(displayVk, context)); in doDeferredAcquireNextImage()
1742 DisplayVk *displayVk = vk::GetImpl(display); in getUserWidth() local
1752 angle::Result result = getUserExtentsImpl(displayVk, &surfaceCaps); in getUserWidth()
1759 return angle::ToEGL(result, displayVk, EGL_BAD_SURFACE); in getUserWidth()
1764 DisplayVk *displayVk = vk::GetImpl(display); in getUserHeight() local
1774 angle::Result result = getUserExtentsImpl(displayVk, &surfaceCaps); in getUserHeight()
1781 return angle::ToEGL(result, displayVk, EGL_BAD_SURFACE); in getUserHeight()
1784 angle::Result WindowSurfaceVk::getUserExtentsImpl(DisplayVk *displayVk, in getUserExtentsImpl() argument
1787 const VkPhysicalDevice &physicalDevice = displayVk->getRenderer()->getPhysicalDevice(); in getUserExtentsImpl()
1789 ANGLE_VK_TRY(displayVk, in getUserExtentsImpl()
1970 DisplayVk *displayVk = vk::GetImpl(context->getDisplay()); in getBufferAge() local
1972 angle::ToEGL(doDeferredAcquireNextImage(context, false), displayVk, EGL_BAD_SURFACE); in getBufferAge()