Lines Matching refs:mDevice

58 #define GET_DEV_PROC(F) m##F = (PFN_vk##F)vkGetDeviceProcAddr(mDevice, "vk" #F)
62 mDestroyCommandPool(mDevice, mCommandPool, nullptr); in destroy()
66 if (mDevice != VK_NULL_HANDLE) { in destroy()
67 mDeviceWaitIdle(mDevice); in destroy()
68 mDestroyDevice(mDevice, nullptr); in destroy()
77 mDevice = VK_NULL_HANDLE; in destroy()
318 LOG_ALWAYS_FATAL_IF(mCreateDevice(mPhysicalDevice, &deviceInfo, nullptr, &mDevice)); in setupDevice()
346 if (mDevice != VK_NULL_HANDLE) { in initialize()
357 mGetDeviceQueue(mDevice, mGraphicsQueueIndex, 0, &mGraphicsQueue); in initialize()
368 mCreateCommandPool(mDevice, &commandPoolInfo, nullptr, &mCommandPool); in initialize()
373 mGetDeviceQueue(mDevice, mPresentQueueIndex, 0, &mPresentQueue); in initialize()
391 backendContext.fDevice = mDevice; in createContext()
406 .device = mDevice, in getVkFunctorInitParams()
449 VkResult err = mCreateSemaphore(mDevice, &semaphoreInfo, nullptr, &semaphore); in dequeueNextBuffer()
461 err = mImportSemaphoreFdKHR(mDevice, &importInfo); in dequeueNextBuffer()
481 VkDevice mDevice; member
486 : mDestroyFunction(destroyFunction), mDevice(device), mSemaphore(semaphore) {} in DestroySemaphoreInfo()
491 info->mDestroyFunction(info->mDevice, info->mSemaphore, nullptr); in destroy_semaphore()
498 mDeviceWaitIdle(mDevice); in swapBuffers()
517 VkResult err = mCreateSemaphore(mDevice, &semaphoreInfo, nullptr, &semaphore); in swapBuffers()
524 DestroySemaphoreInfo* destroyInfo = new DestroySemaphoreInfo(mDestroySemaphore, mDevice, in swapBuffers()
537 err = mGetSemaphoreFdKHR(mDevice, &getFdInfo, &fenceFd); in swapBuffers()
552 mDeviceWaitIdle(mDevice); in destroySurface()
588 VkResult err = mCreateSemaphore(mDevice, &semaphoreInfo, nullptr, &semaphore); in fenceWait()
601 err = mImportSemaphoreFdKHR(mDevice, &importInfo); in fenceWait()
603 mDestroySemaphore(mDevice, semaphore, nullptr); in fenceWait()
634 VkResult err = mCreateSemaphore(mDevice, &semaphoreInfo, nullptr, &semaphore); in createReleaseFence()
643 DestroySemaphoreInfo* destroyInfo = new DestroySemaphoreInfo(mDestroySemaphore, mDevice, in createReleaseFence()
651 mDestroySemaphore(mDevice, semaphore, nullptr); in createReleaseFence()
663 err = mGetSemaphoreFdKHR(mDevice, &getFdInfo, &fenceFd); in createReleaseFence()