Blame SOURCES/0008-glamor-Dump-backtrace-on-GL-error.patch

5f5628
From 85638273f23338d06776cdb7bb422440f690038a Mon Sep 17 00:00:00 2001
5f5628
From: Olivier Fourdan <ofourdan@redhat.com>
5f5628
Date: Tue, 30 Mar 2021 08:48:25 +0200
5f5628
Subject: [PATCH xserver 08/27] glamor: Dump backtrace on GL error
5f5628
MIME-Version: 1.0
5f5628
Content-Type: text/plain; charset=UTF-8
5f5628
Content-Transfer-Encoding: 8bit
5f5628
5f5628
Currrently, when a GL error is triggered, glamor would log the error
5f5628
which may not be sufficient to trace it back to the cause of the error.
5f5628
5f5628
Also dump the backtrace which may give more information as to where the
5f5628
error comes from.
5f5628
5f5628
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
5f5628
Reviewed-by: Martin Peres <martin.peres@mupuf.org>
5f5628
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
5f5628
https://gitlab.freedesktop.org/xorg/xserver/-/issues/1156
5f5628
(cherry picked from commit 3b265c59a6456f6e4abfb9e1694237bc56f1776a)
5f5628
---
5f5628
 glamor/glamor.c | 1 +
5f5628
 1 file changed, 1 insertion(+)
5f5628
5f5628
diff --git a/glamor/glamor.c b/glamor/glamor.c
5f5628
index 3baef4b9f..b8406f42d 100644
5f5628
--- a/glamor/glamor.c
5f5628
+++ b/glamor/glamor.c
5f5628
@@ -414,6 +414,7 @@ glamor_debug_output_callback(GLenum source,
5f5628
 
5f5628
     LogMessageVerb(X_ERROR, 0, "glamor%d: GL error: %*s\n",
5f5628
                screen->myNum, length, message);
5f5628
+    xorg_backtrace();
5f5628
 }
5f5628
 
5f5628
 /**
5f5628
-- 
5f5628
2.31.1
5f5628