summaryrefslogtreecommitdiffstats
path: root/src/newt/classes/jogamp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-01-19 22:13:34 +0100
committerSven Gothel <[email protected]>2013-01-19 22:13:34 +0100
commit0989484b89535d56e9f150cdf63e2a17bf36e32e (patch)
tree3eb4712efaee128304764765ec05aad4dcc06720 /src/newt/classes/jogamp
parentc27f0b37024b8a991512ad8d0856821804bb3692 (diff)
Android/NewtVersionActivity: Dump avail. GLCaps / Use stderr, since log would cap 'em (too long).
Diffstat (limited to 'src/newt/classes/jogamp')
-rw-r--r--src/newt/classes/jogamp/newt/driver/android/NewtVersionActivity.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/newt/classes/jogamp/newt/driver/android/NewtVersionActivity.java b/src/newt/classes/jogamp/newt/driver/android/NewtVersionActivity.java
index 4bcbb104d..de524d54c 100644
--- a/src/newt/classes/jogamp/newt/driver/android/NewtVersionActivity.java
+++ b/src/newt/classes/jogamp/newt/driver/android/NewtVersionActivity.java
@@ -79,13 +79,14 @@ public class NewtVersionActivity extends NewtBaseActivity {
public void init(GLAutoDrawable drawable) {
GL gl = drawable.getGL();
final StringBuffer sb = new StringBuffer();
- sb.append(JoglVersion.getGLInfo(gl, null)).append(Platform.NEWLINE);
+ sb.append(JoglVersion.getGLInfo(gl, null, true)).append(Platform.NEWLINE);
sb.append("Requested: ").append(Platform.NEWLINE);
sb.append(drawable.getNativeSurface().getGraphicsConfiguration().getRequestedCapabilities()).append(Platform.NEWLINE).append(Platform.NEWLINE);
sb.append("Chosen: ").append(Platform.NEWLINE);
sb.append(drawable.getChosenGLCapabilities()).append(Platform.NEWLINE).append(Platform.NEWLINE);
final String info2 = sb.toString();
- Log.d(MD.TAG, info2);
+ // Log.d(MD.TAG, info2); // too big!
+ System.err.println(info2);
viewGroup.post(new Runnable() {
public void run() {
tv.append(info2);