|
fennec
|
Interface resembling the API for a display server of an operating system, e.g. Linux X11/Wayland. More...
#include <display_server.h>
Inherits fennec::type_registry< BaseT, ArgsT >.
Inherited by fennec::display_server_base< wayland_server, wayland_window >, and fennec::display_server_base< DisplayT, WindowT >.
An implementation for a display server should inherit display_server_base and note the following:
For a server type `DisplayT`; any `gfxcontext` implementation that wishes to implement `DisplayT`
must provide a constructor that accepts a `DisplayT*`. `DisplayT::ctx_registry::register_type` must then be
called for the `gfxcontext` implementation.