#include <test_vulkan_context.h>
Public Member Functions | |
| TestVulkanContext () | |
| ~TestVulkanContext () | |
| std::optional< TestVulkanImage > | CreateImage (const DlISize &size) const |
| sk_sp< GrDirectContext > | GetGrDirectContext () const |
Public Member Functions inherited from fml::RefCountedThreadSafe< TestVulkanContext > | |
| void | Release () const |
Public Member Functions inherited from fml::internal::RefCountedThreadSafeBase | |
| void | AddRef () const |
| bool | HasOneRef () const |
| void | AssertHasOneRef () const |
Friends | |
| class | EmbedderTestContextVulkan |
| class | EmbedderConfigBuilder |
Additional Inherited Members | |
Protected Member Functions inherited from fml::RefCountedThreadSafe< TestVulkanContext > | |
| RefCountedThreadSafe () | |
| ~RefCountedThreadSafe () | |
Protected Member Functions inherited from fml::internal::RefCountedThreadSafeBase | |
| RefCountedThreadSafeBase () | |
| ~RefCountedThreadSafeBase () | |
| bool | Release () const |
| void | Adopt () |
Definition at line 20 of file test_vulkan_context.h.
| flutter::testing::TestVulkanContext::TestVulkanContext | ( | ) |
Definition at line 26 of file test_vulkan_context.cc.
References vulkan::VulkanProcTable::AreInstanceProcsSetup(), fml::NativeLibrary::Create(), vulkan::CreateSkiaGetProc(), FML_LOG, vulkan::VulkanProcTable::HasAcquiredMandatoryProcAddresses(), flutter::kRender, flutter::FlutterSkiaVulkanMemoryAllocator::Make(), flutter::MakeDefaultContextOptions(), and VULKAN_SO_PATH.
| flutter::testing::TestVulkanContext::~TestVulkanContext | ( | ) |
Definition at line 110 of file test_vulkan_context.cc.
| std::optional< TestVulkanImage > flutter::testing::TestVulkanContext::CreateImage | ( | const DlISize & | size | ) | const |
Definition at line 116 of file test_vulkan_context.cc.
References device, image, flutter::size, and VK_CALL_LOG_ERROR.
Referenced by flutter::testing::TestVulkanSurface::Create().
| sk_sp< GrDirectContext > flutter::testing::TestVulkanContext::GetGrDirectContext | ( | ) | const |
Definition at line 182 of file test_vulkan_context.cc.
Referenced by flutter::testing::TestVulkanSurface::Create().
|
friend |
Definition at line 37 of file test_vulkan_context.h.
|
friend |
Definition at line 36 of file test_vulkan_context.h.