diff options
Diffstat (limited to 'make/config/jogl/gl-impl-CustomJavaCode-gles3.java')
-rw-r--r-- | make/config/jogl/gl-impl-CustomJavaCode-gles3.java | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/make/config/jogl/gl-impl-CustomJavaCode-gles3.java b/make/config/jogl/gl-impl-CustomJavaCode-gles3.java index 3e0585e96..1e9082330 100644 --- a/make/config/jogl/gl-impl-CustomJavaCode-gles3.java +++ b/make/config/jogl/gl-impl-CustomJavaCode-gles3.java @@ -374,45 +374,3 @@ public final void glDepthRange(double zNear, double zFar) { glDepthRangef((float)zNear, (float)zFar); } -// -// GLBufferObjectTracker Redirects -// - -@Override -public final void glBufferData(int target, long size, Buffer data, int usage) { - final long glProcAddress = _pat._addressof_glBufferData; - if ( 0 == glProcAddress ) { - throw new GLException(String.format("Method \"%s\" not available", "glBufferData")); - } - bufferObjectTracker.createBufferStorage(bufferStateTracker, this, - target, size, data, usage, 0 /* immutableFlags */, - createBoundMutableStorageDispatch, glProcAddress); -} - -@Override -public boolean glUnmapBuffer(int target) { - final long glProcAddress = _pat._addressof_glUnmapBuffer; - if ( 0 == glProcAddress ) { - throw new GLException(String.format("Method \"%s\" not available", "glUnmapBuffer")); - } - return bufferObjectTracker.unmapBuffer(bufferStateTracker, this, target, unmapBoundBufferDispatch, glProcAddress); -} - -@Override -public final GLBufferStorage mapBuffer(final int target, final int access) { - final long glProcAddress = _pat._addressof_glMapBuffer; - if ( 0 == glProcAddress ) { - throw new GLException("Method \"glMapBuffer\" not available"); - } - return bufferObjectTracker.mapBuffer(bufferStateTracker, this, target, access, mapBoundBufferAllDispatch, glProcAddress); -} -@Override -public final GLBufferStorage mapBufferRange(final int target, final long offset, final long length, final int access) { - final long glProcAddress = _pat._addressof_glMapBufferRange; - if ( 0 == glProcAddress ) { - throw new GLException("Method \"glMapBufferRange\" not available"); - } - return bufferObjectTracker.mapBuffer(bufferStateTracker, this, target, offset, length, access, mapBoundBufferRangeDispatch, glProcAddress); -} - - |