diff options
author | Sven Gothel <[email protected]> | 2008-07-25 16:26:27 +0000 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2008-07-25 16:26:27 +0000 |
commit | db40249b86a14c2178be8a2f61dc97f4ac1f1424 (patch) | |
tree | c570b317b13c11bf2e6b1c79d157aac24df32409 /make/gl-es2.cfg | |
parent | 4ce0d2396726dcd285f753fcacd0acc4e2b60469 (diff) |
../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
Diffstat (limited to 'make/gl-es2.cfg')
-rwxr-xr-x | make/gl-es2.cfg | 15 |
1 files changed, 9 insertions, 6 deletions
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 <GLES2/gl2ext.h> CustomCCode #include <stdlib.h> 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 |