Home
last modified time | relevance | path

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

12

/external/skia/tools/gpu/vk/
DVkTestHelper.cpp17 fVk##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, fBackendContext.fInstance,\
48 fBackendContext.fInstance = VK_NULL_HANDLE; in init()
60 instProc(fBackendContext.fInstance, "vkDestroyDebugReportCallbackEXT")); in init()
104 fDestroyDebugCallback(fBackendContext.fInstance, fDebugCallback, nullptr); in cleanup()
107 if (fBackendContext.fInstance != VK_NULL_HANDLE) { in cleanup()
108 fVkDestroyInstance(fBackendContext.fInstance, nullptr); in cleanup()
109 fBackendContext.fInstance = VK_NULL_HANDLE; in cleanup()
DVkTestContext.cpp63 backendContext.fInstance, "vkDestroyDebugReportCallbackEXT"); in Create()
95 ACQUIRE_VK_PROC_LOCAL(DeviceWaitIdle, fVk.fInstance); in teardown()
96 ACQUIRE_VK_PROC_LOCAL(DestroyDevice, fVk.fInstance); in teardown()
97 ACQUIRE_VK_PROC_LOCAL(DestroyInstance, fVk.fInstance); in teardown()
102 fDestroyDebugReportCallbackEXT(fVk.fInstance, fDebugCallback, nullptr); in teardown()
105 grVkDestroyInstance(fVk.fInstance, nullptr); in teardown()
/external/skia/tools/gpu/dawn/
DDawnTestContext.cpp46 SkASSERT(!fInstance); in ProcGetter()
47 fInstance = this; in ProcGetter()
54 fInstance = nullptr; in ~ProcGetter()
58 return fInstance->getProc(name); in getProcAddress()
74 static ProcGetter* fInstance; member in __anond36a35430111::ProcGetter
77 ProcGetter* ProcGetter::fInstance; member in __anond36a35430111::ProcGetter
DDawnTestContext.h27 : fInstance(std::move(instance)), fDevice(device) {} in DawnTestContext()
29 std::unique_ptr<dawn_native::Instance> fInstance; variable
/external/skqp/tests/
DGrMemoryPoolTest.cpp171 A* fInstance; member
203 rec->fInstance = A::Create(&r); in DEF_TEST()
205 rec->fInstance->setValues(rec->fValue); in DEF_TEST()
209 REPORTER_ASSERT(reporter, rec.fInstance->checkValues(rec.fValue)); in DEF_TEST()
210 delete rec.fInstance; in DEF_TEST()
216 REPORTER_ASSERT(reporter, rec.fInstance->checkValues(rec.fValue)); in DEF_TEST()
222 REPORTER_ASSERT(reporter, rec.fInstance->checkValues(rec.fValue)); in DEF_TEST()
223 delete rec.fInstance; in DEF_TEST()
DVkHardwareBufferTest.cpp369 fVk##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, fBackendContext.fInstance,\
415 fDestroyDebugCallback(fBackendContext.fInstance, fDebugCallback, nullptr); in cleanup()
418 if (fBackendContext.fInstance != VK_NULL_HANDLE) { in cleanup()
419 fVkDestroyInstance(fBackendContext.fInstance, nullptr); in cleanup()
420 fBackendContext.fInstance = VK_NULL_HANDLE; in cleanup()
519 fBackendContext.fInstance = VK_NULL_HANDLE; in init()
530 fBackendContext.fInstance, "vkDestroyDebugReportCallbackEXT"); in init()
/external/skia/tests/
DGrMemoryPoolTest.cpp171 A* fInstance; member
205 rec->fInstance = A::Create(&r); in DEF_TEST()
207 rec->fInstance->setValues(rec->fValue); in DEF_TEST()
211 REPORTER_ASSERT(reporter, rec.fInstance->checkValues(rec.fValue)); in DEF_TEST()
212 delete rec.fInstance; in DEF_TEST()
219 REPORTER_ASSERT(reporter, rec.fInstance->checkValues(rec.fValue)); in DEF_TEST()
225 REPORTER_ASSERT(reporter, rec.fInstance->checkValues(rec.fValue)); in DEF_TEST()
226 delete rec.fInstance; in DEF_TEST()
DVkHardwareBufferTest.cpp370 fVk##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, fBackendContext.fInstance,\
422 fDestroyDebugCallback(fBackendContext.fInstance, fDebugCallback, nullptr); in cleanup()
425 if (fBackendContext.fInstance != VK_NULL_HANDLE) { in cleanup()
426 fVkDestroyInstance(fBackendContext.fInstance, nullptr); in cleanup()
427 fBackendContext.fInstance = VK_NULL_HANDLE; in cleanup()
529 fBackendContext.fInstance = VK_NULL_HANDLE; in init()
540 fBackendContext.fInstance, "vkDestroyDebugReportCallbackEXT"); in init()
/external/skia/tools/sk_app/
DVulkanWindowContext.cpp27 #define GET_PROC(F) f ## F = (PFN_vk ## F) fGetInstanceProcAddr(fInstance, "vk" #F)
79 fInstance = backendContext.fInstance; in initializeContext()
88 backendContext.fInstance, in initializeContext()
98 fInterface.reset(new GrVkInterface(backendContext.fGetProc, fInstance, fDevice, in initializeContext()
123 fSurface = fCreateVkSurfaceFn(fInstance); in initializeContext()
447 fDestroySurfaceKHR(fInstance, fSurface, nullptr); in destroyContext()
463 fDestroyDebugReportCallbackEXT(fInstance, fDebugCallback, nullptr); in destroyContext()
469 if (VK_NULL_HANDLE != fInstance) { in destroyContext()
470 fDestroyInstance(fInstance, nullptr); in destroyContext()
471 fInstance = VK_NULL_HANDLE; in destroyContext()
DDawnWindowContext.cpp30 , fInstance(std::make_unique<dawn_native::Instance>()) { in DawnWindowContext()
110 fInstance->DiscoverDefaultAdapters(); in createDevice()
114 std::vector<dawn_native::Adapter> adapters = fInstance->GetAdapters(); in createDevice()
DDawnWindowContext.h49 std::unique_ptr<dawn_native::Instance> fInstance; variable
DVulkanWindowContext.h67 VkInstance fInstance = VK_NULL_HANDLE; variable
/external/skqp/tools/gpu/vk/
DVkTestContext.cpp188 backendContext.fInstance, "vkDestroyDebugReportCallbackEXT"); in Create()
223 ACQUIRE_VK_PROC_LOCAL(DeviceWaitIdle, fVk.fInstance); in teardown()
224 ACQUIRE_VK_PROC_LOCAL(DestroyDevice, fVk.fInstance); in teardown()
225 ACQUIRE_VK_PROC_LOCAL(DestroyInstance, fVk.fInstance); in teardown()
230 fDestroyDebugReportCallbackEXT(fVk.fInstance, fDebugCallback, nullptr); in teardown()
233 grVkDestroyInstance(fVk.fInstance, nullptr); in teardown()
/external/skqp/tools/sk_app/
DVulkanWindowContext.cpp26 #define GET_PROC(F) f ## F = (PFN_vk ## F) fGetInstanceProcAddr(fInstance, "vk" #F)
78 fInstance = backendContext.fInstance; in initializeContext()
87 backendContext.fInstance, in initializeContext()
97 fInterface.reset(new GrVkInterface(backendContext.fGetProc, fInstance, fDevice, in initializeContext()
122 fSurface = fCreateVkSurfaceFn(fInstance); in initializeContext()
467 fDestroySurfaceKHR(fInstance, fSurface, nullptr); in destroyContext()
482 fDestroyDebugReportCallbackEXT(fInstance, fDebugCallback, nullptr); in destroyContext()
488 if (VK_NULL_HANDLE != fInstance) { in destroyContext()
489 fDestroyInstance(fInstance, nullptr); in destroyContext()
490 fInstance = VK_NULL_HANDLE; in destroyContext()
DVulkanWindowContext.h70 VkInstance fInstance = VK_NULL_HANDLE; variable
/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/src/gpu/tessellate/
DGrDrawAtlasPathOp.cpp120 fInstanceList.fInstance.fColor, GrProcessorAnalysisCoverage::kSingleChannel, clip, in finalize()
121 &GrUserStencilSettings::kUnused, caps, clampType, &fInstanceList.fInstance.fColor); in finalize()
157 memcpy(instanceData, &list->fInstance, instanceStride); in onPrepare()
DGrDrawAtlasPathOp.h79 : fInstance(devIBounds, locationInAtlas, transposedInAtlas, color, viewMatrix) { in InstanceList()
82 Instance fInstance; member
/external/skqp/include/gpu/vk/
DGrVkBackendContext.h46 VkInstance fInstance; member
/external/skia/include/gpu/vk/
DGrVkBackendContext.h46 VkInstance fInstance; member
/external/skqp/site/user/special/
Dvulkan.md27 vkBackendContext.fInstance = vkInstance;
/external/skia/site/docs/user/special/
Dvulkan.md32 vkBackendContext.fInstance = vkInstance;
/external/skqp/src/gpu/vk/
DGrVkGpu.cpp61 if (backendContext.fInstance == VK_NULL_HANDLE || in Make()
89 backendContext.fInstance, in Make()
109 backendContext.fInstance, in Make()
122 backendContext.fInstance, in Make()
144 , fInstance(backendContext.fInstance) in GrVkGpu()
255 fInstance = VK_NULL_HANDLE; in destroyResources()
DGrVkGpu.h267 VkInstance fInstance; variable
/external/skia/src/gpu/vk/
DGrVkGpu.cpp60 if (backendContext.fInstance == VK_NULL_HANDLE || in Make()
88 backendContext.fInstance, in Make()
108 backendContext.fInstance, in Make()
123 extensions.init(backendContext.fGetProc, backendContext.fInstance, in Make()
127 backendContext.fInstance, in Make()
168 extensions.init(backendContext.fGetProc, backendContext.fInstance, in Make()
183 memoryAllocator = GrVkAMDMemoryAllocator::Make(backendContext.fInstance, in Make()

12