public class WindowSurface extends EglSurfaceBase
mEglCore, TAG| Constructor and Description |
|---|
WindowSurface(EglCore eglCore,
android.view.Surface surface,
boolean releaseSurface)
Associates an EGL surface with the native window surface.
|
WindowSurface(EglCore eglCore,
android.graphics.SurfaceTexture surfaceTexture)
Associates an EGL surface with the SurfaceTexture.
|
| Modifier and Type | Method and Description |
|---|---|
void |
recreate(EglCore newEglCore)
Recreate the EGLSurface, using the new EglBase.
|
void |
release()
Releases any resources associated with the EGL surface (and, if configured to do so,
with the Surface as well).
|
createOffscreenSurface, createWindowSurface, getHeight, getWidth, makeCurrent, makeCurrentReadFrom, releaseEglSurface, saveFrame, setPresentationTime, swapBufferspublic WindowSurface(EglCore eglCore, android.view.Surface surface, boolean releaseSurface)
public WindowSurface(EglCore eglCore, android.graphics.SurfaceTexture surfaceTexture)
public void release()
public void recreate(EglCore newEglCore)