From 69d2f49619b303e51e1583a02115756dfc6d1f2f Mon Sep 17 00:00:00 2001 From: sg215889 Date: Sun, 12 Jul 2009 17:34:27 -0700 Subject: Add: Extended support for CVM: - GLX, CGL, WGL - GL2ES12 desktop ES1 and ES2 common profile Cleanup JAR file seperation - New: jogl.cdcfp.jar (ALL for CVM/CDC) - New: setup.nogl2es12 (Allow GL2ES12 for CVM without gl2/gl3) - Clean dependencies of GLX, WGL, CGL (incl. for GL2ES12) - Only build supported JAR archive, ie if they are being build Fix GL2ES12: Only add impl. for ES1 and ES2 interface methods - Use new com.sun.gluegen.runtime.PointerBuffer, to support CVM - CVM and J2SE Java JAR archives are equal! - Well, the build form *everything* includes some empty directories in the cdcfp JAR archives though. - Removed last AWT dependency in MacOSX chain - GLDrawableFactory - com.sun.opengl.impl.macosx.cgl.MacOSXCGLDrawableFactory - com.sun.opengl.impl.macosx.cgl.awt.MacOSXAWTCGLDrawableFactory --- make/build-jogl.xml | 323 ++++++++++++++++++++++++++++++---------------------- 1 file changed, 189 insertions(+), 134 deletions(-) (limited to 'make/build-jogl.xml') diff --git a/make/build-jogl.xml b/make/build-jogl.xml index e23b9d594..06d606df0 100644 --- a/make/build-jogl.xml +++ b/make/build-jogl.xml @@ -56,22 +56,20 @@ - no LongBuffer This will set - -> setup.noAWT -> setup.nogl2 + -> setup.noAWT (depends on gl2) -> 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.nogl2es12 + setup.nogl2 [ -> setup.noAWT (still depends on gl2), setup.nogl3 (contained in the gl2 jar) ] + setup.nogl3 [ -> setup.nogl2 (contained in the gl2 jar) ] setup.noAWT - setup.noutil - no com.sun.opengl.util.* - setup.noX11WindowsMacOsX, which implies: - setup.noX11 - setup.noWindows - setup.noMacOsX + setup.noX11WindowsMacOsX [ -> setup.noX11, setup.noWindows, setup.noMacOsX ] + is also triggered by [ setup.nogl2 && setup.nogl3 && setup.nogl2es12 ] --> @@ -97,18 +95,28 @@ - - + + + - + + + + - - + + + + + + - - + + + + @@ -119,9 +127,18 @@ + + + + + + + + + @@ -149,10 +166,16 @@ - - - + + + + + + + @@ -164,57 +187,58 @@ value="com/sun/opengl/impl/glu/mipmap/**"/> + value="com/sun/opengl/impl/glu/gl2/** com/sun/opengl/impl/glu/nurbs/** com/sun/opengl/impl/glu/registry/** javax/media/opengl/glu/gl2/**"/> + - + + + - + - + + value="javax/media/opengl/TraceGL2ES12.* javax/media/opengl/DebugGL2ES12.*"/> - + - - - + + value="javax/media/opengl/TraceGL2.* javax/media/opengl/DebugGL2.*"/> + value="javax/media/opengl/**/es1/** com/sun/opengl/**/es1/**"/> + value="javax/media/opengl/TraceGLES1.* javax/media/opengl/DebugGLES1.*"/> + value="javax/media/opengl/**/es2/** com/sun/opengl/**/es2/**"/> + value="javax/media/opengl/TraceGLES2.* javax/media/opengl/DebugGLES2.*"/> + value="javax/media/opengl/awt/** com/sun/opengl/impl/**/awt/**"/> + value="com/sun/opengl/util/* com/sun/opengl/util/texture/** com/sun/opengl/util/packrect/**"/> @@ -223,18 +247,18 @@ value="com/sun/opengl/util/**/gl2/**"/> + value="com/sun/opengl/util/glsl/* com/sun/opengl/util/glsl/fixedfunc/* com/sun/opengl/util/glsl/sdk/*"/> + value="com/sun/opengl/util/glsl/fixedfunc/impl/shaders/* com/sun/opengl/util/glsl/fixedfunc/impl/shaders/bin/**"/> + value="${java.part.nv-cg}"> @@ -248,55 +272,53 @@ + + + + + + + + + + + + + value="${java.part.gl3} ${java.part.gl3.dbg}"> + + + + + value="${java.part.gl2} ${java.part.gl2.dbg} ${java.part.util.gl2} ${java.part.glugl2}"> + value="${java.part.es1} ${java.part.es1.dbg}"> + value="${java.part.es2} ${java.part.es2.dbg}"> + value="${java.part.awt} ${java.part.util.awt} com/sun/opengl/util/AWTAnimatorImpl* com/sun/opengl/util/texture/spi/awt/** "> - - - - - - - - - - - - - - - - - - - + @@ -304,7 +326,7 @@ - + @@ -382,7 +404,8 @@ - + + @@ -456,7 +479,8 @@ - + + @@ -493,7 +517,10 @@ - + + + + @@ -706,7 +733,7 @@ - - + - - + + - + @@ -825,8 +852,8 @@ - - + + - @@ -922,7 +948,6 @@ - @@ -930,7 +955,6 @@ - @@ -1603,11 +1627,14 @@ - + + + + + - - + @@ -1617,7 +1644,7 @@ linker.cfg.id="${linker.cfg.id.gl2}"/> - + + includes="${java.part.nv-cg}"/> - - + + + includes="${java.part.egl}" + excludes="${java.part.awt}"/> + + + + + + - - - + + + + + + - - - - - - - - - - - - - - - - + + + + + includes="${java.part.awt}" /> - + - + includes="${java.part.util.awt}"/> + + + @@ -1826,6 +1843,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + +