summaryrefslogtreecommitdiffstats
path: root/make/gl-impl-CustomJavaCode.java
diff options
context:
space:
mode:
Diffstat (limited to 'make/gl-impl-CustomJavaCode.java')
-rw-r--r--make/gl-impl-CustomJavaCode.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/make/gl-impl-CustomJavaCode.java b/make/gl-impl-CustomJavaCode.java
index 7f4902c83..0e3762724 100644
--- a/make/gl-impl-CustomJavaCode.java
+++ b/make/gl-impl-CustomJavaCode.java
@@ -2,6 +2,11 @@
// query Vertex Buffer Object state
private boolean inBeginEndPair;
+// Tracks creation and destruction of server-side OpenGL objects when
+// the Java2D/OpenGL pipeline is enabled and it is using frame buffer
+// objects (FBOs) to do its rendering
+private GLObjectTracker tracker;
+
public GLImpl(GLContextImpl context) {
this._context = context;
}
@@ -37,6 +42,10 @@ public Object getPlatformGLExtensions() {
return _context.getPlatformGLExtensions();
}
+public void setObjectTracker(GLObjectTracker tracker) {
+ this.tracker = tracker;
+}
+
//
// Helpers for ensuring the correct amount of texture data
//