[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 2/8] console: add state notifiers for ui<->displ
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] [PATCH 2/8] console: add state notifiers for ui<->display |
Date: |
Wed, 20 Nov 2013 12:04:13 +0100 |
On Mi, 2013-11-20 at 15:52 +1000, Dave Airlie wrote:
> From: Dave Airlie <address@hidden>
>
> These are to be used for the UI to signal the video display,
> and vice-versa about changes in the state of a console, like
> size and offsets in relation to other consoles for input handling.
See other mail from today morning. I think this is input layer's job,
not ui code job. Storing the info in QemuConsole is fine. Having a
QemuHeadInfo struct for it is probably useful, so the input layer can
query it easily, say using a to-be-written qemu_console_get_head_info()
function which returns a ptr to the struct.
Notification should also go to the input layer not ui code. Or maybe
use a notifier list (see include/qemu/notify.h) so anyone interested can
listen, ui code might want to know too (not for input processing, but
maybe to arrange window on the host).
cheers,
Gerd
- [Qemu-devel] [RFC] virtio-gpu and sdl2 so far, Dave Airlie, 2013/11/20
- [Qemu-devel] [PATCH 1/8] ui/sdl2 : initial port to SDL 2.0 (v1.2), Dave Airlie, 2013/11/20
- [Qemu-devel] [PATCH 2/8] console: add state notifiers for ui<->display, Dave Airlie, 2013/11/20
- Re: [Qemu-devel] [PATCH 2/8] console: add state notifiers for ui<->display,
Gerd Hoffmann <=
- [Qemu-devel] [PATCH 4/8] console: add ability to wrap a console., Dave Airlie, 2013/11/20
- [Qemu-devel] [PATCH 3/8] console: add information retrival wrappers, Dave Airlie, 2013/11/20
- [Qemu-devel] [PATCH 5/8] sdl2: update for multihead support., Dave Airlie, 2013/11/20
- [Qemu-devel] [PATCH 6/8] virtio-gpu: v0.1 of the virtio based GPU code., Dave Airlie, 2013/11/20
- [Qemu-devel] [PATCH 7/8] virtio-vga: v1, Dave Airlie, 2013/11/20