#include <test_vulkan_surface.h>
Public Member Functions | |
| bool | IsValid () const |
| sk_sp< SkImage > | GetSurfaceSnapshot () const |
| VkImage | GetImage () |
Static Public Member Functions | |
| static std::unique_ptr< TestVulkanSurface > | Create (const TestVulkanContext &context, const DlISize &surface_size) |
Definition at line 19 of file test_vulkan_surface.h.
|
static |
Definition at line 24 of file test_vulkan_surface.cc.
References flutter::testing::TestVulkanContext::CreateImage(), FML_LOG, flutter::testing::TestVulkanContext::GetGrDirectContext(), impeller::TSize< T >::height, and impeller::TSize< T >::width.
| VkImage flutter::testing::TestVulkanSurface::GetImage | ( | ) |
Definition at line 109 of file test_vulkan_surface.cc.
| sk_sp< SkImage > flutter::testing::TestVulkanSurface::GetSurfaceSnapshot | ( | ) | const |
Definition at line 79 of file test_vulkan_surface.cc.
| bool flutter::testing::TestVulkanSurface::IsValid | ( | ) | const |
Definition at line 75 of file test_vulkan_surface.cc.
References surface_.