#include <embedder_test_context_vulkan.h>
◆ EmbedderTestContextVulkan()
flutter::testing::EmbedderTestContextVulkan::EmbedderTestContextVulkan |
( |
std::string |
assets_path = "" | ) |
|
|
explicit |
Definition at line 21 of file embedder_test_context_vulkan.cc.
23 vulkan_context_ = fml::MakeRefCounted<TestVulkanContext>();
24}
EmbedderTestContext(std::string assets_path="")
◆ ~EmbedderTestContextVulkan()
flutter::testing::EmbedderTestContextVulkan::~EmbedderTestContextVulkan |
( |
| ) |
|
|
override |
◆ GetContextType()
◆ GetNextImage()
VkImage flutter::testing::EmbedderTestContextVulkan::GetNextImage |
( |
const SkISize & |
size | ) |
|
◆ GetSurfacePresentCount()
size_t flutter::testing::EmbedderTestContextVulkan::GetSurfacePresentCount |
( |
| ) |
const |
|
overridevirtual |
◆ InstanceProcAddr()
void * flutter::testing::EmbedderTestContextVulkan::InstanceProcAddr |
( |
void * |
user_data, |
|
|
FlutterVulkanInstanceHandle |
instance, |
|
|
const char * |
name |
|
) |
| |
|
static |
Definition at line 61 of file embedder_test_context_vulkan.cc.
64 {
66 ->vulkan_context_->vk_->GetInstanceProcAddr(
68 return reinterpret_cast<void*>(proc_addr);
69}
EmbedderTestContextVulkan(std::string assets_path="")
DEF_SWITCHES_START aot vmservice shared library name
◆ PresentImage()
bool flutter::testing::EmbedderTestContextVulkan::PresentImage |
( |
VkImage |
image | ) |
|
Definition at line 42 of file embedder_test_context_vulkan.cc.
42 {
44 [&]() { return surface_->GetSurfaceSnapshot(); });
45 present_count_++;
46 return true;
47}
void FireRootSurfacePresentCallbackIfPresent(const std::function< sk_sp< SkImage >(void)> &image_callback)
◆ SetupCompositor()
void flutter::testing::EmbedderTestContextVulkan::SetupCompositor |
( |
| ) |
|
|
overridevirtual |
◆ EmbedderConfigBuilder
The documentation for this class was generated from the following files: