5 #ifndef FLUTTER_IMPELLER_PLAYGROUND_PLAYGROUND_IMPL_H_
6 #define FLUTTER_IMPELLER_PLAYGROUND_PLAYGROUND_IMPL_H_
32 std::shared_ptr<Context> context) = 0;
37 const std::shared_ptr<Capabilities>& capabilities) = 0;
std::function< void *(void *instance, const char *proc_name)> VKProcAddressResolver
std::function< void *(const char *proc_name)> GLProcAddressResolver
PlaygroundImpl(PlaygroundSwitches switches)
virtual std::unique_ptr< Surface > AcquireSurfaceFrame(std::shared_ptr< Context > context)=0
virtual ~PlaygroundImpl()
Vector2 GetContentScale() const
virtual std::shared_ptr< Context > GetContext() const =0
virtual WindowHandle GetWindowHandle() const =0
virtual void SetGPUDisabled(bool disabled) const
static std::unique_ptr< PlaygroundImpl > Create(PlaygroundBackend backend, PlaygroundSwitches switches)
virtual Playground::GLProcAddressResolver CreateGLProcAddressResolver() const
const PlaygroundSwitches switches_
virtual Playground::VKProcAddressResolver CreateVKProcAddressResolver() const
virtual fml::Status SetCapabilities(const std::shared_ptr< Capabilities > &capabilities)=0