5 #ifndef FLUTTER_IMPELLER_TOOLKIT_INTEROP_SURFACE_H_
6 #define FLUTTER_IMPELLER_TOOLKIT_INTEROP_SURFACE_H_
19 :
public Object<Surface, IMPELLER_INTERNAL_HANDLE_NAME(ImpellerSurface)> {
27 std::shared_ptr<impeller::Surface> surface);
41 std::shared_ptr<impeller::Surface> surface_;
42 bool is_valid_ =
false;
Surface & operator=(const Surface &)=delete
Surface(Context &context, std::shared_ptr< impeller::Surface > surface)
static ScopedObject< Surface > WrapFBO(Context &context, uint64_t fbo, PixelFormat color_format, ISize size)
bool DrawDisplayList(const DisplayList &dl) const
Surface(const Surface &)=delete
PixelFormat
The Pixel formats supported by Impeller. The naming convention denotes the usage of the component,...