Lines Matching refs:fDevice
47 mDestroyCommandPool(mBackendContext->fDevice, mCommandPool, nullptr);
63 VkDevice device = mBackendContext->fDevice;
102 SkDEBUGCODE(VkResult res =) mCreateCommandPool(mBackendContext->fDevice,
107 mGetDeviceQueue(mBackendContext->fDevice, mPresentQueueIndex, 0, &mPresentQueue);
135 VkResult res = mWaitForFences(mBackendContext->fDevice, 2, backbuffer->mUsageFences,
151 res = mResetFences(mBackendContext->fDevice, 2, backbuffer->mUsageFences);
156 res = mAcquireNextImageKHR(mBackendContext->fDevice, surface->mSwapchain, UINT64_MAX,
170 res = mResetFences(mBackendContext->fDevice, 2, backbuffer->mUsageFences);
174 res = mAcquireNextImageKHR(mBackendContext->fDevice, surface->mSwapchain, UINT64_MAX,
248 mWaitForFences(mBackendContext->fDevice, 2, surface->mBackbuffers[i].mUsageFences, true,
251 mDestroySemaphore(mBackendContext->fDevice, surface->mBackbuffers[i].mAcquireSemaphore,
253 mDestroySemaphore(mBackendContext->fDevice, surface->mBackbuffers[i].mRenderSemaphore,
255 mFreeCommandBuffers(mBackendContext->fDevice, mCommandPool, 2,
257 mDestroyFence(mBackendContext->fDevice, surface->mBackbuffers[i].mUsageFences[0], 0);
258 mDestroyFence(mBackendContext->fDevice, surface->mBackbuffers[i].mUsageFences[1], 0);
275 mDeviceWaitIdle(mBackendContext->fDevice);
280 mDestroySwapchainKHR(mBackendContext->fDevice, surface->mSwapchain, nullptr);
292 mGetSwapchainImagesKHR(mBackendContext->fDevice, surface->mSwapchain, &surface->mImageCount,
296 mGetSwapchainImagesKHR(mBackendContext->fDevice, surface->mSwapchain,
346 SkDEBUGCODE(res = ) mCreateSemaphore(mBackendContext->fDevice, &semaphoreInfo, nullptr,
348 SkDEBUGCODE(res = ) mCreateSemaphore(mBackendContext->fDevice, &semaphoreInfo, nullptr,
350 SkDEBUGCODE(res = ) mAllocateCommandBuffers(mBackendContext->fDevice, &commandBuffersInfo,
352 SkDEBUGCODE(res = ) mCreateFence(mBackendContext->fDevice, &fenceInfo, nullptr,
354 SkDEBUGCODE(res = ) mCreateFence(mBackendContext->fDevice, &fenceInfo, nullptr,
490 res = mCreateSwapchainKHR(mBackendContext->fDevice, &swapchainCreateInfo, nullptr,
498 mDeviceWaitIdle(mBackendContext->fDevice);
502 mDestroySwapchainKHR(mBackendContext->fDevice, swapchainCreateInfo.oldSwapchain, nullptr);
600 mDeviceWaitIdle(mBackendContext->fDevice);