From db40249b86a14c2178be8a2f61dc97f4ac1f1424 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 25 Jul 2008 16:26:27 +0000 Subject: ../jogl.log git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1735 232f8b59-042b-4e1e-8c03-345bb8c30851 --- make/gl-es2.cfg | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'make/gl-es2.cfg') diff --git a/make/gl-es2.cfg b/make/gl-es2.cfg index cdf936ba9..85e591c8e 100755 --- a/make/gl-es2.cfg +++ b/make/gl-es2.cfg @@ -39,11 +39,7 @@ LocalProcAddressCallingConvention __ALL__ GL_APIENTRY # Pick up on-line OpenGL javadoc thanks to user cylab on javagaming.org forums TagNativeBinding true -CustomJavaCode GLES2Impl public void glClearDepth(double depth) { -CustomJavaCode GLES2Impl glClearDepthf((float)depth); } - -CustomJavaCode GLES2Impl public void glDepthRange(double zNear, double zFar) { -CustomJavaCode GLES2Impl glDepthRangef((float)zNear, (float)zFar); } +IncludeAs CustomJavaCode GLES2 gl-if-CustomJavaCode-gles2.java CustomCCode /* Define GL_GLEXT_PROTOTYPES so that the OpenGL extension prototypes in CustomCCode "glext.h" are parsed. */ @@ -55,13 +51,20 @@ CustomCCode #include CustomCCode #include Include intptr.cfg +JavaPrologue glDrawArrays glDrawArraysPrologue(); +JavaEpilogue glDrawArrays glDrawArraysEpilogue(); +JavaPrologue glDrawElements glDrawArraysPrologue(); +JavaEpilogue glDrawElements glDrawArraysEpilogue(); + IncludeAs CustomJavaCode GLES2Impl gl-impl-CustomJavaCode-common.java IncludeAs CustomJavaCode GLES2Impl gl-impl-CustomJavaCode-gles2.java IncludeAs CustomJavaCode GLES2Impl gl-impl-CustomJavaCode-gl2_es2.java -IncludeAs CustomCCode gl-impl-CustomCCode.c +IncludeAs CustomCCode gl-impl-CustomCCode-gles2.c Import javax.media.opengl.GLES1 Import javax.media.opengl.GLES2 Import javax.media.opengl.GL2 Import javax.media.opengl.util.BufferUtil +Import javax.media.opengl.util.PMVMatrix +Import java.io.PrintStream -- cgit v1.2.3