RfC: rework display initialization
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest24 patches 11 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/24 | sdl: remove -no-frame supportinclude/ ui/ ui/ +1 more | +8 | 4 replies | |
| 2/24 | sdl: remove -alt-grab and -ctrl-grab supportui/ ui/ vl.c | +10 | 2 replies | |
| 3/24 | sdl: use ctrl-alt-g as grab hotkeyui/ ui/ | +20 | 0 replies | |
| 4/24 | vl: rename DisplayType to LegacyDisplayTypevl.c | +5 | 0 replies | |
| 5/24 | gtk: add and use DisplayOptions + DisplayGTKinclude/ qapi/ ui/ +1 more | +84 | 0 replies | |
| 6/24 | sdl: use DisplayOptionsinclude/ qapi/ ui/ +2 more | +50 | 0 replies | |
| 7/24 | vl: drop no_quit variablevl.c | +2 | 0 replies | |
| 8/24 | egl-headless: use DisplayOptionsinclude/ qapi/ ui/ +1 more | +7 | 0 replies | |
| 9/24 | curses: use DisplayOptionsinclude/ qapi/ ui/ +1 more | +9 | 0 replies | |
| 10/24 | cocoa: use DisplayOptionsinclude/ qapi/ ui/ +1 more | +10 | 0 replies | |
| 11/24 | vl: drop full_screen variablevl.c | +0 | 0 replies | |
| 12/24 | vl: drop display_type variablevl.c | +13 | 0 replies | |
| 13/24 | vl: drop request_opengl variablevl.c | +1 | 0 replies | |
| 14/24 | console: add qemu display registry, add gtkinclude/ ui/ ui/ +1 more | +67 | 0 replies | |
| 15/24 | sdl: hook up to display registryinclude/ ui/ ui/ +1 more | +29 | 0 replies | |
| 16/24 | cocoa: hook up to display registryinclude/ ui/ vl.c | +13 | 0 replies | |
| 17/24 | curses: hook up to display registryinclude/ ui/ vl.c | +15 | 0 replies | |
| 18/24 | egl-headless: hook up to display registryinclude/ ui/ vl.c | +19 | 0 replies | |
| 19/24 | console: add and use qemu_display_find_defaultinclude/ ui/ vl.c | +25 | 5 replies | |
| 20/24 | console: add ui module loading supportinclude/ ui/ | +7 | 0 replies | |
| 21/24 | sdl: build as moduleMakefile.objs configure ui/ | +5 | 0 replies | |
| 22/24 | gtk: build as moduleconfigure ui/ | +10 | 0 replies | |
| 23/24 | curses: build as moduleconfigure ui/ | +8 | 0 replies | |
| 24/24 | build: opengl should not need X11configure | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Qemu-devel] [PATCH 00/24] RfC: rework display initialization
Hi,
This series reworks the qemu display initialization. Changes:
* Create a QAPI DisplayOptions type for display configuration.
* Switch all display initialization calls to accept DisplayOptions instead of a bunch of bools.
* Add a registry for displays, and remove alot of #ifdefs from vl.c
* Build sdl, gtk and curses as modules.
For now I'm looking for comments especially on the DisplayOptions QAPI type. Is there a more elegant way than the empty DisplayNoOpts struct (see patch #5)?
cheers,
Gerd
Gerd Hoffmann (24):
sdl: remove -no-frame support
sdl: remove -alt-grab and -ctrl-grab support
sdl: use ctrl-alt-g as grab hotkey
vl: rename DisplayType to LegacyDisplayType
gtk: add and use DisplayOptions + DisplayGTK
sdl: use DisplayOptions
vl: drop no_quit variable
egl-headless: use DisplayOptions
curses: use DisplayOptions
cocoa: use DisplayOptions
vl: drop full_screen variable
vl: drop display_type variable
vl: drop request_opengl variable
console: add qemu display registry, add gtk
sdl: hook up to display registry
cocoa: hook up to display registry
curses: hook up to display registry
egl-headless: hook up to display registry
console: add and use qemu_display_find_default
console: add ui module loading support
sdl: build as module
gtk: build as module
curses: build as module
build: opengl should not need X11
configure | 17 +++-- Makefile.objs | 1 + include/qemu/module.h | 1 + include/ui/console.h | 77 +++------------------ ui/console.c | 59 ++++++++++++++++ ui/curses.c | 14 +++- ui/egl-headless.c | 20 +++++- ui/gtk.c | 45 ++++++++---- ui/sdl.c | 89 ++++++++++-------------- ui/sdl2.c | 92 ++++++++++++------------- vl.c | 186 +++++++++++++------------------------------------- qapi/ui.json | 49 +++++++++++++ ui/Makefile.objs | 26 ++++--- ui/cocoa.m | 16 ++++- 14 files changed, 348 insertions(+), 344 deletions(-)
Signature · 1 line
2.9.3