From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40215) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b4prQ-0002Wc-IR for qemu-devel@nongnu.org; Mon, 23 May 2016 09:25:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b4prK-0004UF-VG for qemu-devel@nongnu.org; Mon, 23 May 2016 09:25:31 -0400 Received: from mx1.redhat.com ([209.132.183.28]:38645) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b4prK-0004U7-Pa for qemu-devel@nongnu.org; Mon, 23 May 2016 09:25:26 -0400 Message-ID: <1464009924.29367.20.camel@redhat.com> From: Gerd Hoffmann Date: Mon, 23 May 2016 15:25:24 +0200 In-Reply-To: <20160517072848.4540.34695.stgit@PASHA-ISP> References: <20160517072848.4540.34695.stgit@PASHA-ISP> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] SDL2: add bgrx pixel format List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Pavel Dovgalyuk Cc: qemu-devel@nongnu.org, pbonzini@redhat.com On Di, 2016-05-17 at 10:28 +0300, Pavel Dovgalyuk wrote: > This patch adds support of b8g8r8x8 pixel format for SDL2. >=20 > Signed-off-by: Pavel Dovgalyuk > --- > ui/sdl2-2d.c | 3 +++ > 1 file changed, 3 insertions(+) >=20 > diff --git a/ui/sdl2-2d.c b/ui/sdl2-2d.c > index 9593006..8ab68d6 100644 > --- a/ui/sdl2-2d.c > +++ b/ui/sdl2-2d.c > @@ -116,6 +116,9 @@ void sdl2_2d_switch(DisplayChangeListener *dcl, > case PIXMAN_r8g8b8x8: > format =3D SDL_PIXELFORMAT_RGBA8888; > break; > + case PIXMAN_b8g8r8x8: > + format =3D SDL_PIXELFORMAT_BGRX8888; > + break; > default: > g_assert_not_reached(); > } >=20 added to ui patche queue. thanks, Gerd