Changeset 2ab8ab3 in mainline for uspace/lib/ui/private/window.h


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/ui/private/window.h

    ref734b7 r2ab8ab3  
    11/*
    2  * Copyright (c) 2020 Jiri Svoboda
     2 * Copyright (c) 2021 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    6060        /** Window GC */
    6161        gfx_context_t *gc;
     62        /** Window bitmap (if client-side rendering) */
     63        gfx_bitmap_t *bmp;
     64        /** Window memory GC (if client-side rendering) */
     65        mem_gc_t *mgc;
     66        /** Real window GC (if client-side rendering) */
     67        gfx_context_t *realgc;
    6268        /** Window rectangle */
    6369        gfx_rect_t rect;
     
    6874        /** Application area GC */
    6975        gfx_context_t *app_gc;
     76        /** Dirty rectangle */
     77        gfx_rect_t dirty_rect;
    7078        /** UI resource. Ideally this would be in ui_t. */
    7179        struct ui_resource *res;
Note: See TracChangeset for help on using the changeset viewer.