Changeset 6aeca0d in mainline for uspace/lib/draw/surface.c


Ignore:
Timestamp:
2016-08-28T11:27:42Z (8 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f2c3fed
Parents:
1e5d01b
Message:

Make as_area_create() accept phone to external pager

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/draw/surface.c

    r1e5d01b r6aeca0d  
    6464        if (!pixbuf) {
    6565                if ((flags & SURFACE_FLAG_SHARED) == SURFACE_FLAG_SHARED) {
    66                         pixbuf = (pixel_t *) as_area_create(AS_AREA_ANY, pixbuf_size,
    67                             AS_AREA_READ | AS_AREA_WRITE | AS_AREA_CACHEABLE);
     66                        pixbuf = (pixel_t *) as_area_create(AS_AREA_ANY,
     67                            pixbuf_size,
     68                            AS_AREA_READ | AS_AREA_WRITE | AS_AREA_CACHEABLE,
     69                            AS_AREA_UNPAGED);
    6870                        if (pixbuf == AS_MAP_FAILED) {
    6971                                free(surface);
Note: See TracChangeset for help on using the changeset viewer.