public class GLObjectTracker extends Object
The ref
and unref
methods should be
used during the creation and destruction of OpenGL contexts by JOGL
in order to update the liveness of the objects being tracked. The
various other methods should be called by the OpenGL binding in the
various named methods.
Constructor and Description |
---|
GLObjectTracker() |
Modifier and Type | Method and Description |
---|---|
void |
addBuffers(int n,
int[] ids,
int ids_offset) |
void |
addBuffers(int n,
IntBuffer ids) |
void |
addBuffersARB(int n,
int[] ids,
int ids_offset) |
void |
addBuffersARB(int n,
IntBuffer ids) |
void |
addFencesAPPLE(int n,
int[] ids,
int ids_offset) |
void |
addFencesAPPLE(int n,
IntBuffer ids) |
void |
addFencesNV(int n,
int[] ids,
int ids_offset) |
void |
addFencesNV(int n,
IntBuffer ids) |
void |
addFragmentShadersATI(int start,
int n) |
void |
addFramebuffersEXT(int n,
int[] ids,
int ids_offset) |
void |
addFramebuffersEXT(int n,
IntBuffer ids) |
void |
addLists(int start,
int n) |
void |
addOcclusionQueriesNV(int n,
int[] ids,
int ids_offset) |
void |
addOcclusionQueriesNV(int n,
IntBuffer ids) |
void |
addProgramObject(int obj) |
void |
addProgramObjectARB(int obj) |
void |
addProgramsARB(int n,
int[] ids,
int ids_offset) |
void |
addProgramsARB(int n,
IntBuffer ids) |
void |
addProgramsNV(int n,
int[] ids,
int ids_offset) |
void |
addProgramsNV(int n,
IntBuffer ids) |
void |
addQueries(int n,
int[] ids,
int ids_offset) |
void |
addQueries(int n,
IntBuffer ids) |
void |
addQueriesARB(int n,
int[] ids,
int ids_offset) |
void |
addQueriesARB(int n,
IntBuffer ids) |
void |
addRenderbuffersEXT(int n,
int[] ids,
int ids_offset) |
void |
addRenderbuffersEXT(int n,
IntBuffer ids) |
void |
addShaderObject(int obj) |
void |
addShaderObjectARB(int obj) |
void |
addTextures(int n,
int[] ids,
int ids_offset) |
void |
addTextures(int n,
IntBuffer ids) |
void |
addVertexArraysAPPLE(int n,
int[] ids,
int ids_offset) |
void |
addVertexArraysAPPLE(int n,
IntBuffer ids) |
void |
addVertexShadersEXT(int start,
int n) |
void |
clean(GL gl) |
void |
ref() |
void |
removeBuffers(int n,
int[] ids,
int ids_offset) |
void |
removeBuffers(int n,
IntBuffer ids) |
void |
removeBuffersARB(int n,
int[] ids,
int ids_offset) |
void |
removeBuffersARB(int n,
IntBuffer ids) |
void |
removeFencesAPPLE(int n,
int[] ids,
int ids_offset) |
void |
removeFencesAPPLE(int n,
IntBuffer ids) |
void |
removeFencesNV(int n,
int[] ids,
int ids_offset) |
void |
removeFencesNV(int n,
IntBuffer ids) |
void |
removeFragmentShaderATI(int obj) |
void |
removeFramebuffersEXT(int n,
int[] ids,
int ids_offset) |
void |
removeFramebuffersEXT(int n,
IntBuffer ids) |
void |
removeLists(int start,
int n) |
void |
removeOcclusionQueriesNV(int n,
int[] ids,
int ids_offset) |
void |
removeOcclusionQueriesNV(int n,
IntBuffer ids) |
void |
removeProgramObject(int obj) |
void |
removeProgramOrShaderObjectARB(int obj) |
void |
removeProgramsARB(int n,
int[] ids,
int ids_offset) |
void |
removeProgramsARB(int n,
IntBuffer ids) |
void |
removeProgramsNV(int n,
int[] ids,
int ids_offset) |
void |
removeProgramsNV(int n,
IntBuffer ids) |
void |
removeQueries(int n,
int[] ids,
int ids_offset) |
void |
removeQueries(int n,
IntBuffer ids) |
void |
removeQueriesARB(int n,
int[] ids,
int ids_offset) |
void |
removeQueriesARB(int n,
IntBuffer ids) |
void |
removeRenderbuffersEXT(int n,
int[] ids,
int ids_offset) |
void |
removeRenderbuffersEXT(int n,
IntBuffer ids) |
void |
removeShaderObject(int obj) |
void |
removeTextures(int n,
int[] ids,
int ids_offset) |
void |
removeTextures(int n,
IntBuffer ids) |
void |
removeVertexArraysAPPLE(int n,
int[] ids,
int ids_offset) |
void |
removeVertexArraysAPPLE(int n,
IntBuffer ids) |
void |
removeVertexShaderEXT(int obj) |
void |
transferAll(GLObjectTracker other) |
void |
unref(GLObjectTracker deletedObjectPool) |
public void addBuffers(int n, IntBuffer ids)
public void addBuffers(int n, int[] ids, int ids_offset)
public void addBuffersARB(int n, IntBuffer ids)
public void addBuffersARB(int n, int[] ids, int ids_offset)
public void addFencesAPPLE(int n, IntBuffer ids)
public void addFencesAPPLE(int n, int[] ids, int ids_offset)
public void addFencesNV(int n, IntBuffer ids)
public void addFencesNV(int n, int[] ids, int ids_offset)
public void addFragmentShadersATI(int start, int n)
public void addFramebuffersEXT(int n, IntBuffer ids)
public void addFramebuffersEXT(int n, int[] ids, int ids_offset)
public void addLists(int start, int n)
public void addOcclusionQueriesNV(int n, IntBuffer ids)
public void addOcclusionQueriesNV(int n, int[] ids, int ids_offset)
public void addProgramObject(int obj)
public void addProgramObjectARB(int obj)
public void addProgramsARB(int n, IntBuffer ids)
public void addProgramsARB(int n, int[] ids, int ids_offset)
public void addProgramsNV(int n, IntBuffer ids)
public void addProgramsNV(int n, int[] ids, int ids_offset)
public void addQueries(int n, IntBuffer ids)
public void addQueries(int n, int[] ids, int ids_offset)
public void addQueriesARB(int n, IntBuffer ids)
public void addQueriesARB(int n, int[] ids, int ids_offset)
public void addRenderbuffersEXT(int n, IntBuffer ids)
public void addRenderbuffersEXT(int n, int[] ids, int ids_offset)
public void addShaderObject(int obj)
public void addShaderObjectARB(int obj)
public void addTextures(int n, IntBuffer ids)
public void addTextures(int n, int[] ids, int ids_offset)
public void addVertexArraysAPPLE(int n, IntBuffer ids)
public void addVertexArraysAPPLE(int n, int[] ids, int ids_offset)
public void addVertexShadersEXT(int start, int n)
public void removeBuffers(int n, IntBuffer ids)
public void removeBuffers(int n, int[] ids, int ids_offset)
public void removeBuffersARB(int n, IntBuffer ids)
public void removeBuffersARB(int n, int[] ids, int ids_offset)
public void removeFencesAPPLE(int n, IntBuffer ids)
public void removeFencesAPPLE(int n, int[] ids, int ids_offset)
public void removeFencesNV(int n, IntBuffer ids)
public void removeFencesNV(int n, int[] ids, int ids_offset)
public void removeFragmentShaderATI(int obj)
public void removeFramebuffersEXT(int n, IntBuffer ids)
public void removeFramebuffersEXT(int n, int[] ids, int ids_offset)
public void removeLists(int start, int n)
public void removeOcclusionQueriesNV(int n, IntBuffer ids)
public void removeOcclusionQueriesNV(int n, int[] ids, int ids_offset)
public void removeProgramObject(int obj)
public void removeProgramOrShaderObjectARB(int obj)
public void removeProgramsARB(int n, IntBuffer ids)
public void removeProgramsARB(int n, int[] ids, int ids_offset)
public void removeProgramsNV(int n, IntBuffer ids)
public void removeProgramsNV(int n, int[] ids, int ids_offset)
public void removeQueries(int n, IntBuffer ids)
public void removeQueries(int n, int[] ids, int ids_offset)
public void removeQueriesARB(int n, IntBuffer ids)
public void removeQueriesARB(int n, int[] ids, int ids_offset)
public void removeRenderbuffersEXT(int n, IntBuffer ids)
public void removeRenderbuffersEXT(int n, int[] ids, int ids_offset)
public void removeShaderObject(int obj)
public void removeTextures(int n, IntBuffer ids)
public void removeTextures(int n, int[] ids, int ids_offset)
public void removeVertexArraysAPPLE(int n, IntBuffer ids)
public void removeVertexArraysAPPLE(int n, int[] ids, int ids_offset)
public void removeVertexShaderEXT(int obj)
public void transferAll(GLObjectTracker other)
public void ref()
public void unref(GLObjectTracker deletedObjectPool)
public void clean(GL gl)
Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.