diff options
author | Sven Gothel <[email protected]> | 2010-04-16 03:51:00 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2010-04-16 03:51:00 +0200 |
commit | bb028021be2714e66d9b1062298a3e308c649c56 (patch) | |
tree | d20a568ae0d7da2b9f600464a5bc18d88edb1b89 /make/config/jogl/gl-impl-CustomJavaCode-gl2es12.java | |
parent | bd4904fb04ab2168aeaf76e74385b3991429289a (diff) |
JOGL GL4 preperation:
- Re-Enable GL3bc native library build, works ..
- Adding all the is/get GL4/GL4bc stubs ..
- Adding dummy interface GL4 and GL4bc, will be removed when done
- Context creation refactoring:
- Move Version information to GLContext
- Determine version by creation if possible (ARB_create_context),
only use the unreliable GL_VERSION string if necessary.
- Offering an almost platform independent ARB_create_context path:
- createContextARBImpl - platform dependent GLX calls
- createContextARB - platform independent setup and version loop
Diffstat (limited to 'make/config/jogl/gl-impl-CustomJavaCode-gl2es12.java')
-rw-r--r-- | make/config/jogl/gl-impl-CustomJavaCode-gl2es12.java | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/make/config/jogl/gl-impl-CustomJavaCode-gl2es12.java b/make/config/jogl/gl-impl-CustomJavaCode-gl2es12.java index 2eca2b6ab..54c7bd92b 100644 --- a/make/config/jogl/gl-impl-CustomJavaCode-gl2es12.java +++ b/make/config/jogl/gl-impl-CustomJavaCode-gl2es12.java @@ -30,6 +30,14 @@ public final boolean isGL() { return true; } +public final boolean isGL4bc() { + return false; +} + +public final boolean isGL4() { + return false; +} + public final boolean isGL3bc() { return false; } @@ -74,6 +82,14 @@ public final GL getGL() throws GLException { return this; } +public final GL4bc getGL4bc() throws GLException { + throw new GLException("Not a GL4bc implementation"); +} + +public final GL4 getGL4() throws GLException { + throw new GLException("Not a GL4 implementation"); +} + public final GL3bc getGL3bc() throws GLException { throw new GLException("Not a GL3bc implementation"); } |