Skip to content

sdl2: fixes, cleanups and opengl preparation.

Gerd Hoffmann qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest10 patches 3 repliesIn review
  2. v110 patches 15 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10sdl: move version logic from source code to makefileui/Makefile.objs ui/sdl.c ui/sdl2.c+6 -70 replies
2/10sdl2: rename sdl2_state to sdl2_console, move to header fileinclude/ui/sdl2.h ui/sdl2.c+43 -361 reply
3/10sdl2: move keyboard input code to new sdl2-input.cinclude/ui/sdl2.h ui/Makefile.objs ui/sdl2-input.c +1 more+114 -731 reply
4/10sdl2: turn on keyboard grabsui/sdl2.c+4 -31 reply
5/10sdl2: move sdl_update to new sdl2-2d.cinclude/ui/sdl2.h ui/Makefile.objs ui/sdl2-2d.c +1 more+70 -310 replies
6/10sdl2: overhaul window size handlingui/sdl2.c+79 -930 replies
7/10sdl2: move sdl_switch to sdl2-2d.cinclude/ui/sdl2.h ui/sdl2-2d.c ui/sdl2.c+52 -460 replies
8/10sdl2: add+use sdl2_2d_redraw function.include/ui/sdl2.h ui/sdl2-2d.c ui/sdl2.c+18 -110 replies
9/10sdl2: factor out sdl2_poll_eventsinclude/ui/sdl2.h ui/sdl2.c+14 -100 replies
10/10sdl2: move sdl2_2d_refresh to sdl2-2d.cinclude/ui/sdl2.h ui/sdl2-2d.c ui/sdl2.c+10 -90 replies

Reviews trailers per patch

All 10 patches have a Reviewed-by or Acked-by.

PatchMax Reitz
1/10R-b
2/10R-b
3/10R-b
4/10R-b
5/10R-b
6/10R-b
7/10R-b
8/10R-b
9/10R-b
10/10R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 00/10] sdl2: fixes, cleanups and opengl preparation.

Hi,

Fixed up some issues pointed out by Max Reitz, also added revieed-by tags. /me plans to send a pull for this (plus the two fixes from max) before xmas, the sdl opengl bits have to wait until next year.

please review,
Gerd

Gerd Hoffmann (10):
sdl: move version logic from source code to makefile
sdl2: rename sdl2_state to sdl2_console, move to header file
sdl2: move keyboard input code to new sdl2-input.c
sdl2: turn on keyboard grabs
sdl2: move sdl_update to new sdl2-2d.c
sdl2: overhaul window size handling
sdl2: move sdl_switch to sdl2-2d.c
sdl2: add+use sdl2_2d_redraw function.
sdl2: factor out sdl2_poll_events
sdl2: move sdl2_2d_refresh to sdl2-2d.c

 include/ui/sdl2.h |  32 ++++++
 ui/Makefile.objs  |   7 +-
 ui/sdl.c          |   3 -
 ui/sdl2-2d.c      | 122 ++++++++++++++++++++
 ui/sdl2-input.c   | 106 +++++++++++++++++
 ui/sdl2.c         | 333 +++++++++++++-----------------------------------------
 6 files changed, 347 insertions(+), 256 deletions(-)
 create mode 100644 include/ui/sdl2.h
 create mode 100644 ui/sdl2-2d.c
 create mode 100644 ui/sdl2-input.c
Signature · 1 line
1.8.3.1