Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/pipeline/skia/
DSkiaVulkanPipeline.cpp52 LOG_ALWAYS_FATAL_IF(mVkSurface == nullptr, in getFrame()
55 SkSurface* backBuffer = mVkManager.getBackbufferSurface(mVkSurface); in getFrame()
61 Frame frame(backBuffer->width(), backBuffer->height(), mVkManager.getAge(mVkSurface)); in getFrame()
74 sk_sp<SkSurface> backBuffer = mVkSurface->getBackBufferSurface(); in draw()
109 mVkManager.swapBuffers(mVkSurface); in swapBuffers()
135 if (mVkSurface) { in setSurface()
136 mVkManager.destroySurface(mVkSurface); in setSurface()
137 mVkSurface = nullptr; in setSurface()
141 mVkSurface = mVkManager.createSurface(surface); in setSurface()
144 return mVkSurface != nullptr; in setSurface()
[all …]
DSkiaVulkanPipeline.h53 renderthread::VulkanSurface* mVkSurface = nullptr; variable
/frameworks/base/libs/hwui/renderthread/
DVulkanManager.cpp282 if (VK_NULL_HANDLE != surface->mVkSurface) { in destroySurface()
283 mDestroySurfaceKHR(mBackendContext->fInstance, surface->mVkSurface, nullptr); in destroySurface()
284 surface->mVkSurface = VK_NULL_HANDLE; in destroySurface()
373 surface->mVkSurface, &caps); in createSwapchain()
379 res = mGetPhysicalDeviceSurfaceFormatsKHR(mBackendContext->fPhysicalDevice, surface->mVkSurface, in createSwapchain()
386 res = mGetPhysicalDeviceSurfaceFormatsKHR(mBackendContext->fPhysicalDevice, surface->mVkSurface, in createSwapchain()
394 surface->mVkSurface, &presentModeCount, nullptr); in createSwapchain()
401 surface->mVkSurface, &presentModeCount, presentModes.data()); in createSwapchain()
473 swapchainCreateInfo.surface = surface->mVkSurface; in createSwapchain()
536 nullptr, &surface->mVkSurface); in createSurface()
[all …]
DVulkanManager.h58 VkSurfaceKHR mVkSurface = VK_NULL_HANDLE; variable