Changeset 2ab8ab3 in mainline for uspace/lib/gfx/src/render.c


Ignore:
Timestamp:
2021-02-16T18:12:05Z (3 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/gfx/src/render.c

    ref734b7 r2ab8ab3  
    11/*
    2  * Copyright (c) 2019 Jiri Svoboda
     2 * Copyright (c) 2021 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    6363}
    6464
     65/** Update display.
     66 *
     67 * Finish any deferred rendering.
     68 *
     69 * @param gc Graphic context
     70 *
     71 * @return EOK on success, ENOMEM if insufficient resources,
     72 *         EIO if grahic device connection was lost
     73 */
     74errno_t gfx_update(gfx_context_t *gc)
     75{
     76        return gc->ops->update(gc->arg);
     77}
     78
    6579/** @}
    6680 */
Note: See TracChangeset for help on using the changeset viewer.