Home
last modified time | relevance | path

Searched refs:mVkSurface (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/libs/hwui/pipeline/skia/
DSkiaVulkanPipeline.cpp51 LOG_ALWAYS_FATAL_IF(mVkSurface == nullptr, in getFrame()
54 SkSurface* backBuffer = mVkManager.getBackbufferSurface(mVkSurface); in getFrame()
60 Frame frame(backBuffer->width(), backBuffer->height(), mVkManager.getAge(mVkSurface)); in getFrame()
71 sk_sp<SkSurface> backBuffer = mVkSurface->getBackBufferSurface(); in draw()
106 mVkManager.swapBuffers(mVkSurface); in swapBuffers()
133 if (mVkSurface) { in setSurface()
134 mVkManager.destroySurface(mVkSurface); in setSurface()
135 mVkSurface = nullptr; in setSurface()
140 mVkSurface = mVkManager.createSurface(surface); in setSurface()
143 return mVkSurface != nullptr; in setSurface()
[all …]
DSkiaVulkanPipeline.h55 renderthread::VulkanSurface* mVkSurface = nullptr; variable
/frameworks/base/libs/hwui/renderthread/
DVulkanManager.cpp291 if (VK_NULL_HANDLE != surface->mVkSurface) { in destroySurface()
292 mDestroySurfaceKHR(mBackendContext->fInstance, surface->mVkSurface, nullptr); in destroySurface()
293 surface->mVkSurface = VK_NULL_HANDLE; in destroySurface()
372 surface->mVkSurface, &caps); in createSwapchain()
378 res = mGetPhysicalDeviceSurfaceFormatsKHR(mBackendContext->fPhysicalDevice, surface->mVkSurface, in createSwapchain()
385 res = mGetPhysicalDeviceSurfaceFormatsKHR(mBackendContext->fPhysicalDevice, surface->mVkSurface, in createSwapchain()
393 surface->mVkSurface, &presentModeCount, nullptr); in createSwapchain()
400 surface->mVkSurface, &presentModeCount, in createSwapchain()
473 swapchainCreateInfo.surface = surface->mVkSurface; in createSwapchain()
535 &surface->mVkSurface); in createSurface()
[all …]
DVulkanManager.h59 VkSurfaceKHR mVkSurface = VK_NULL_HANDLE; variable