]> git.proxmox.com Git - qemu.git/commit - include/ui/console.h
console: add surface_*() getters
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 28 Feb 2013 14:24:14 +0000 (15:24 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 18 Mar 2013 09:21:58 +0000 (10:21 +0100)
commit626e3b34e30bc62d4f25f7aa4e23a346eba1a2c0
treeaa9a9c5e75e9ef934a4fe297dc31347bf3b49775
parentc12aeb860c63ba83190f962e2f0a1c5fe18ad3a6
console: add surface_*() getters

Add convinence wrappers to query DisplaySurface properties.
Simliar to ds_get_*, but operating in the DisplaySurface
not the DisplayState.

With this patch in place ui frontents can stop using DisplayState
in the rendering code paths, they can simply operate using the
DisplaySurface passed in via dpy_gfx_switch callback.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
include/ui/console.h