Changeset d8e2485 in mainline


Ignore:
Timestamp:
2020-05-27T10:31:22Z (4 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
cea9f0c
Parents:
5f483be
git-author:
Jiri Svoboda <jiri@…> (2020-05-26 17:31:07)
git-committer:
Jiri Svoboda <jiri@…> (2020-05-27 10:31:22)
Message:

Library with memory-backed GC (a.k.a. software renderer)

There are a few current cases where we can use this common implementation
instead of re-implementing it every time (e.g. window GC, RFB,
Canvas GC) as well as future ones.

Location:
uspace/lib
Files:
8 added
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/guigfx/private/canvas.h

    r5f483be rd8e2485  
    4545#include <io/pixel.h>
    4646
    47 /** Actual structure of graphics context.
    48  *
    49  * This is private to libguigfx. It is not visible to clients nor backends.
    50  */
     47/** Actual structure of canvas GC. */
    5148struct canvas_gc {
    5249        /** Base graphic context */
  • uspace/lib/guigfx/src/canvas.c

    r5f483be rd8e2485  
    114114 * Create graphics context for rendering into a canvas.
    115115 *
    116  * @param con Canvas object
     116 * @param canvas Canvas object
    117117 * @param fout File to which characters are written (canvas)
    118118 * @param rgc Place to store pointer to new GC.
  • uspace/lib/meson.build

    r5f483be rd8e2485  
    8282        'hound',
    8383        'ipcgfx',
     84        'memgfx',
    8485        'nic',
    8586        'usb',
Note: See TracChangeset for help on using the changeset viewer.