@WorkerThread
public abstract class GlObject
extends java.lang.Object
Constructor and Description |
---|
GlObject() |
Modifier and Type | Method and Description |
---|---|
static void |
createGlContext(GlThreadRunner glThreadRunner) |
static void |
destroyGlContext() |
protected void |
finalize() |
void |
markAsUnused() |
protected abstract void |
onRelease() |
void |
release() |
static void |
resetToDisplayViewPort() |
static void |
setDisplayViewPort(int x,
int y,
int width,
int height) |
@WorkerThread public static void createGlContext(GlThreadRunner glThreadRunner)
@WorkerThread public static void destroyGlContext()
@CallSuper @AnyThread protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
@WorkerThread @AnyThread public final void markAsUnused()
@CallSuper protected abstract void onRelease()
@WorkerThread public final void release()
public static void resetToDisplayViewPort()
public static void setDisplayViewPort(int x, int y, int width, int height)