[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [Bug 1581796] Re: console-gl.c:96:surface_gl_create_texture
From: |
T. Huth |
Subject: |
[Qemu-devel] [Bug 1581796] Re: console-gl.c:96:surface_gl_create_texture:code should not be reached |
Date: |
Mon, 06 Jun 2016 06:34:21 -0000 |
OK, thanks for checking. Pixel format = 0x20020888 is the
PIXMAN_x8r8g8b8 format, if I've got the pixman.h header right. So could
you please try the following patch to see whether it fixes the issue for
you?
diff --git a/ui/console-gl.c b/ui/console-gl.c
--- a/ui/console-gl.c
+++ b/ui/console-gl.c
@@ -88,6 +88,10 @@ void surface_gl_create_texture(ConsoleGLState *gls,
surface->glformat = GL_BGRA_EXT;
surface->gltype = GL_UNSIGNED_BYTE;
break;
+ case PIXMAN_BE_x8r8g8b8:
+ surface->glformat = GL_RGBA;
+ surface->gltype = GL_UNSIGNED_BYTE;
+ break;
case PIXMAN_r5g6b5:
surface->glformat = GL_RGB;
surface->gltype = GL_UNSIGNED_SHORT_5_6_5;
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1581796
Title:
console-gl.c:96:surface_gl_create_texture:code should not be reached
Status in QEMU:
New
Bug description:
Facing this if i enable gtk,gl option same is with sd2 gl options.
PowerPc P5020 4gb ram Ubuntu Mate 16:04
tested on
RadeonSi 7750HD 2gb ddr3
r600 6570 2gb ddr3
Masa 11.2.2 and 11.3 dev
same issue come on swrast mode
Thanks
Luigi
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1581796/+subscriptions
- [Qemu-devel] [Bug 1581796] Re: console-gl.c:96:surface_gl_create_texture:code should not be reached, T. Huth, 2016/06/04
- [Qemu-devel] [Bug 1581796] Re: console-gl.c:96:surface_gl_create_texture:code should not be reached, luigiburdo, 2016/06/04
- [Qemu-devel] [Bug 1581796] Re: console-gl.c:96:surface_gl_create_texture:code should not be reached, luigiburdo, 2016/06/04
- [Qemu-devel] [Bug 1581796] Re: console-gl.c:96:surface_gl_create_texture:code should not be reached,
T. Huth <=
- [Qemu-devel] [Bug 1581796] Re: console-gl.c:96:surface_gl_create_texture:code should not be reached, T. Huth, 2016/06/06
- [Qemu-devel] [Bug 1581796] Re: console-gl.c:96:surface_gl_create_texture:code should not be reached, luigiburdo, 2016/06/06
- [Qemu-devel] [Bug 1581796] Re: console-gl.c:96:surface_gl_create_texture:code should not be reached, luigiburdo, 2016/06/06
- [Qemu-devel] [Bug 1581796] Re: console-gl.c:96:surface_gl_create_texture:code should not be reached, T. Huth, 2016/06/06
- [Qemu-devel] [Bug 1581796] Re: console-gl.c:96:surface_gl_create_texture:code should not be reached, luigiburdo, 2016/06/06
- [Qemu-devel] [Bug 1581796] Re: console-gl.c:96:surface_gl_create_texture:code should not be reached, T. Huth, 2016/06/11
- [Qemu-devel] [Bug 1581796] Re: console-gl.c:96:surface_gl_create_texture:code should not be reached, luigiburdo, 2016/06/11