Changeset 2ab8ab3 in mainline for uspace/lib/ipcgfx/src/client.c
- Timestamp:
- 2021-02-16T18:12:05Z (4 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 68a552f
- Parents:
- ef734b7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ipcgfx/src/client.c
ref734b7 r2ab8ab3 1 1 /* 2 * Copyright (c) 20 19Jiri Svoboda2 * Copyright (c) 2021 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 47 47 static errno_t ipc_gc_set_color(void *, gfx_color_t *); 48 48 static errno_t ipc_gc_fill_rect(void *, gfx_rect_t *); 49 static errno_t ipc_gc_update(void *); 49 50 static errno_t ipc_gc_bitmap_create(void *, gfx_bitmap_params_t *, 50 51 gfx_bitmap_alloc_t *, void **); … … 56 57 .set_color = ipc_gc_set_color, 57 58 .fill_rect = ipc_gc_fill_rect, 59 .update = ipc_gc_update, 58 60 .bitmap_create = ipc_gc_bitmap_create, 59 61 .bitmap_destroy = ipc_gc_bitmap_destroy, … … 103 105 rc = async_req_4_0(exch, GC_FILL_RECT, rect->p0.x, rect->p0.y, 104 106 rect->p1.x, rect->p1.y); 107 async_exchange_end(exch); 108 109 return rc; 110 } 111 112 /** Update display on IPC GC. 113 * 114 * @param arg IPC GC 115 * 116 * @return EOK on success or an error code 117 */ 118 static errno_t ipc_gc_update(void *arg) 119 { 120 ipc_gc_t *ipcgc = (ipc_gc_t *) arg; 121 async_exch_t *exch; 122 errno_t rc; 123 124 exch = async_exchange_begin(ipcgc->sess); 125 rc = async_req_0_0(exch, GC_UPDATE); 105 126 async_exchange_end(exch); 106 127
Note:
See TracChangeset
for help on using the changeset viewer.