Prepares the object.
public FullFrameRect(Texture2dProgram program)
This must be called with the appropriate EGL context current (i.e. the one that was current when the constructor was called). If we're about to destroy the EGL context, there's no value in having the caller make it current just to do this cleanup, so you can pass a flag that will tell this function to skip any EGL-context-specific cleanup.
public void release(boolean doEglCleanup)
Returns the program currently in use.
public com.android.grafika.gles.Texture2dProgram getProgram()
Changes the program. The previous program will be released.
The appropriate EGL context must be current.
public void changeProgram(Texture2dProgram program)
Creates a texture object suitable for use with drawFrame().
public int createTextureObject()
Draws a viewport-filling rect, texturing it with the specified texture object.
public void drawFrame(int textureId,float texMatrix)
|java.lang.Object||getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize|