aboutsummaryrefslogtreecommitdiffstats
path: root/make/config/jogl/gl-impl-CustomJavaCode-common.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-04-22 05:18:55 +0200
committerSven Gothel <[email protected]>2011-04-22 05:18:55 +0200
commit570d7df455ee0005ced53bddeb05adb04436fe3f (patch)
treec09f696876e50dfe063c9319b216a140549530b7 /make/config/jogl/gl-impl-CustomJavaCode-common.java
parent3dc5b9090dd84655a95958dea7e59be8fdc9662c (diff)
Add GL: glGetBufferSize(int buffer) - buffer size tracking, and add comments ..
Diffstat (limited to 'make/config/jogl/gl-impl-CustomJavaCode-common.java')
-rw-r--r--make/config/jogl/gl-impl-CustomJavaCode-common.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/make/config/jogl/gl-impl-CustomJavaCode-common.java b/make/config/jogl/gl-impl-CustomJavaCode-common.java
index 4872490b0..0a8e90171 100644
--- a/make/config/jogl/gl-impl-CustomJavaCode-common.java
+++ b/make/config/jogl/gl-impl-CustomJavaCode-common.java
@@ -7,11 +7,15 @@
return bufferStateTracker.getBoundBufferObject(target, this);
}
+ public long glGetBufferSize(int buffer) {
+ return bufferSizeTracker.getDirectStateBufferSize(buffer, this);
+ }
+
public boolean glIsVBOArrayEnabled() {
return checkArrayVBOEnabled(false);
}
- public boolean glIsVBOElementEnabled() {
+ public boolean glIsVBOElementArrayEnabled() {
return checkElementVBOEnabled(false);
}