|
| MemoryScreen (const Size &size=Size(800, 480)) |
|
virtual void | save_to_file (const std::string &filename) const |
|
void | schedule_flip () override |
| Schedule a flip to occur later.
|
|
| Screen () noexcept |
|
| Screen (const Screen &)=default |
|
| Screen (Screen &&) noexcept=default |
|
virtual | ~Screen () noexcept=default |
|
void | async_flip (bool async) |
| Set if asynchronous buffer flips are used.
|
|
EGT_NODISCARD Rect | box () const |
| Bounding box for the screen.
|
|
virtual EGT_NODISCARD size_t | brightness () const |
| Get the current brightness of the screen.
|
|
virtual void | brightness (size_t brightness) |
| Set the brightness of the screen.
|
|
EGT_NODISCARD shared_cairo_t | context () const |
| Get the context for the screen.
|
|
virtual void | flip (const DamageArray &damage) |
| Perform a flip of the buffers.
|
|
EGT_NODISCARD PixelFormat | format () const |
| Get the format of the screen.
|
|
virtual EGT_NODISCARD bool | have_planes () const |
| Returns true if the screen supports planes.
|
|
virtual void | high_fidelity () |
| Configure high fidelity options.
|
|
virtual uint32_t | index () |
| If the screen implementation manages multiple buffers, this will return the index of the current buffer.
|
|
virtual EGT_NODISCARD bool | is_composer () const |
| Returns true if this is a screen used with the Microchip Graphic Composer.
|
|
virtual void | low_fidelity () |
| Configure low fidelity options.
|
|
virtual EGT_NODISCARD size_t | max_brightness () const |
| Get the max brightness of the screen.
|
|
Screen & | operator= (const Screen &)=default |
|
Screen & | operator= (Screen &&) noexcept=default |
|
EGT_NODISCARD Size | size () const |
| Size of the screen.
|
|
Screen in an in-memory buffer.