From 4c32ea23370336b99eba4c1ebd1f07c409219a15 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 29 May 2009 01:47:02 +0000 Subject: JOGL Added OpenGL 3.0 and 3.1 support 3.0 as part of GL2 (extensions only) 3.1 forward compatible as GL3, ie doesn't contain the GL2 fixed function stuff etc Added code to retrieve a 3.0/3.1 context: X11/GLX and Windows/WGL TODO: MacOSX !! Updated GL and GLX extensions Fixing auto GLProfile selection, determine if GL2ES[1] uses GL2 or ES Usage of the unified GraphicsConfiguration of NativeWindow for all platforms. Sure, the broken OS (Win32/MacOSX) have a update mechanism for theit queried Capabilities after drawable creation. Adding X11/GLX GLXFBConfig usage and fixing it's attribute mapping Fixing GLX/X11 FBConfig/XVisual query function's memory leak, using a manual implementation, which copies the data and calls XFree. Added WGL extension WGL_ARB_create_context Tested: Linux x86 and x86_64 GL2, ES2 and ES1 Note: Nvidia driver couldn't make the succesfully created 3.1 context current. TODO: Verify Windows and MacOSX !! git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1919 232f8b59-042b-4e1e-8c03-345bb8c30851 --- make/build-jogl.xml | 53 ++++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 40 insertions(+), 13 deletions(-) (limited to 'make/build-jogl.xml') diff --git a/make/build-jogl.xml b/make/build-jogl.xml index c2da1cc73..1bafa44fb 100644 --- a/make/build-jogl.xml +++ b/make/build-jogl.xml @@ -55,12 +55,14 @@ This will set -> setup.noAWT -> setup.nogl2 + -> setup.nogl3 - Internal settings, may not be necessary to set them manually, since all JAR archives are orthogonal. setup.noes1 setup.noes2 setup.nogl2 + setup.nogl3 setup.noAWT setup.noutil - no com.sun.opengl.util.* setup.noX11WindowsMacOsX, which implies: @@ -97,6 +99,9 @@ + + + @@ -117,6 +122,7 @@ + @@ -174,17 +180,20 @@ + + + value="com/sun/opengl/impl/**/gl2/**, ${java.part.gl3}, com/sun/opengl/impl/x11/glx/*"/> + value="com/sun/opengl/impl/**/gl2/**, ${java.part.gl3}, com/sun/opengl/impl/windows/wgl/*"/> + value="com/sun/opengl/impl/**/gl2/**, ${java.part.gl3}, com/sun/opengl/impl/macosx/cgl/*"/> + value="javax/media/opengl/TraceGL2.*, javax/media/opengl/DebugGL2.*, javax/media/opengl/TraceGL3.*, javax/media/opengl/DebugGL3.*,"/> @@ -229,6 +238,11 @@ + + + + @@ -280,7 +294,7 @@ - + @@ -656,7 +670,7 @@ - + + + + + + + + - - + @@ -1649,17 +1676,17 @@ @@ -1689,7 +1716,7 @@ + excludes="${java.part.util.awt}, ${java.part.util.gl2}, ${java.part.gl3}, ${java.part.util.fixedfuncemu}"/>