diff options
author | Sven Gothel <[email protected]> | 2008-07-21 01:13:01 +0000 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2008-07-21 01:13:01 +0000 |
commit | 6a1ad07ce8563a9ebd4e1d5be970621ffe1a7daf (patch) | |
tree | ea984d594748d851281538b2e1f4197fb8a913fa /make/gl-es2.cfg | |
parent | 5ff0c4c7322ffe32f76d1072a1d95197c7b3d6c0 (diff) |
Fixed: Manual declarations of wrappers in proper common interfaces
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1731 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'make/gl-es2.cfg')
-rwxr-xr-x | make/gl-es2.cfg | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/make/gl-es2.cfg b/make/gl-es2.cfg index feeb7d1ca..cdf936ba9 100755 --- a/make/gl-es2.cfg +++ b/make/gl-es2.cfg @@ -39,11 +39,9 @@ LocalProcAddressCallingConvention __ALL__ GL_APIENTRY # Pick up on-line OpenGL javadoc thanks to user cylab on javagaming.org forums TagNativeBinding true -CustomJavaCode GLES2 public void glClearDepth(double depth); CustomJavaCode GLES2Impl public void glClearDepth(double depth) { CustomJavaCode GLES2Impl glClearDepthf((float)depth); } -CustomJavaCode GLES2 public void glDepthRange(double zNear, double zFar); CustomJavaCode GLES2Impl public void glDepthRange(double zNear, double zFar) { CustomJavaCode GLES2Impl glDepthRangef((float)zNear, (float)zFar); } @@ -57,19 +55,6 @@ CustomCCode #include <GLES2/gl2ext.h> CustomCCode #include <stdlib.h> Include intptr.cfg -CustomJavaCode GLES2 public void glShaderSource(int shader, java.lang.String[] source); -CustomJavaCode GLES2 public void glShaderSource(IntBuffer shaders, java.lang.String[][] sources); -CustomJavaCode GLES2 public void glShaderBinary(IntBuffer shaders, int binFormat, java.nio.Buffer bin); -CustomJavaCode GLES2 /** -CustomJavaCode GLES2 * Wrapper for glShaderBinary and glShaderSource. -CustomJavaCode GLES2 * Tries binary first, if not null, then the source code, if not null. -CustomJavaCode GLES2 * The binary trial will fail in case no binary interface exist (GL2 profile), -CustomJavaCode GLES2 * hence the fallback to the source code. -CustomJavaCode GLES2 */ -CustomJavaCode GLES2 public void glShaderBinaryOrSource(IntBuffer shaders, -CustomJavaCode GLES2 int binFormat, java.nio.Buffer bin, -CustomJavaCode GLES2 java.lang.String[][] sources); - 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 |