java.lang.Object
com.android.grafika.gles.EglSurfaceBase
It's good practice to explicitly release() the surface, preferably from a "finally" block.
From Class | Fields |
---|---|
com.android.grafika.gles.EglSurfaceBase | mEglCore |
Creates an off-screen surface with the specified width and height.
public OffscreenSurface(EglCore eglCore,int width,int height)
Releases any resources associated with the surface.
public void release()
From Class | Methods |
---|---|
com.android.grafika.gles.EglSurfaceBase | createWindowSurface, createOffscreenSurface, getWidth, getHeight, releaseEglSurface, makeCurrent, makeCurrentReadFrom, swapBuffers, setPresentationTime, saveFrame |
java.lang.Object | getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize |