Changeset 8aef01c in mainline for uspace/srv/hid/display/test/cursor.c


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/test/cursor.c

    r6301a24f r8aef01c  
    7171        errno_t rc;
    7272
    73         rc = ds_display_create(NULL, &disp);
     73        rc = ds_display_create(NULL, df_none, &disp);
    7474        PCUT_ASSERT_ERRNO_VAL(EOK, rc);
    7575
     
    9797        PCUT_ASSERT_ERRNO_VAL(EOK, rc);
    9898
    99         rc = ds_display_create(gc, &disp);
     99        rc = ds_display_create(gc, df_none, &disp);
    100100        PCUT_ASSERT_ERRNO_VAL(EOK, rc);
    101101
     
    130130        errno_t rc;
    131131
    132         rc = ds_display_create(NULL, &disp);
     132        rc = ds_display_create(NULL, df_none, &disp);
    133133        PCUT_ASSERT_ERRNO_VAL(EOK, rc);
    134134
Note: See TracChangeset for help on using the changeset viewer.