Issues.00620 - lordmundi/wikidoctest GitHub Wiki

00620: warning for indirect rendering no longer working

« 00619 | Issues | 00621 »

Summary: warning for indirect rendering no longer working

Created: 2017–06–09 10:20

Status: Released

Category: Bug

From: frankie

Version: 2.4

Released_In: 2.4.1

Description:

in Issue 00143 we added the ability to warn the user if running without direct rendering. This protects when accidentally running over an ssh connection or other cases where direct rendering is not available.

for some reason, this has stopped working.


Comments

(Alex 6/15/17) I see what the problem is. This was caused by the update to Togl 2. The direct rendering check is only done if the Togl version was 1.


« 00619 | Issues | 00621 »

Associated Commits

| commit | fc04e3c6403fc50a2b0f3b55b162604698f4e733 link6 | || | Author: | Alex Lin | | Date: | Wed Jun 21 16:51:02 2017 -0500 | | Message: | [@Issue 00620: warning for indirect rendering no longer working Need to include the source for the indirect warning under windows. @] |

Affected Files:

src/doug/doug.c | 2 —
 1 file changed, 2 deletions(-)

| commit | fda33e3c415d8e841a0e6f71073ca9c4cc4ff3a2 link7 | || | Author: | Alex Lin | | Date: | Mon Jun 19 14:53:16 2017 -0500 | | Message: | [@Issue 00620: warning for indirect rendering no longer working Can't find glXIsDirect on the Mac. Changed the return on Macs to always return direct for now. @] |

Affected Files:

src/Togl2.1-SnapPy/toglNSOpenGL.c | 2 ±
 1 file changed, 1 insertion(+), 1 deletion(-)

| commit | 28e1b9dc8536c1235467ed28120f358fe2873955 link8 | || | Author: | Alex Lin | | Date: | Mon Jun 19 14:25:45 2017 -0500 | | Message: | [@Issue 00620: warning for indirect rendering no longer working Created a call in togl source code, togl_glXIsDirect that uses a togl structure to determine if we are directly rendering or not. Created versions for Linux, Mac, and Windows. The windows version always returns 1. @] |

Affected Files:

src/Togl2.1-SnapPy/togl.h         |  6 +++±-
 src/Togl2.1-SnapPy/toglGLX.c      |  5 +++++
 src/Togl2.1-SnapPy/toglNSOpenGL.c |  5 +++++
 src/Togl2.1-SnapPy/toglWGL.c      |  4 ++++
 src/doug/doug.c                   | 27 ++++++++++++++++++++++±---
 5 files changed, 41 insertions(+), 6 deletions(-)