Bug 1294 - Show all information on the default graphics device in JoglVersion
Summary: Show all information on the default graphics device in JoglVersion
Status: IN_PROGRESS
Alias: None
Product: Jogl
Classification: JogAmp
Component: opengl (show other bugs)
Version: 2.4.0
Hardware: All all
: P5 trivial
Assignee: Julien Gouesse
URL:
Depends on:
Blocks:
 
Reported: 2016-02-26 14:15 CET by Julien Gouesse
Modified: 2016-04-05 22:55 CEST (History)
1 user (show)

See Also:
Type: DEFECT
SCM Refs:
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Gouesse 2016-02-26 14:15:29 CET
JoglVersion.getGLInfo() just shows the values of 3 fields of a graphics device whereas we are accustomed to show all information in the debug logs. This lack can lead to confusion:
https://github.com/sgothel/jogl/blob/master/src/jogl/classes/com/jogamp/opengl/JoglVersion.java#L147

I suggest to call sb.append(device.toString()).append(':').append(Platform.getNewline()); instead.