SHA256
1
0
forked from pool/Mesa

remove also the patch!

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=810
This commit is contained in:
Stefan Dirsch 2019-02-20 15:56:03 +00:00 committed by Git OBS Bridge
parent 411f25ba94
commit ff88b28df7

View File

@ -1,32 +0,0 @@
From cd5af5c511b50890abe24d1e212ba9817f4074dd Mon Sep 17 00:00:00 2001
From: Stefan Dirsch <sndirsch@suse.de>
Date: Tue, 11 Dec 2018 11:36:26 +0100
Subject: [PATCH] Disable Xshm for now since it results in render errors
Xshm results in render errors and missing screen refreshes on GNOME3
in a qemu VM (cirrus emulation); see also
https://bugzilla.suse.com/show_bug.cgi?id=1118149
---
src/glx/drisw_glx.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/glx/drisw_glx.c b/src/glx/drisw_glx.c
index 7b99e49f00..d6bebfb292 100644
--- a/src/glx/drisw_glx.c
+++ b/src/glx/drisw_glx.c
@@ -232,7 +232,11 @@ swrastXPutImage(__DRIdrawable * draw, int op,
ximage->bytes_per_line = stride ? stride : bytes_per_line(w * ximage->bits_per_pixel, 32);
ximage->data = data;
- if (pdp->shminfo.shmid >= 0) {
+ /* disable Xshm for now since it results in render errors and missing screen refreshes
+ on GNOME3 in a qemu VM (cirrus emulation); see also
+ https://bugzilla.suse.com/show_bug.cgi?id=1118149
+ */
+ if (0 && pdp->shminfo.shmid >= 0) {
ximage->width = ximage->bytes_per_line / ((ximage->bits_per_pixel + 7)/ 8);
ximage->height = h;
XShmPutImage(dpy, drawable, gc, ximage, srcx, srcy, x, y, w, h, False);
--
2.16.4