sdl2/opengl: add opengl context and scanout support
commitcb47dc9ab9f55083017291b2b8fbae639c576ec2
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 19 Nov 2014 13:56:46 +0000 (19 14:56 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 8 Jan 2016 11:20:15 +0000 (8 12:20 +0100)
tree471fa94f134c554cd757926948e5d47297806adb
parent4083733db5e4120939acee57019ff52db1f45b9d
sdl2/opengl: add opengl context and scanout support

This allows virtio-gpu to render in 3d mode.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
include/ui/sdl2.h
ui/sdl2-gl.c
ui/sdl2.c