Bugzilla – Attachment 382 Details for
Bug 638
Problem requesting non-hardware-accelerated capabilities on a device capable of hardware acceleration
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
GIT patch
fix_sw_rendering.patch (text/plain), 1.53 KB, created by
Jonas Thedering
on 2012-11-09 17:56:57 CET
(
hide
)
Description:
GIT patch
Filename:
MIME Type:
Creator:
Jonas Thedering
Created:
2012-11-09 17:56:57 CET
Size:
1.53 KB
patch
obsolete
>From e0b2e8e19b506c8309d8270d35a7dbe24e82d323 Mon Sep 17 00:00:00 2001 >From: jthedering <thedering@simus-systems.com> >Date: Fri, 9 Nov 2012 17:50:25 +0100 >Subject: [PATCH] Added a condition to skip updateGraphicsConfigurationARB > when non-hardware-accelerated capabilities are requested, > because only updateGraphicsConfigurationGDI provides > software rendering capabilities. > >--- > .../opengl/windows/wgl/WindowsWGLGraphicsConfigurationFactory.java | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/src/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLGraphicsConfigurationFactory.java b/src/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLGraphicsConfigurationFactory.java >index 7b3bc3a..8c5ea12 100644 >--- a/src/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLGraphicsConfigurationFactory.java >+++ b/src/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLGraphicsConfigurationFactory.java >@@ -284,7 +284,8 @@ public class WindowsWGLGraphicsConfigurationFactory extends GLGraphicsConfigurat > } > } > try { >- if( !updateGraphicsConfigurationARB((WindowsWGLDrawableFactory)factory, config, chooser, hdc, extHDC, pfdIDs) ) { >+ if( !((GLCapabilitiesImmutable)config.getChosenCapabilities()).getHardwareAccelerated() >+ || !updateGraphicsConfigurationARB((WindowsWGLDrawableFactory)factory, config, chooser, hdc, extHDC, pfdIDs) ) { > updateGraphicsConfigurationGDI(config, chooser, hdc, extHDC, pfdIDs); > } > } finally { >-- >1.8.0.msysgit.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 638
:
381
| 382