/third_party/skia/tools/gpu/vk/ |
D | VkTestHelper.cpp | 17 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 …]
|
D | VkTestHelper.h | 64 GrVkBackendContext fBackendContext; variable
|
/third_party/flutter/skia/tests/ |
D | VkYcbcrSamplerTest.cpp | 32 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 …]
|
D | VkProtectedContextTest.cpp | 30 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 …]
|
D | VkHardwareBufferTest.cpp | 369 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/ |
D | GLWindowContext.cpp | 25 , 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()
|
D | GLWindowContext.h | 25 bool isValid() override { return SkToBool(fBackendContext.get()); } in isValid() 47 sk_sp<const GrGLInterface> fBackendContext; variable
|
/third_party/flutter/skia/tools/sk_app/ |
D | GLWindowContext.cpp | 25 , 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()
|
D | GLWindowContext.h | 27 bool isValid() override { return SkToBool(fBackendContext.get()); } in isValid() 49 sk_sp<const GrGLInterface> fBackendContext; variable
|
/third_party/skia/tests/ |
D | VkHardwareBufferTest.cpp | 370 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 …]
|