From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53639) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xz1Jc-0000Bg-FO for qemu-devel@nongnu.org; Thu, 11 Dec 2014 05:49:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xz1JW-0007QP-AS for qemu-devel@nongnu.org; Thu, 11 Dec 2014 05:49:48 -0500 Received: from mx1.redhat.com ([209.132.183.28]:52807) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xz1JW-0007Q9-2U for qemu-devel@nongnu.org; Thu, 11 Dec 2014 05:49:42 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id sBBAneBO016520 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Thu, 11 Dec 2014 05:49:40 -0500 From: Gerd Hoffmann Date: Thu, 11 Dec 2014 11:49:23 +0100 Message-Id: <1418294973-21790-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 00/10] sdl2: fixes, cleanups and opengl preparation. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann Hi, This patch series is a brings a bunch of fixes and inprovements to the sdl2 ui code. Proper window scaling and working keyboard grabs are the most noteworthy ones. It also reorganizes the code in preparation for adding opengl support to sdl2. 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 | 27 +++++ ui/Makefile.objs | 7 +- ui/sdl.c | 3 - ui/sdl2-2d.c | 123 ++++++++++++++++++++ ui/sdl2-input.c | 106 +++++++++++++++++ ui/sdl2.c | 333 +++++++++++++----------------------------------------- 6 files changed, 343 insertions(+), 256 deletions(-) create mode 100644 include/ui/sdl2.h create mode 100644 ui/sdl2-2d.c create mode 100644 ui/sdl2-input.c -- 1.8.3.1