Home
last modified time | relevance | path

Searched refs:fInstance (Results 1 – 25 of 26) sorted by relevance

12

/external/skia/example/
DVulkanBasic.cpp28 fVk##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, backendContext.fInstance, \
61 backendContext.fInstance = VK_NULL_HANDLE; in main()
85 fVkDestroyDebugReportCallbackEXT(backendContext.fInstance, debugCallback, nullptr); in main()
87 fVkDestroyInstance(backendContext.fInstance, nullptr); in main()
103 fVkDestroyDebugReportCallbackEXT(backendContext.fInstance, debugCallback, nullptr); in main()
104 } fVkDestroyInstance(backendContext.fInstance, nullptr); in main()
124 fVkDestroyDebugReportCallbackEXT(backendContext.fInstance, debugCallback, nullptr); in main()
125 } fVkDestroyInstance(backendContext.fInstance, nullptr); in main()
/external/skia/tools/gpu/vk/
DVkTestHelper.cpp17 fVk##name = reinterpret_cast<PFN_vk##name>(instProc(fBackendContext.fInstance, "vk" #name)); \
39 fBackendContext.fInstance = VK_NULL_HANDLE; in init()
51 instProc(fBackendContext.fInstance, "vkDestroyDebugReportCallbackEXT")); in init()
97 fDestroyDebugCallback(fBackendContext.fInstance, fDebugCallback, nullptr); in cleanup()
100 if (fBackendContext.fInstance != VK_NULL_HANDLE) { in cleanup()
101 fVkDestroyInstance(fBackendContext.fInstance, nullptr); in cleanup()
102 fBackendContext.fInstance = VK_NULL_HANDLE; in cleanup()
DVkTestContext.cpp52 backendContext.fInstance, "vkDestroyDebugReportCallbackEXT"); in Create()
84 ACQUIRE_VK_PROC_LOCAL(DeviceWaitIdle, fVk.fInstance); in teardown()
85 ACQUIRE_VK_PROC_LOCAL(DestroyDevice, fVk.fInstance); in teardown()
86 ACQUIRE_VK_PROC_LOCAL(DestroyInstance, fVk.fInstance); in teardown()
91 fDestroyDebugReportCallbackEXT(fVk.fInstance, fDebugCallback, nullptr); in teardown()
94 grVkDestroyInstance(fVk.fInstance, nullptr); in teardown()
DVkTestUtils.cpp474 ctx->fInstance = skgpuCtx.fInstance; in CreateVkBackendContext()
860 ctx->fInstance = inst; in CreateVkBackendContext()
/external/skia/tools/graphite/vk/
DVulkanTestContext.cpp42 backendContext.fInstance, "vkDestroyDebugReportCallbackEXT"); in Make()
64 ACQUIRE_VK_PROC_LOCAL(DeviceWaitIdle, fVulkan.fInstance); in ~VulkanTestContext()
65 ACQUIRE_VK_PROC_LOCAL(DestroyDevice, fVulkan.fInstance); in ~VulkanTestContext()
66 ACQUIRE_VK_PROC_LOCAL(DestroyInstance, fVulkan.fInstance); in ~VulkanTestContext()
71 fDestroyDebugReportCallbackEXT(fVulkan.fInstance, fDebugCallback, nullptr); in ~VulkanTestContext()
78 localVkDestroyInstance(fVulkan.fInstance, nullptr); in ~VulkanTestContext()
/external/skia/tools/gpu/dawn/
DDawnTestContext.cpp52 SkASSERT(!fInstance); in ProcGetter()
53 fInstance = this; in ProcGetter()
60 fInstance = nullptr; in ~ProcGetter()
64 return fInstance->getProc(name); in getProcAddress()
80 static ProcGetter* fInstance; member in __anon4b21c6e10111::ProcGetter
83 ProcGetter* ProcGetter::fInstance; member in __anon4b21c6e10111::ProcGetter
DDawnTestContext.h27 : fInstance(std::move(instance)), fDevice(device) {} in DawnTestContext()
29 std::unique_ptr<dawn::native::Instance> fInstance; variable
/external/skia/tests/
DGrMemoryPoolTest.cpp175 A* fInstance; member
209 rec->fInstance = A::Create(&r); in DEF_TEST()
211 rec->fInstance->setValues(rec->fValue); in DEF_TEST()
215 REPORTER_ASSERT(reporter, rec.fInstance->checkValues(rec.fValue)); in DEF_TEST()
216 delete rec.fInstance; in DEF_TEST()
222 REPORTER_ASSERT(reporter, rec.fInstance->checkValues(rec.fValue)); in DEF_TEST()
227 REPORTER_ASSERT(reporter, rec.fInstance->checkValues(rec.fValue)); in DEF_TEST()
228 delete rec.fInstance; in DEF_TEST()
DVkHardwareBufferTest.cpp376 fVk##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, fBackendContext.fInstance,\
434 fDestroyDebugCallback(fBackendContext.fInstance, fDebugCallback, nullptr); in cleanup()
437 if (fBackendContext.fInstance != VK_NULL_HANDLE) { in cleanup()
438 fVkDestroyInstance(fBackendContext.fInstance, nullptr); in cleanup()
439 fBackendContext.fInstance = VK_NULL_HANDLE; in cleanup()
533 fBackendContext.fInstance = VK_NULL_HANDLE; in init()
545 fBackendContext.fInstance, "vkDestroyDebugReportCallbackEXT"); in init()
/external/skia/tools/sk_app/
DVulkanWindowContext.cpp29 (PFN_vk ## F) backendContext.fGetProc("vk" #F, fInstance, VK_NULL_HANDLE)
73 fInstance = backendContext.fInstance; in initializeContext()
82 backendContext.fInstance, in initializeContext()
92 fInterface.reset(new skgpu::VulkanInterface(backendContext.fGetProc, fInstance, fDevice, in initializeContext()
117 fSurface = fCreateVkSurfaceFn(fInstance); in initializeContext()
441 fDestroySurfaceKHR(fInstance, fSurface, nullptr); in destroyContext()
457 fDestroyDebugReportCallbackEXT(fInstance, fDebugCallback, nullptr); in destroyContext()
463 if (VK_NULL_HANDLE != fInstance) { in destroyContext()
464 fDestroyInstance(fInstance, nullptr); in destroyContext()
465 fInstance = VK_NULL_HANDLE; in destroyContext()
DGraphiteDawnWindowContext.cpp29 , fInstance(std::make_unique<dawn::native::Instance>()) { in GraphiteDawnWindowContext()
75 fInstance = nullptr; in destroyContext()
118 fInstance->DiscoverDefaultAdapters(); in createDevice()
122 std::vector<dawn::native::Adapter> adapters = fInstance->GetAdapters(); in createDevice()
DDawnWindowContext.cpp30 , fInstance(std::make_unique<dawn::native::Instance>()) { in DawnWindowContext()
112 fInstance->DiscoverDefaultAdapters(); in createDevice()
116 std::vector<dawn::native::Adapter> adapters = fInstance->GetAdapters(); in createDevice()
DDawnWindowContext.h49 std::unique_ptr<dawn::native::Instance> fInstance; variable
DGraphiteDawnWindowContext.h40 std::unique_ptr<dawn::native::Instance> fInstance; variable
DVulkanWindowContext.h66 VkInstance fInstance = VK_NULL_HANDLE; variable
/external/skia/tools/window/
DSkVulkanWindowContext.cpp28 (PFN_vk ## F) backendContext.fGetProc("vk" #F, fInstance, VK_NULL_HANDLE)
70 fInstance = backendContext.fInstance; in initializeContext()
79 backendContext.fInstance, in initializeContext()
89 fInterface.reset(new skgpu::VulkanInterface(backendContext.fGetProc, fInstance, fDevice, in initializeContext()
114 fSurface = fCreateVkSurfaceFn(fInstance); in initializeContext()
438 fDestroySurfaceKHR(fInstance, fSurface, nullptr); in destroyContext()
454 fDestroyDebugReportCallbackEXT(fInstance, fDebugCallback, nullptr); in destroyContext()
460 if (VK_NULL_HANDLE != fInstance) { in destroyContext()
461 fDestroyInstance(fInstance, nullptr); in destroyContext()
462 fInstance = VK_NULL_HANDLE; in destroyContext()
DSkVulkanWindowContext.h63 VkInstance fInstance = VK_NULL_HANDLE; variable
/external/skia/src/gpu/graphite/vk/
DVulkanSharedContext.cpp22 if (context.fInstance == VK_NULL_HANDLE || in Make()
54 context.fInstance, in Make()
72 context.fInstance, in Make()
94 memoryAllocator = skgpu::VulkanAMDMemoryAllocator::Make(context.fInstance, in Make()
/external/junit/src/main/java/junit/framework/
DJUnit4TestAdapterCache.java15 private static final JUnit4TestAdapterCache fInstance = new JUnit4TestAdapterCache(); field in JUnit4TestAdapterCache
18 return fInstance; in getDefault()
/external/skia/include/gpu/vk/
DVulkanBackendContext.h21 VkInstance fInstance; member
DGrVkBackendContext.h46 VkInstance fInstance = VK_NULL_HANDLE; member
/external/skia/tools/sk_app/win/
DGraphiteDawnD3D12WindowContext_win.cpp60 auto surface = wgpu::Instance(fInstance->Get()).CreateSurface(&surfaceDesc); in onInitializeContext()
/external/skia/tools/sk_app/unix/
DGraphiteDawnVulkanWindowContext_unix.cpp69 auto surface = wgpu::Instance(fInstance->Get()).CreateSurface(&surfaceDesc); in onInitializeContext()
/external/skia/tools/sk_app/mac/
DGraphiteDawnMetalWindowContext_mac.mm79 auto surface = wgpu::Instance(fInstance->Get()).CreateSurface(&surfaceDesc);
/external/skia/site/docs/user/special/
Dvulkan.md32 vkBackendContext.fInstance = vkInstance;

12