summaryrefslogtreecommitdiffstats
path: root/ui/sdl2-2d.c
Commit message (Collapse)AuthorAgeFilesLines
* ui/sdl2: Support shared surface for more pixman formatsGerd Hoffmann2015-01-191-0/+13
| | | | Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* sdl2: move sdl2_2d_refresh to sdl2-2d.cGerd Hoffmann2014-12-171-0/+8
| | | | | | | | Now that common event handling code is split off, we can move over sdl_refresh to sdl2-2d.c, and rename it to sdl2_2d_refresh. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com>
* sdl2: add+use sdl2_2d_redraw function.Gerd Hoffmann2014-12-171-0/+11
| | | | | | | | | | Add a new sdl2_2d_redraw function for a complete screen refresh, so we can stop using graphic_hw_invalidate for that. There is no need to bother console / gfx emulation code if we are just going to re-blit the screen after window resizes. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com>
* sdl2: move sdl_switch to sdl2-2d.cGerd Hoffmann2014-12-171-0/+42
| | | | | | | Move sdl_switch to sdl2-2d.c file, rename to sdl2_2d_switch. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com>
* sdl2: move sdl_update to new sdl2-2d.cGerd Hoffmann2014-12-171-0/+61
Create new sdl2-2d file for 2d display rendering. Move over sdl_update code, and rename to sdl2_2d_update. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com>
OpenPOWER on IntegriCloud