Home
last modified time | relevance | path

Searched refs:fBackendContext (Results 1 – 10 of 10) sorted by relevance

/third_party/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()
49 fBackendContext.fDevice = VK_NULL_HANDLE; in init()
51 if (!sk_gpu_test::CreateVkBackendContext(getProc, &fBackendContext, &fExtensions, in init()
56 fDevice = fBackendContext.fDevice; in init()
60 instProc(fBackendContext.fInstance, "vkDestroyDebugReportCallbackEXT")); in init()
80 fDirectContext = GrDirectContext::MakeVulkan(fBackendContext); in init()
97 fBackendContext.fMemoryAllocator.reset(); in cleanup()
104 fDestroyDebugCallback(fBackendContext.fInstance, fDebugCallback, nullptr); in cleanup()
107 if (fBackendContext.fInstance != VK_NULL_HANDLE) { in cleanup()
[all …]
DVkTestHelper.h64 GrVkBackendContext fBackendContext; variable
/third_party/flutter/skia/tests/
DVkYcbcrSamplerTest.cpp32 fVk##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, fBackendContext.fInstance,\
84 GrVkBackendContext fBackendContext; member in VkYcbcrSamplerTestHelper
104 fBackendContext.fMemoryAllocator.reset(); in ~VkYcbcrSamplerTestHelper()
111 fDestroyDebugCallback(fBackendContext.fInstance, fDebugCallback, nullptr); in ~VkYcbcrSamplerTestHelper()
113 if (fBackendContext.fInstance != VK_NULL_HANDLE) { in ~VkYcbcrSamplerTestHelper()
114 fVkDestroyInstance(fBackendContext.fInstance, nullptr); in ~VkYcbcrSamplerTestHelper()
115 fBackendContext.fInstance = VK_NULL_HANDLE; in ~VkYcbcrSamplerTestHelper()
139 fBackendContext.fInstance = VK_NULL_HANDLE; in init()
140 fBackendContext.fDevice = VK_NULL_HANDLE; in init()
142 if (!sk_gpu_test::CreateVkBackendContext(getProc, &fBackendContext, &fExtensions, &fFeatures, in init()
[all …]
DVkProtectedContextTest.cpp30 fVk##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, fBackendContext.fInstance,\
72 GrVkBackendContext fBackendContext; member in __anon0ac775d00111::VulkanTestHelper
98 fBackendContext.fInstance = VK_NULL_HANDLE; in init()
99 fBackendContext.fDevice = VK_NULL_HANDLE; in init()
101 if (!sk_gpu_test::CreateVkBackendContext(getProc, &fBackendContext, fExtensions, in init()
106 fDevice = fBackendContext.fDevice; in init()
110 fBackendContext.fInstance, "vkDestroyDebugReportCallbackEXT"); in init()
116 fGrContext = GrContext::MakeVulkan(fBackendContext); in init()
127 fBackendContext.fMemoryAllocator.reset(); in cleanup()
134 fDestroyDebugCallback(fBackendContext.fInstance, fDebugCallback, nullptr); in cleanup()
[all …]
DVkHardwareBufferTest.cpp369 fVk##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, fBackendContext.fInstance,\
410 fBackendContext.fMemoryAllocator.reset(); in cleanup()
418 fDestroyDebugCallback(fBackendContext.fInstance, fDebugCallback, nullptr); in cleanup()
421 if (fBackendContext.fInstance != VK_NULL_HANDLE) { in cleanup()
422 fVkDestroyInstance(fBackendContext.fInstance, nullptr); in cleanup()
423 fBackendContext.fInstance = VK_NULL_HANDLE; in cleanup()
501 GrVkBackendContext fBackendContext; member in VulkanTestHelper
525 fBackendContext.fInstance = VK_NULL_HANDLE; in init()
526 fBackendContext.fDevice = VK_NULL_HANDLE; in init()
528 if (!sk_gpu_test::CreateVkBackendContext(getProc, &fBackendContext, fExtensions, in init()
[all …]
/third_party/skia/tools/sk_app/
DGLWindowContext.cpp25 , fBackendContext(nullptr) in GLWindowContext()
33 fBackendContext = this->onInitializeContext(); in initializeContext()
35 fContext = GrDirectContext::MakeGL(fBackendContext, fDisplayParams.fGrContextOptions); in initializeContext()
52 fBackendContext.reset(nullptr); in destroyContext()
61 GR_GL_CALL(fBackendContext.get(), GetIntegerv(GR_GL_FRAMEBUFFER_BINDING, &buffer)); in getBackbufferSurface()
DGLWindowContext.h25 bool isValid() override { return SkToBool(fBackendContext.get()); } in isValid()
47 sk_sp<const GrGLInterface> fBackendContext; variable
/third_party/flutter/skia/tools/sk_app/
DGLWindowContext.cpp25 , fBackendContext(nullptr) in GLWindowContext()
33 fBackendContext = this->onInitializeContext(); in initializeContext()
34 fContext = GrContext::MakeGL(fBackendContext, fDisplayParams.fGrContextOptions); in initializeContext()
51 fBackendContext.reset(nullptr); in destroyContext()
60 GR_GL_CALL(fBackendContext.get(), GetIntegerv(GR_GL_FRAMEBUFFER_BINDING, &buffer)); in getBackbufferSurface()
DGLWindowContext.h27 bool isValid() override { return SkToBool(fBackendContext.get()); } in isValid()
49 sk_sp<const GrGLInterface> fBackendContext; variable
/third_party/skia/tests/
DVkHardwareBufferTest.cpp370 fVk##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, fBackendContext.fInstance,\
414 fBackendContext.fMemoryAllocator.reset(); in cleanup()
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()
505 GrVkBackendContext fBackendContext; member in VulkanTestHelper
529 fBackendContext.fInstance = VK_NULL_HANDLE; in init()
530 fBackendContext.fDevice = VK_NULL_HANDLE; in init()
532 if (!sk_gpu_test::CreateVkBackendContext(getProc, &fBackendContext, fExtensions, in init()
[all …]