Lines Matching refs:fDevice
28 #define GET_DEV_PROC(F) f ## F = (PFN_vk ## F) fGetDeviceProcAddr(fDevice, "vk" #F)
81 fDevice = backendContext.fDevice; in initializeContext()
98 fInterface.reset(new GrVkInterface(backendContext.fGetProc, fInstance, fDevice, in initializeContext()
146 fGetDeviceQueue(fDevice, fPresentQueueIndex, 0, &fPresentQueue); in initializeContext()
313 res = fCreateSwapchainKHR(fDevice, &swapchainCreateInfo, nullptr, &fSwapchain); in createSwapchain()
320 fDeviceWaitIdle(fDevice); in createSwapchain()
324 fDestroySwapchainKHR(fDevice, swapchainCreateInfo.oldSwapchain, nullptr); in createSwapchain()
329 fDeviceWaitIdle(fDevice); in createSwapchain()
333 fDestroySwapchainKHR(fDevice, swapchainCreateInfo.oldSwapchain, nullptr); in createSwapchain()
342 fGetSwapchainImagesKHR(fDevice, fSwapchain, &fImageCount, nullptr); in createBuffers()
345 fGetSwapchainImagesKHR(fDevice, fSwapchain, &fImageCount, fImages); in createBuffers()
398 CreateSemaphore(fDevice, &semaphoreInfo, nullptr, in createBuffers()
412 DestroySemaphore(fDevice, in destroyBuffers()
437 fDeviceWaitIdle(fDevice); in destroyContext()
442 fDestroySwapchainKHR(fDevice, fSwapchain, nullptr); in destroyContext()
456 if (VK_NULL_HANDLE != fDevice) { in destroyContext()
457 fDestroyDevice(fDevice, nullptr); in destroyContext()
458 fDevice = VK_NULL_HANDLE; in destroyContext()
498 SkDEBUGCODE(VkResult result = )GR_VK_CALL(fInterface, CreateSemaphore(fDevice, &semaphoreInfo, in getBackbufferSurface()
503 VkResult res = fAcquireNextImageKHR(fDevice, fSwapchain, UINT64_MAX, in getBackbufferSurface()
509 GR_VK_CALL(fInterface, DestroySemaphore(fDevice, semaphore, nullptr)); in getBackbufferSurface()
515 GR_VK_CALL(fInterface, DestroySemaphore(fDevice, semaphore, nullptr)); in getBackbufferSurface()
521 res = fAcquireNextImageKHR(fDevice, fSwapchain, UINT64_MAX, in getBackbufferSurface()
526 GR_VK_CALL(fInterface, DestroySemaphore(fDevice, semaphore, nullptr)); in getBackbufferSurface()