#include <playground_test.h>
Definition at line 16 of file playground_test.h.
◆ InteropPlaygroundCallback
◆ PlaygroundTest() [1/2]
| impeller::interop::testing::PlaygroundTest::PlaygroundTest |
( |
| ) |
|
◆ ~PlaygroundTest()
| impeller::interop::testing::PlaygroundTest::~PlaygroundTest |
( |
| ) |
|
|
overridevirtualdefault |
◆ PlaygroundTest() [2/2]
| impeller::interop::testing::PlaygroundTest::PlaygroundTest |
( |
const PlaygroundTest & |
| ) |
|
|
delete |
◆ CreateContext()
Definition at line 59 of file playground_test.cc.
62 return Adopt<Context>(
68 [](
const char* proc_name,
void* user_data) ->
void* {
70 user_data))(proc_name);
74 &playground_gl_proc_address_callback));
85 const char* proc_name,
88 auto resolver =
reinterpret_cast<UserData*
>(user_data)->resolver;
90 return resolver(instance, proc_name);
95 return Adopt<Context>(
GLProcAddressResolver CreateGLProcAddressResolver() const
const PlaygroundSwitches switches_
std::function< void *(void *instance, const char *proc_name)> VKProcAddressResolver
std::function< void *(const char *proc_name)> GLProcAddressResolver
VKProcAddressResolver CreateVKProcAddressResolver() const
PlaygroundBackend GetBackend() const
void *IMPELLER_NULLABLE(* ImpellerProcAddressCallback)(const char *IMPELLER_NONNULL proc_name, void *IMPELLER_NULLABLE user_data)
IMPELLER_EXTERN_C uint32_t ImpellerGetVersion()
IMPELLER_EXTERN_C ImpellerContext ImpellerContextCreateVulkanNew(uint32_t version, const ImpellerContextVulkanSettings *settings)
IMPELLER_EXTERN_C ImpellerContext ImpellerContextCreateMetalNew(uint32_t version)
IMPELLER_EXTERN_C ImpellerContext ImpellerContextCreateOpenGLESNew(uint32_t version, ImpellerProcAddressCallback gl_proc_address_callback, void *gl_proc_address_callback_user_data)
ImpellerVulkanProcAddressCallback IMPELLER_NONNULL proc_address_callback
bool enable_vulkan_validation
void *IMPELLER_NULLABLE user_data
bool enable_vulkan_validation
References impeller::Playground::CreateGLProcAddressResolver(), impeller::Playground::CreateVKProcAddressResolver(), impeller::PlaygroundSwitches::enable_vulkan_validation, ImpellerContextVulkanSettings::enable_vulkan_validation, impeller::PlaygroundTest::GetBackend(), impeller::interop::ImpellerContextCreateMetalNew(), impeller::interop::ImpellerContextCreateOpenGLESNew(), impeller::interop::ImpellerContextCreateVulkanNew(), impeller::interop::ImpellerGetVersion(), impeller::kMetal, impeller::kOpenGLES, impeller::kVulkan, ImpellerContextVulkanSettings::proc_address_callback, impeller::Playground::switches_, and ImpellerContextVulkanSettings::user_data.
◆ GetInteropContext()
◆ OpenPlaygroundHere()
◆ operator=()
◆ SetUp()
| void impeller::interop::testing::PlaygroundTest::SetUp |
( |
| ) |
|
|
override |
◆ TearDown()
| void impeller::interop::testing::PlaygroundTest::TearDown |
( |
| ) |
|
|
override |
The documentation for this class was generated from the following files: