aboutsummaryrefslogtreecommitdiffstats
path: root/make/build.xml
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2008-11-13 20:26:57 +0000
committerSven Gothel <[email protected]>2008-11-13 20:26:57 +0000
commitc25a62a71154340da6b50e56ceef3fa780f89a93 (patch)
tree8fdec21df1774d491e165814e1a2e0067b84289f /make/build.xml
parent9802bc053ef45140690bb58232429d225dfe0f75 (diff)
- Removed StaticGLInfo usage.
Function availability is checked by the dynamic ProcAddressTable, so it works as described/desired and removed around 30 kB of text. - Adding EGLExt to support EGLImage to share video buffers between another API (e.g. OpenMax) - EGL: Added platform extension query support - EGLClientBuffer is opaque long - GLXExt: Removed duplicated enumerates from GLX - GLContext: Promoted getPlatformExtensionsString() - GLProfile.setProfile<GL*>(void) changed order of setting the GL profile to: highest -> lowest: GL2 .. GL2ES12 .. GLES2 .. GLES1 git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1784 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'make/build.xml')
-rw-r--r--make/build.xml22
1 files changed, 14 insertions, 8 deletions
diff --git a/make/build.xml b/make/build.xml
index b6c120caf..0dddeb43c 100644
--- a/make/build.xml
+++ b/make/build.xml
@@ -491,6 +491,7 @@
<target name="declare.gl.gles" unless="jogl.noes" depends="declare.gl.gles1, declare.gl.gles2">
<!-- Prepare to build the EGL interface -->
<property name="window.es.cfg" value="${config}/egl.cfg" />
+ <property name="window.es.ext.cfg" value="${config}/eglext.cfg" />
<property name="window.es.system" value="gluegen_egl"/>
</target>
@@ -745,6 +746,17 @@
</gluegen>
</target>
+ <target name="java.generate.window.system.es.ext" if="window.es.ext.cfg" unless="jogl.noes">
+ <echo message="Generating EGLExt implementation class" />
+ <dirset id="stub.includes.fileset.platform" dir="." includes="${stub.includes.dir}/${window.es.system}/**" />
+ <gluegen src="${stub.includes.dir}/${window.es.system}/window-system-ext.c"
+ config="${window.es.ext.cfg}"
+ includeRefid="stub.includes.fileset.platform"
+ emitter="com.sun.gluegen.opengl.GLEmitter">
+ <classpath refid="gluegen.classpath" />
+ </gluegen>
+ </target>
+
<target name="java.generate.window.system.os" if="window.os.cfg" unless="jogl.nogl2">
<echo message="Generating WGL/GLX/CGL/EGL implementation class" />
<gluegen src="${stub.includes.dir}/${window.os.system}/window-system.c"
@@ -843,7 +855,8 @@
<antcall target="java.generate.gl.all" inheritRefs="true" />
<!--antcall target="java.generate.gl.nsig" inheritRefs="true" /-->
- <antcall target="java.generate.window.system.es" inheritRefs="true" />
+ <antcall target="java.generate.window.system.es" inheritRefs="true" />
+ <antcall target="java.generate.window.system.es.ext" inheritRefs="true" />
<echo message="Generating platform-specifics: X11" />
<antcall target="java.generate.gl.platforms" inheritRefs="true">
@@ -876,13 +889,6 @@
<param name="jawt.platform.header" value="${stub.includes.dir}/jni/macosx/jawt_md.h" />
</antcall>
- <echo message="Generating StaticGLInfo class" />
- <staticglgen package="com.sun.opengl.impl"
- headers="${gl2.headers} ${gles1.headers} ${gles2.headers}"
- outputdir="${src.generated.java}/com/sun/opengl/impl">
- <classpath refid="gluegen.classpath" />
- </staticglgen>
-
<!-- Generate GLU class -->
<antcall target="java.generate.glu.base" inheritrefs="true" />
<antcall target="java.generate.glu.GL2ES1" inheritrefs="true" />