Changeset 8ce56a6 in mainline for uspace/lib/memgfx/test/main.c


Ignore:
Timestamp:
2021-09-07T08:53:42Z (2 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ebb3538
Parents:
a0aeb8f
git-author:
Jiri Svoboda <jiri@…> (2021-09-06 17:53:32)
git-committer:
Jiri Svoboda <jiri@…> (2021-09-07 08:53:42)
Message:

Translate window rendering in console/SSR with translation GC

In full-screen mode (such as text/console) and server-side rendering
we need other mechanism than memory GC to translate the coordinates
while rendering. We use a translation GC (xlategc).

Note the extensively elaborate testing of this very simple GC seems
quite overboard. At least the very elaborate test_gc_t could be hoisted
into a library and used wherever a test GC is required.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/memgfx/test/main.c

    ra0aeb8f r8ce56a6  
    11/*
    2  * Copyright (c) 2020 Jiri Svoboda
     2 * Copyright (c) 2021 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    3232
    3333PCUT_IMPORT(memgfx);
     34PCUT_IMPORT(xlategc);
    3435
    3536PCUT_MAIN();
Note: See TracChangeset for help on using the changeset viewer.