Home
last modified time | relevance | path

Searched refs:canPresent (Results 1 – 5 of 5) sorted by relevance

/external/skia/tools/viewer/sk_app/android/
DVulkanWindowContext_android.cpp39 auto canPresent = [](VkInstance, VkPhysicalDevice, uint32_t) { return true; }; in NewVulkanForAndroid() local
41 WindowContext* ctx = new VulkanWindowContext(params, createVkSurface, canPresent); in NewVulkanForAndroid()
/external/skia/tools/viewer/sk_app/win/
DVulkanWindowContext_win.cpp47 auto canPresent = [hwnd] (VkInstance instance, VkPhysicalDevice physDev, in NewVulkanForWin() local
62 WindowContext* ctx = new VulkanWindowContext(params, createVkSurface, canPresent); in NewVulkanForWin()
/external/skia/tools/viewer/sk_app/unix/
DVulkanWindowContext_unix.cpp49 auto canPresent = [&info](VkInstance instance, VkPhysicalDevice physDev, in NewVulkanForXlib() local
69 WindowContext* context = new VulkanWindowContext(displayParams, createVkSurface, canPresent); in NewVulkanForXlib()
/external/skia/src/gpu/vk/
DGrVkBackendContext.cpp43 CanPresentFn canPresent) { in Create() argument
160 if (presentQueueIndexPtr && canPresent) { in Create()
162 if (canPresent(inst, physDev, i)) { in Create()
/external/skia/tools/viewer/sk_app/
DVulkanWindowContext.cpp32 CanPresentFn canPresent) in VulkanWindowContext() argument
43 fBackendContext.reset(GrVkBackendContext::Create(&fPresentQueueIndex, canPresent)); in VulkanWindowContext()