summaryrefslogtreecommitdiffstats
path: root/make/gl-common-x11.cfg
diff options
context:
space:
mode:
authordjp <[email protected]>2003-06-08 19:27:01 +0000
committerdjp <[email protected]>2003-06-08 19:27:01 +0000
commitd49fd968963909f181423eae46c613189468fac3 (patch)
treeb231329e6b65fd54aa24b3bcc0a3ecc623daec61 /make/gl-common-x11.cfg
parent9c8fb046dee5d832bea3f36dcbd43285054f49a0 (diff)
Initial revision
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@3 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'make/gl-common-x11.cfg')
-rw-r--r--make/gl-common-x11.cfg17
1 files changed, 17 insertions, 0 deletions
diff --git a/make/gl-common-x11.cfg b/make/gl-common-x11.cfg
new file mode 100644
index 000000000..7c8be76ca
--- /dev/null
+++ b/make/gl-common-x11.cfg
@@ -0,0 +1,17 @@
+# This .cfg file provides common options used among all glue code
+# generated for Jogl on X11.
+HierarchicalNativeOutput false
+Include gl-common.cfg
+JavaOutputDir ../build/gensrc/classes
+NativeOutputDir ../build/gensrc/native/jogl
+
+# Get returned array's capacity from XGetVisualInfo to be correct
+TemporaryCVariableDeclaration XGetVisualInfo int count;
+TemporaryCVariableAssignment XGetVisualInfo count = _ptr3[0];
+ReturnValueCapacity XGetVisualInfo count * sizeof(XVisualInfo)
+ReturnedArrayLength XGetVisualInfo {3}[0]
+ReturnValueCapacity glXChooseVisual sizeof(XVisualInfo)
+ReturnValueCapacity glXGetVisualFromFBConfig sizeof(XVisualInfo)
+ReturnValueCapacity glXGetVisualFromFBConfigSGIX sizeof(XVisualInfo)
+
+Unimplemented wgl.+