#include <playground_impl.h>
 
  
| Public Types | |
| using | WindowHandle = void * | 
| Public Member Functions | |
| virtual | ~PlaygroundImpl () | 
| virtual WindowHandle | GetWindowHandle () const =0 | 
| virtual std::shared_ptr< Context > | GetContext () const =0 | 
| virtual std::unique_ptr< Surface > | AcquireSurfaceFrame (std::shared_ptr< Context > context)=0 | 
| Vector2 | GetContentScale () const | 
| virtual fml::Status | SetCapabilities (const std::shared_ptr< Capabilities > &capabilities)=0 | 
| virtual Playground::GLProcAddressResolver | CreateGLProcAddressResolver () const | 
| virtual Playground::VKProcAddressResolver | CreateVKProcAddressResolver () const | 
| virtual void | SetGPUDisabled (bool disabled) const | 
| Static Public Member Functions | |
| static std::unique_ptr< PlaygroundImpl > | Create (PlaygroundBackend backend, PlaygroundSwitches switches) | 
| Protected Member Functions | |
| PlaygroundImpl (PlaygroundSwitches switches) | |
| Protected Attributes | |
| const PlaygroundSwitches | switches_ | 
Definition at line 18 of file playground_impl.h.
| using impeller::PlaygroundImpl::WindowHandle = void* | 
Definition at line 25 of file playground_impl.h.
| 
 | virtualdefault | 
| 
 | explicitprotected | 
Definition at line 55 of file playground_impl.cc.
| 
 | pure virtual | 
| 
 | static | 
Definition at line 25 of file playground_impl.cc.
References impeller::PlaygroundSwitches::enable_vulkan_validation, impeller::PlaygroundImplVK::IsVulkanDriverPresent(), impeller::kMetal, impeller::kOpenGLES, impeller::kVulkan, and impeller::PlaygroundBackendToString().
Referenced by impeller::testing::MetalScreenshotter::MetalScreenshotter(), impeller::GoldenPlaygroundTest::SetUp(), and impeller::Playground::SetupContext().
| 
 | virtual | 
Definition at line 69 of file playground_impl.cc.
| 
 | virtual | 
Definition at line 74 of file playground_impl.cc.
| Vector2 impeller::PlaygroundImpl::GetContentScale | ( | ) | const | 
Definition at line 60 of file playground_impl.cc.
References GetWindowHandle(), impeller::TPoint< T >::x, and impeller::TPoint< T >::y.
| 
 | pure virtual | 
| 
 | pure virtual | 
Referenced by GetContentScale().
| 
 | pure virtual | 
Implemented in impeller::PlaygroundImplVK, impeller::PlaygroundImplMTL, and impeller::PlaygroundImplGLES.
| 
 | inlinevirtual | 
Definition at line 43 of file playground_impl.h.
| 
 | protected | 
Definition at line 46 of file playground_impl.h.
Referenced by impeller::PlaygroundImplVK::PlaygroundImplVK().