Changeset 8aef01c in mainline for uspace/srv/hid/display/display.h


Ignore:
Timestamp:
2020-06-07T10:18:14Z (4 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a65b0c8
Parents:
6301a24f
git-author:
Jiri Svoboda <jiri@…> (2020-06-07 10:11:32)
git-committer:
Jiri Svoboda <jiri@…> (2020-06-07 10:18:14)
Message:

Configurable display double-buffering

On by default (since turning off creates flicker in the absence of
front-to-back rendering). This is the quick and dirty way: display
server renders locally to a bitmap (using mem GC) and renders the
bitmap when ready.

The more sophisticated way would be to implement buffering in the
display device. That would require, however, enhancing the protocols
to communicate frame boundaries.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/display/display.h

    r6301a24f r8aef01c  
    4949#include "types/display/seat.h"
    5050
    51 extern errno_t ds_display_create(gfx_context_t *, ds_display_t **);
     51extern errno_t ds_display_create(gfx_context_t *, ds_display_flags_t,
     52    ds_display_t **);
    5253extern void ds_display_destroy(ds_display_t *);
    5354extern void ds_display_lock(ds_display_t *);
     
    7273extern ds_seat_t *ds_display_first_seat(ds_display_t *);
    7374extern ds_seat_t *ds_display_next_seat(ds_seat_t *);
    74 extern void ds_display_add_ddev(ds_display_t *, ds_ddev_t *);
     75extern errno_t ds_display_add_ddev(ds_display_t *, ds_ddev_t *);
    7576extern void ds_display_remove_ddev(ds_ddev_t *);
    7677extern ds_ddev_t *ds_display_first_ddev(ds_display_t *);
Note: See TracChangeset for help on using the changeset viewer.