aboutsummaryrefslogtreecommitdiffstats
path: root/make/jawt-macosx.cfg
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2003-06-26 13:21:12 +0000
committerKenneth Russel <[email protected]>2003-06-26 13:21:12 +0000
commit0a6e191eaebcc8edc2611dbedab6fd04a615fc2f (patch)
tree7f8a9b8e88a6bc6662827d3f092b943b1ea893fb /make/jawt-macosx.cfg
parent2b54833bb15d6cae356fa0c5777d11e152d774cb (diff)
Initial Mac OS X port of Jogl by Gerard Ziemski and Kenneth Russell,
subsuming the previous prototype implementation (no GLCanvas support) done by Marc Downie. Added user's guide (HTML format) under doc/userguide/index.html. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@13 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'make/jawt-macosx.cfg')
-rw-r--r--make/jawt-macosx.cfg18
1 files changed, 15 insertions, 3 deletions
diff --git a/make/jawt-macosx.cfg b/make/jawt-macosx.cfg
index 809b02b16..6c6f849a9 100644
--- a/make/jawt-macosx.cfg
+++ b/make/jawt-macosx.cfg
@@ -1,15 +1,27 @@
# This .cfg file is used to generate the interface to the JAWT, which
-# is used by the X11OnscreenGLContext.
+# is used by the MacOSXOnscreenGLContext.
Style AllStatic
Package net.java.games.jogl.impl
JavaClass JAWTFactory
JavaOutputDir ../build/gensrc/classes
NativeOutputDir ../build/gensrc/native/jogl
+
HierarchicalNativeOutput false
-Opaque int JNIEnv *
+
Opaque boolean jboolean
+Opaque long CGContextRef
+Opaque long void *
+
+IgnoreField JAWT GetComponent
+IgnoreField JAWT_DrawingSurfaceInfo platformInfo
+
+CustomCCode #include <inttypes.h>
CustomCCode #include <jawt.h>
+
StructPackage JAWT_MacOSXDrawingSurfaceInfo net.java.games.jogl.impl.macosx
-IgnoreField JAWT GetComponent
EmitStruct JAWT_MacOSXDrawingSurfaceInfo
+CustomJavaCode JAWT_DrawingSurfaceInfo public JAWT_PlatformInfo platformInfo() {
+CustomJavaCode JAWT_DrawingSurfaceInfo return platformInfo0(getBuffer());
+CustomJavaCode JAWT_DrawingSurfaceInfo }
+CustomJavaCode JAWT_DrawingSurfaceInfo private native JAWT_PlatformInfo platformInfo0(Buffer jthis0);