Package com.brightcove.player.video360
Class GlRenderTarget
java.lang.Object
com.brightcove.player.video360.GlRenderTarget
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateRenderSurface(Object surfaceTexture) booleanChecks if the current Open GL context is valid.booleanChecks if the current Open GL surface is valid.voidvoidvoidrelease()Releases the Open GL resource used by this render target.void
-
Constructor Details
-
GlRenderTarget
public GlRenderTarget()Constructs a new Open GL render target.- Throws:
OpenGLException- if the render target could not be created.
-
-
Method Details
-
hasValidContext
public boolean hasValidContext()Checks if the current Open GL context is valid.- Returns:
-
hasValidSurface
public boolean hasValidSurface()Checks if the current Open GL surface is valid.- Returns:
-
initialize
public void initialize() -
release
public void release()Releases the Open GL resource used by this render target. -
createRenderSurface
-
swapBuffers
public void swapBuffers() -
makeCurrent
public void makeCurrent()
-