Home
last modified time | relevance | path

Searched refs:mBackendContext (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/libs/hwui/renderthread/
DVulkanManager.cpp46 mDestroyCommandPool(mBackendContext->fDevice, mCommandPool, nullptr); in destroy()
49 mBackendContext.reset(); in destroy()
57 mBackendContext.reset(GrVkBackendContext::Create(&mPresentQueueIndex, canPresent)); in initialize()
60 VkInstance instance = mBackendContext->fInstance; in initialize()
61 VkDevice device = mBackendContext->fDevice; in initialize()
98 commandPoolInfo.queueFamilyIndex = mBackendContext->fGraphicsQueueIndex; in initialize()
100 SkDEBUGCODE(VkResult res =) mCreateCommandPool(mBackendContext->fDevice, in initialize()
105 mGetDeviceQueue(mBackendContext->fDevice, mPresentQueueIndex, 0, &mPresentQueue); in initialize()
108 (GrBackendContext) mBackendContext.get())); in initialize()
133 VkResult res = mWaitForFences(mBackendContext->fDevice, 2, backbuffer->mUsageFences, in getAvailableBackbuffer()
[all …]
DVulkanManager.h81 bool hasVkContext() { return mBackendContext.get() != nullptr; } in hasVkContext()
169 sk_sp<const GrVkBackendContext> mBackendContext; variable