-
@RequiresApi(api = Build.VERSION_CODES.JELLY_BEAN_MR1) public class GlRenderTarget
-
-
Constructor Summary
Constructors Constructor Description GlRenderTarget()
Constructs a new Open GL render target.
-
Method Summary
Modifier and Type Method Description boolean
hasValidContext()
Checks if the current Open GL context is valid. boolean
hasValidSurface()
Checks if the current Open GL surface is valid. void
initialize()
void
release()
Releases the Open GL resource used by this render target. void
createRenderSurface(Object surfaceTexture)
void
swapBuffers()
void
makeCurrent()
-
-
Method Detail
-
hasValidContext
boolean hasValidContext()
Checks if the current Open GL context is valid.
-
hasValidSurface
boolean hasValidSurface()
Checks if the current Open GL surface is valid.
-
initialize
void initialize()
-
release
void release()
Releases the Open GL resource used by this render target.
-
createRenderSurface
void createRenderSurface(Object surfaceTexture)
-
swapBuffers
void swapBuffers()
-
makeCurrent
void makeCurrent()
-
-
-
-