public class OffscreenSurface extends EglSurfaceBase
It's good practice to explicitly release() the surface, preferably from a "finally" block.
mEglCore| Constructor and Description |
|---|
OffscreenSurface(EglCore eglCore,
int width,
int height)
Creates an off-screen surface with the specified width and height.
|
| Modifier and Type | Method and Description |
|---|---|
void |
release()
Releases any resources associated with the surface.
|
createOffscreenSurface, createWindowSurface, getHeight, getWidth, makeCurrent, makeCurrentReadFrom, releaseEglSurface, saveFrame, setPresentationTime, swapBufferspublic OffscreenSurface(EglCore eglCore, int width, int height)