console: add dpy_gl_scanout_disable
commiteaa92c76ce65cd6a2da82839af2701030e97b37e
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 21 Feb 2017 09:37:17 +0000 (21 10:37 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 27 Feb 2017 15:15:28 +0000 (27 16:15 +0100)
treec6cafa5b951113095ab99269d6fb4ced4019de70
parentf4c36bdab6a1ec1cfe6508e27c9c60a802b5d084
console: add dpy_gl_scanout_disable

Helper function (and DisplayChangeListenerOps ptr) to disable scanouts.
Replaces using dpy_gl_scanout_texture with 0x0 size and no texture
specified.

Allows cleanups to make the io and gfx emulation code more readable.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-id: 1487669841-13668-3-git-send-email-kraxel@redhat.com
include/ui/console.h
ui/console.c