From 0906140a18690a9dced8dec12dfdd8cf4c95a4df Mon Sep 17 00:00:00 2001 From: sg215889 Date: Fri, 24 Jul 2009 07:29:28 -0700 Subject: Add: Extended support for CVM crosscompile: - Clean up X11 dependency - NativeWindow: - Seperate X11 out of core. - Add nativewindow.x11.jar and nativewindow.x11.cdc.jar - Newt: - Seperate X11,win,osx out of core. - Add newt.x11.jar, newt.win.jar, newt.osx.jar and the CDC variants Fix: External Context & Drawable (X11 and Windows) - Properly fetch current context values (ctx, display, drawable, ..) - Create GraphicsConfiguration based on the given pixelformat/FBConfig Fix: Java2D OpenGL Usage - Using the external context as shared for the external drawable - JAWTUtil: Skip locking in case of OGL-Flush-Queue - TODO: Windows FBO still does not work .. (X11 is fine) --- make/build-nativewindow.xml | 204 +++++++++++++++++++++++++------------------- 1 file changed, 116 insertions(+), 88 deletions(-) (limited to 'make/build-nativewindow.xml') diff --git a/make/build-nativewindow.xml b/make/build-nativewindow.xml index d6d57bce0..79e6b93ae 100644 --- a/make/build-nativewindow.xml +++ b/make/build-nativewindow.xml @@ -44,20 +44,12 @@ - - Some environment defs affecting compilation - setup.cdcfp - Using the CDC Java runtime library - - no DoubleBuffer - - no LongBuffer - - This will set - -> setup.noAWT + - setup.noAWT is set iff: + !isWindows && !isOSX && !noX11 - Internal settings, may not be necessary to set them manually, since all JAR archives are orthogonal. setup.noAWT - setup.noX11WindowsMacOsX, which implies: - setup.noX11 - setup.noWindows - setup.noMacOsX --> @@ -77,66 +69,48 @@ - - - - - - - + + + + + - - - - - - - - - + + + + + - - - + + + + - - - + - - - - - - - - + + + + - - - - + value="javax/media/nativewindow/*, javax/media/nativewindow/egl/*, javax/media/nativewindow/macosx/*, javax/media/nativewindow/windows/*, com/sun/nativewindow/impl/*, com/sun/nativewindow/impl/jvm/*"/> - + - - - + - - + + - - - - - - - - - - - - - + @@ -233,6 +192,7 @@ + @@ -242,10 +202,12 @@ + + @@ -285,9 +247,12 @@ + + + @@ -315,11 +280,13 @@ + + @@ -337,7 +304,6 @@ - @@ -393,6 +359,10 @@ emitter="com.sun.gluegen.JavaEmitter"> + + + @@ -409,6 +379,10 @@ emitter="com.sun.gluegen.JavaEmitter"> + + + @@ -468,22 +442,22 @@ - Compile the original and generated source. The composable pipelines - will be generated. --> - + - - + - + - + - + @@ -848,6 +822,29 @@ + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + - + + excludes="${java.part.awt} ${java.part.x11}"/> - - + + + + + + + +