public class SurfaceManager
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TAG |
Constructor and Description |
---|
SurfaceManager(Surface surface)
Creates an EGL context and an EGL surface.
|
SurfaceManager(Surface surface,
SurfaceManager manager)
Creates an EGL context and an EGL surface.
|
Modifier and Type | Method and Description |
---|---|
void |
makeCurrent() |
void |
release()
Discards all resources held by this class, notably the EGL context.
|
void |
setPresentationTime(long nsecs)
Sends the presentation time stamp to EGL.
|
void |
swapBuffer() |
public static final java.lang.String TAG
public SurfaceManager(Surface surface, SurfaceManager manager)
public SurfaceManager(Surface surface)
public void makeCurrent()
public void swapBuffer()
public void setPresentationTime(long nsecs)
public void release()