 |
Flutter Impeller
|
|
Go to the documentation of this file.
5 #ifndef FLUTTER_IMPELLER_PLAYGROUND_PLAYGROUND_IMPL_H_
6 #define FLUTTER_IMPELLER_PLAYGROUND_PLAYGROUND_IMPL_H_
29 virtual std::shared_ptr<Context>
GetContext()
const = 0;
32 std::shared_ptr<Context> context) = 0;
37 const std::shared_ptr<Capabilities>& capabilities) = 0;
54 #endif // FLUTTER_IMPELLER_PLAYGROUND_PLAYGROUND_IMPL_H_
virtual Playground::GLProcAddressResolver CreateGLProcAddressResolver() const
virtual std::shared_ptr< Context > GetContext() const =0
virtual ~PlaygroundImpl()
Vector2 GetContentScale() const
static std::unique_ptr< PlaygroundImpl > Create(PlaygroundBackend backend, PlaygroundSwitches switches)
const PlaygroundSwitches switches_
virtual WindowHandle GetWindowHandle() const =0
virtual fml::Status SetCapabilities(const std::shared_ptr< Capabilities > &capabilities)=0
virtual std::unique_ptr< Surface > AcquireSurfaceFrame(std::shared_ptr< Context > context)=0
std::function< void *(const char *proc_name)> GLProcAddressResolver
PlaygroundImpl(PlaygroundSwitches switches)