Changeset 2ab8ab3 in mainline for uspace/lib/ipcgfx/src/server.c


Ignore:
Timestamp:
2021-02-16T18:12:05Z (4 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
68a552f
Parents:
ef734b7
Message:

Client-side UI rendering

It is possible to turn on and off and if turned on, one can also
enable or disable window double buffering (currently both options
are build-time).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ipcgfx/src/server.c

    ref734b7 r2ab8ab3  
    11/*
    2  * Copyright (c) 2019 Jiri Svoboda
     2 * Copyright (c) 2021 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    8686}
    8787
     88static void gc_update_srv(ipc_gc_srv_t *srvgc, ipc_call_t *call)
     89{
     90        errno_t rc;
     91
     92        rc = gfx_update(srvgc->gc);
     93        async_answer_0(call, rc);
     94}
     95
    8896static void gc_bitmap_create_srv(ipc_gc_srv_t *srvgc, ipc_call_t *icall)
    8997{
     
    358366                case GC_FILL_RECT:
    359367                        gc_fill_rect_srv(&srvgc, &call);
     368                        break;
     369                case GC_UPDATE:
     370                        gc_update_srv(&srvgc, &call);
    360371                        break;
    361372                case GC_BITMAP_CREATE:
Note: See TracChangeset for help on using the changeset viewer.