A rendering surface that accepts rendering intent but does not render anything. More...
#include <gpu_surface_noop.h>
Public Member Functions | |
| GPUSurfaceNoop () | |
| ~GPUSurfaceNoop () | |
| bool | IsValid () override |
| Surface::SurfaceData | GetSurfaceData () const override |
Public Member Functions inherited from flutter::Surface | |
| Surface () | |
| virtual | ~Surface () |
| virtual bool | ClearRenderContext () |
A rendering surface that accepts rendering intent but does not render anything.
This is useful for running on platforms that need an engine instance and don't have the required drivers.
Definition at line 19 of file gpu_surface_noop.h.
|
explicitdefault |
|
default |
|
overridevirtual |
Capture the SurfaceData currently present in the surface.
Not guaranteed to work on all setups and not intended to be used in production. The data field will be null if it was unable to work.
Reimplemented from flutter::Surface.
Definition at line 29 of file gpu_surface_noop.mm.
|
overridevirtual |
Implements flutter::Surface.
Definition at line 25 of file gpu_surface_noop.mm.