aboutsummaryrefslogtreecommitdiffstats
path: root/make/gl-gl2es12.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'make/gl-gl2es12.cfg')
-rw-r--r--make/gl-gl2es12.cfg13
1 files changed, 13 insertions, 0 deletions
diff --git a/make/gl-gl2es12.cfg b/make/gl-gl2es12.cfg
index 4eea286d8..1f80fa7a1 100644
--- a/make/gl-gl2es12.cfg
+++ b/make/gl-gl2es12.cfg
@@ -52,6 +52,19 @@ CustomJavaCode GL2ES12Impl glDepthRange((double)zNear, (double)zFar); }
Include gl-headers.cfg
Include intptr.cfg
+CustomJavaCode GL2ES12 public void glShaderSource(int shader, java.lang.String[] source);
+CustomJavaCode GL2ES12 public void glShaderSource(IntBuffer shaders, java.lang.String[][] sources);
+CustomJavaCode GL2ES12 public void glShaderBinary(IntBuffer shaders, int binFormat, java.nio.Buffer bin);
+CustomJavaCode GL2ES12 /**
+CustomJavaCode GL2ES12 * Wrapper for glShaderBinary and glShaderSource.
+CustomJavaCode GL2ES12 * Tries binary first, if not null, then the source code, if not null.
+CustomJavaCode GL2ES12 * The binary trial will fail in case no binary interface exist (GL2 profile),
+CustomJavaCode GL2ES12 * hence the fallback to the source code.
+CustomJavaCode GL2ES12 */
+CustomJavaCode GL2ES12 public void glShaderBinaryOrSource(IntBuffer shaders,
+CustomJavaCode GL2ES12 int binFormat, java.nio.Buffer bin,
+CustomJavaCode GL2ES12 java.lang.String[][] sources);
+
IncludeAs CustomJavaCode GL2ES12Impl gl-impl-CustomJavaCode-common.java
IncludeAs CustomJavaCode GL2ES12Impl gl-impl-CustomJavaCode-gl2es12.java
IncludeAs CustomJavaCode GL2ES12Impl gl-impl-CustomJavaCode-gl2_es2.java