![]() |
|
|||||||
| Development Help Help for building applications or diagnosing problems with WWJ |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Jun 2009
Posts: 8
![]() |
We have an Eclipse RCP based application that is deployed via Java web start. We've run into situations where users download the app to machines with graphics cards that aren't suitable or optimal for worldwind. Is there support within worldwind/jogl for reporting on the graphics capabilities of the host machine so that we can warn if capabilities are missing?
I didn't find anything in the forum on this when I searched. Thanks, Kalin |
|
|
|
|
|
#2 |
|
WWJ Consultant
Join Date: Jun 2005
Location: Saint-Paul de Vence, Alpes Maritimes, France
Posts: 3,412
![]() |
Have a look at WorldWindHackApps.ShowExtensions.java
Code:
public void display(javax.media.opengl.GLAutoDrawable glAutoDrawable)
{
javax.media.opengl.GL gl = javax.media.opengl.GLContext.getCurrent().getGL();
boolean fbo = gl.isExtensionAvailable("GL_EXT_framebuffer_object");
String es = gl.glGetString(javax.media.opengl.GL.GL_EXTENSIONS);
javax.media.opengl.glu.GLU glu = new javax.media.opengl.glu.GLU();
String eus = glu.gluGetString(javax.media.opengl.glu.GLU.GLU_EXTENSIONS);
// Object pexts = glAutoDrawable.getGL().getPlatformGLExtensions();
String[] esa = es.split(" ");
String[] eusa = eus.split(" ");
java.util.Arrays.sort(esa);
java.util.Arrays.sort(eusa);
for (String s : esa)
{
System.out.println(s);
}
for (String s : eusa)
{
System.out.println(s);
}
}
|
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Jun 2009
Posts: 8
![]() |
Thanks for the pointer!
|
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Fatal Error-Unable to locate a compatible graphics adapter | Unregistered | Install Support | 3 | 10-17-2007 12:26 PM |
| Graphics card suitable? | AlbrechtMehl | Install Support | 11 | 07-04-2006 03:02 PM |
| does VIA\S3G Unichrome IGP card work??? | maja | Technical Support | 2 | 10-10-2005 05:52 PM |
| Problems w/ Graphics Adapter | caisimu | Technical Support | 7 | 06-13-2005 04:41 PM |
| Intel Graphics Card 92945G/Gl/Ge/Pe/GV | dberggren | Install Support | 1 | 05-11-2005 09:37 PM |