public class GLContextShareSet
extends java.lang.Object
Constructor and Description |
---|
GLContextShareSet() |
Modifier and Type | Method and Description |
---|---|
static void |
contextCreated(GLContext context) |
static void |
contextDestroyed(GLContext context) |
static GLContext |
getShareContext(GLContext contextToCreate) |
static void |
registerForBufferObjectSharing(GLContext olderContextOrNull,
GLContext newContext)
In order to avoid glGet calls for buffer object checks related
to glVertexPointer, etc.
|
static void |
registerForObjectTracking(GLContext olderContextOrNull,
GLContext newContext,
GLContext realShareContext)
Indicates that the two supplied contexts (which must be able to
share textures and display lists) should be in the same
namespace for tracking of server-side object creation and
deletion.
|
static void |
registerSharing(GLContext share1,
GLContext share2)
Indicate that contexts
share1 and
share2 will share textures and display lists. |
public static void registerSharing(GLContext share1, GLContext share2)
share1
and
share2
will share textures and display lists. Both
must be non-null.public static void contextCreated(GLContext context)
public static void contextDestroyed(GLContext context)
public static void registerForObjectTracking(GLContext olderContextOrNull, GLContext newContext, GLContext realShareContext)
public static void registerForBufferObjectSharing(GLContext olderContextOrNull, GLContext newContext)
Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.