Class GlRenderTarget

java.lang.Object
com.brightcove.player.video360.GlRenderTarget

@RequiresApi(api=17) public class GlRenderTarget extends Object
  • 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

      public void createRenderSurface(Object surfaceTexture)
    • swapBuffers

      public void swapBuffers()
    • makeCurrent

      public void makeCurrent()