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()
110 mVkManager.swapBuffers(mVkSurface); in swapBuffers()
137 if (mVkSurface) { in setSurface()
138 mVkManager.destroySurface(mVkSurface); in setSurface()
139 mVkSurface = nullptr; in setSurface()
144 mVkSurface = mVkManager.createSurface(surface); in setSurface()
147 return mVkSurface != nullptr; in setSurface()
[all …]
DSkiaVulkanPipeline.h56 renderthread::VulkanSurface* mVkSurface = nullptr; variable
/frameworks/base/libs/hwui/renderthread/
DVulkanManager.cpp284 if (VK_NULL_HANDLE != surface->mVkSurface) { in destroySurface()
285 mDestroySurfaceKHR(mBackendContext->fInstance, surface->mVkSurface, nullptr); in destroySurface()
286 surface->mVkSurface = VK_NULL_HANDLE; in destroySurface()
365 surface->mVkSurface, &caps); in createSwapchain()
371 res = mGetPhysicalDeviceSurfaceFormatsKHR(mBackendContext->fPhysicalDevice, surface->mVkSurface, in createSwapchain()
378 res = mGetPhysicalDeviceSurfaceFormatsKHR(mBackendContext->fPhysicalDevice, surface->mVkSurface, in createSwapchain()
386 surface->mVkSurface, &presentModeCount, nullptr); in createSwapchain()
393 surface->mVkSurface, &presentModeCount, presentModes.data()); in createSwapchain()
465 swapchainCreateInfo.surface = surface->mVkSurface; in createSwapchain()
528 nullptr, &surface->mVkSurface); in createSurface()
[all …]
DVulkanManager.h58 VkSurfaceKHR mVkSurface = VK_NULL_HANDLE; variable