diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2020-02-24 10:57:05 +0000 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2020-02-24 10:57:05 +0000 |
commit | 9672c46b1a3ecf2a0c32445f1c1d17f15fd20bb5 (patch) | |
tree | 9ea21bc86c668dfda63a3fe4fa4c26b25cee428c /include/libnsfb.h | |
parent | 1440a3a8cb8b44c4d762758c20b1fc31653ff187 (diff) | |
download | libnsfb-9672c46b1a3ecf2a0c32445f1c1d17f15fd20bb5.tar.gz libnsfb-9672c46b1a3ecf2a0c32445f1c1d17f15fd20bb5.tar.bz2 |
surface: Reorder surface types by usefulness
In order to allow client applications to decide which surface
to default to, order the types by usefulness to a typical user.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Diffstat (limited to 'include/libnsfb.h')
-rw-r--r-- | include/libnsfb.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/libnsfb.h b/include/libnsfb.h index d52d821..674df65 100644 --- a/include/libnsfb.h +++ b/include/libnsfb.h @@ -35,13 +35,14 @@ typedef struct nsfb_bbox_s { /** The type of framebuffer surface. */ enum nsfb_type_e { NSFB_SURFACE_NONE = 0, /**< No surface */ - NSFB_SURFACE_RAM, /**< RAM surface */ NSFB_SURFACE_SDL, /**< SDL surface */ - NSFB_SURFACE_LINUX, /**< Linux framebuffer surface */ + NSFB_SURFACE_X, /**< X windows surface */ + NSFB_SURFACE_WL, /**< Wayland surface */ NSFB_SURFACE_VNC, /**< VNC surface */ + NSFB_SURFACE_LINUX, /**< Linux framebuffer surface */ NSFB_SURFACE_ABLE, /**< ABLE framebuffer surface */ - NSFB_SURFACE_X, /**< X windows surface */ - NSFB_SURFACE_WL /**< Wayland surface */ + NSFB_SURFACE_RAM, /**< RAM surface */ + NSFB_SURFACE_COUNT, /**< The number of surface kinds */ }; enum nsfb_format_e { |