diff options
author | sg215889 <[email protected]> | 2009-07-29 06:27:46 -0700 |
---|---|---|
committer | sg215889 <[email protected]> | 2009-07-29 06:27:46 -0700 |
commit | b5ce9cce6223810c6df7b66cf1a51318309fdc90 (patch) | |
tree | b43116500cc26a53545d571972aa29c0711670c0 /make/config/jogl/gl-impl-CustomJavaCode-gles1.java | |
parent | b00c6b4d36d60bc3a29a4458e42fb29c9a9ca941 (diff) |
Fixed GL* documentation. Moved common GL functions to GLBase. Moved glAllocateMemoryNV to GL2GL3 only. Add GL2GL3 interface. Fix some GL2 signatures. BroadcomEGL disable custom setSize().
Diffstat (limited to 'make/config/jogl/gl-impl-CustomJavaCode-gles1.java')
-rwxr-xr-x | make/config/jogl/gl-impl-CustomJavaCode-gles1.java | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/make/config/jogl/gl-impl-CustomJavaCode-gles1.java b/make/config/jogl/gl-impl-CustomJavaCode-gles1.java index d349f8018..5141376df 100755 --- a/make/config/jogl/gl-impl-CustomJavaCode-gles1.java +++ b/make/config/jogl/gl-impl-CustomJavaCode-gles1.java @@ -36,6 +36,10 @@ public final boolean isGL2ES2() { return false; } +public final boolean isGL2GL3() { + return false; +} + public final boolean hasGLSL() { return false; } @@ -68,6 +72,10 @@ public final GL2ES2 getGL2ES2() throws GLException { throw new GLException("Not a GL2ES2 implementation"); } +public final GL2GL3 getGL2GL3() throws GLException { + throw new GLException("Not a GL2GL3 implementation"); +} + public boolean isFunctionAvailable(String glFunctionName) { return _context.isFunctionAvailable(glFunctionName); } @@ -89,14 +97,6 @@ public GLContext getContext() { private GLContextImpl _context; -/** - * Provides platform-independent access to the wglAllocateMemoryNV / - * glXAllocateMemoryNV extension. - */ -public java.nio.ByteBuffer glAllocateMemoryNV(int arg0, float arg1, float arg2, float arg3) { - return _context.glAllocateMemoryNV(arg0, arg1, arg2, arg3); -} - public void setSwapInterval(int interval) { _context.setSwapInterval(interval); } |