sm501: Optimize small overlapping blits
commitfa70c2871f011f1ca6763a21a291f2ced1f121d2
authorBALATON Zoltan <balaton@eik.bme.hu>
Thu, 21 May 2020 19:39:44 +0000 (21 21:39 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 28 May 2020 09:38:57 +0000 (28 11:38 +0200)
treec998dd668681022819b0930e3e239886d9dfeb5b
parentb15a22bbcbe6a78dc3d88fe3134985e4cdd87de4
sm501: Optimize small overlapping blits

AmigaOS tends to do a lot of small blits (even 1 pixel). Avoid malloc
overhead by keeping around a buffer for this and only alloc when
blitting larger areas.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Message-id: 7946852258d528497e85f465327fc90b5c3b59fb.1590089984.git.balaton@eik.bme.hu
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/display/sm501.c