Changeset 5271e4c in mainline for uspace/lib/gfx/src/bitmap.c


Ignore:
Timestamp:
2020-06-22T12:20:42Z (4 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
195b7b3
Parents:
66a408f7
git-author:
Jiri Svoboda <jiri@…> (2020-06-21 15:20:18)
git-committer:
Jiri Svoboda <jiri@…> (2020-06-22 12:20:42)
Message:

Duplicate rendering to additional output devices using a cloning GC

This gives the display server a pretty good illusion of rendering to just
one output device, while supporting multiple. This makes RFB work properly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/gfx/src/bitmap.c

    r66a408f7 r5271e4c  
    7777
    7878        rc = gc->ops->bitmap_create(gc->arg, params, alloc, &bm_priv);
    79         if (rc != EOK)
     79        if (rc != EOK) {
     80                free(bitmap);
    8081                return rc;
     82        }
    8183
    8284        bitmap->gc = gc;
Note: See TracChangeset for help on using the changeset viewer.