[X2Go-Commits] [vcxsrv] 01/02: hw/xwin/glx: Don't create fbConfigs for un-accelerated pixelFormats
git-admin at x2go.org
git-admin at x2go.org
Tue May 3 13:48:23 CEST 2016
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to tag 1.17.0.0-2-bug4test1
in repository vcxsrv.
commit d45db884b19a0f081fcd259e3b338a13378c936d
Author: Jon TURNEY <jon.turney at dronecode.org.uk>
Date: Sat Jan 11 16:35:31 2014 +0000
hw/xwin/glx: Don't create fbConfigs for un-accelerated pixelFormats
For some reason, glxinfo is now selecting an un-accelerated fbConfig, which
leads to "GDI Generic" being reported as the renderer name.
For the moment, just don't create fbConfigs for un-accelerated pixelFormats.
Signed-off-by: Jon TURNEY <jon.turney at dronecode.org.uk>
V2: Port to VcXsrv (X2Go/Arctica Builds) 1.17.0.0-x (Mike DePaulo)
(This empirically disables StaticColor, thus fixing bug #3).
---
xorg-server/hw/xwin/glx/indirect.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/xorg-server/hw/xwin/glx/indirect.c b/xorg-server/hw/xwin/glx/indirect.c
index ada6156..07bd91a 100755
--- a/xorg-server/hw/xwin/glx/indirect.c
+++ b/xorg-server/hw/xwin/glx/indirect.c
@@ -2092,6 +2092,8 @@ glxWinCreateConfigs(HDC hdc, glxWinScreen * screen)
/* EXT_visual_rating / GLX 1.2 */
if (pfd.dwFlags & PFD_GENERIC_FORMAT) {
c->base.visualRating = GLX_SLOW_VISUAL_EXT;
+ GLWIN_DEBUG_MSG("pixelFormat %d is un-accelerated, skipping", i + 1);
+ continue;
}
else {
// PFD_GENERIC_ACCELERATED is not considered, so this may be MCD or ICD acclerated...
@@ -2435,6 +2437,8 @@ glxWinCreateConfigsExt(HDC hdc, glxWinScreen * screen)
case WGL_NO_ACCELERATION_ARB:
c->base.visualRating = GLX_SLOW_VISUAL_EXT;
+ GLWIN_DEBUG_MSG("pixelFormat %d is un-accelerated, skipping", i + 1);
+ continue;
break;
case WGL_GENERIC_ACCELERATION_ARB:
--
Alioth's /srv/git/code.x2go.org/vcxsrv.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/vcxsrv.git
More information about the x2go-commits
mailing list