Changeset 7dba813 in mainline for uspace/drv


Ignore:
Timestamp:
2012-11-22T09:03:39Z (13 years ago)
Author:
Petr Koupy <petr.koupy@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ba733e83
Parents:
8e6ec6e
Message:

Resolved Ticket #485 (Desktop is slow). GUI is usable in Qemu/non-KVM as long as windows are not transparent, rotated or scaled (i.e. if user limits himself only to translation and resizing).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/fb/kfb/port.c

    r8e6ec6e r7dba813  
    163163                /* Faster damage routine ignoring offsets. */
    164164                for (sysarg_t y = y0; y < height + y0; ++y) {
     165                        pixel_t *pixel = pixelmap_pixel_at(map, x0, y);
    165166                        for (sysarg_t x = x0; x < width + x0; ++x) {
    166                                 kfb.pixel2visual(kfb.addr + FB_POS(x, y),
    167                                     *pixelmap_pixel_at(map, x, y));
     167                                kfb.pixel2visual(kfb.addr + FB_POS(x, y), *pixel++);
    168168                        }
    169169                }
Note: See TracChangeset for help on using the changeset viewer.