#include <playground_impl.h>
Definition at line 18 of file playground_impl.h.
◆ WindowHandle
◆ ~PlaygroundImpl()
| impeller::PlaygroundImpl::~PlaygroundImpl |
( |
| ) |
|
|
virtualdefault |
◆ PlaygroundImpl()
◆ AcquireSurfaceFrame()
| virtual std::unique_ptr<Surface> impeller::PlaygroundImpl::AcquireSurfaceFrame |
( |
std::shared_ptr< Context > |
context | ) |
|
|
pure virtual |
◆ Create()
Definition at line 25 of file playground_impl.cc.
29 #if IMPELLER_ENABLE_METAL
31 return std::make_unique<PlaygroundImplMTL>(switches);
33 switches.flags.use_sdfs =
true;
34 return std::make_unique<PlaygroundImplMTL>(switches);
36 #if IMPELLER_ENABLE_OPENGLES
38 return std::make_unique<PlaygroundImplGLES>(switches);
40 #if IMPELLER_ENABLE_VULKAN
43 FML_CHECK(
false) <<
"Attempted to create playground with backend that "
44 "isn't available or was disabled on this platform: "
47 switches.enable_vulkan_validation =
true;
48 return std::make_unique<PlaygroundImplVK>(switches);
51 FML_CHECK(
false) <<
"Attempted to create playground with backend that "
52 "isn't available or was disabled on this platform: "
static bool IsVulkanDriverPresent()
std::string PlaygroundBackendToString(PlaygroundBackend backend)
References impeller::PlaygroundSwitches::enable_vulkan_validation, impeller::PlaygroundSwitches::flags, impeller::PlaygroundImplVK::IsVulkanDriverPresent(), impeller::kMetal, impeller::kMetalSDF, impeller::kOpenGLES, impeller::kVulkan, impeller::PlaygroundBackendToString(), and impeller::Flags::use_sdfs.
Referenced by impeller::testing::MetalScreenshotter::MetalScreenshotter(), impeller::GoldenPlaygroundTest::SetUp(), and impeller::Playground::SetupContext().
◆ CreateGLProcAddressResolver()
◆ CreateVKProcAddressResolver()
◆ GetContentScale()
| Vector2 impeller::PlaygroundImpl::GetContentScale |
( |
| ) |
const |
◆ GetContext()
| virtual std::shared_ptr<Context> impeller::PlaygroundImpl::GetContext |
( |
| ) |
const |
|
pure virtual |
◆ GetRuntimeStageBackend()
◆ GetWindowHandle()
| virtual WindowHandle impeller::PlaygroundImpl::GetWindowHandle |
( |
| ) |
const |
|
pure virtual |
◆ SetCapabilities()
| virtual fml::Status impeller::PlaygroundImpl::SetCapabilities |
( |
const std::shared_ptr< Capabilities > & |
capabilities | ) |
|
|
pure virtual |
◆ SetGPUDisabled()
| virtual void impeller::PlaygroundImpl::SetGPUDisabled |
( |
bool |
disabled | ) |
const |
|
inlinevirtual |
◆ switches_
The documentation for this class was generated from the following files: