Changeset 0b63dc2 in mainline for uspace/lib/ddev/test/ddev.c


Ignore:
Timestamp:
2019-12-07T20:26:28Z (4 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
df1a019
Parents:
71cbe5c
Message:

Switch compositor → display server

Convert KFB from visualizer to display device interface. Add ability
of display device implementor to provide client with arg2, arg3 needed
to connect to GC.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ddev/test/ddev.c

    r71cbe5c r0b63dc2  
    4848static void test_ddev_conn(ipc_call_t *, void *);
    4949
    50 static errno_t test_get_gc(void *, gfx_context_t **);
     50static errno_t test_get_gc(void *, sysarg_t *, sysarg_t *);
    5151static errno_t test_gc_set_color(void *, gfx_color_t *);
    5252
     
    215215}
    216216
    217 static errno_t test_get_gc(void *arg, gfx_context_t **rgc)
    218 {
    219         *rgc = NULL;
    220         return ENOTSUP;
     217static errno_t test_get_gc(void *arg, sysarg_t *arg2, sysarg_t *arg3)
     218{
     219        *arg2 = 0;
     220        *arg3 = 42;
     221        return EOK;
    221222}
    222223
Note: See TracChangeset for help on using the changeset viewer.