Methods Summary |
---|
public abstract void | beginRenderTarget(RawTexture texture)
|
public abstract void | clearBuffer()
|
public abstract void | clearBuffer(float[] argb)
|
public abstract void | deleteBuffer(int bufferId)
|
public abstract void | deleteRecycledResources()
|
public abstract void | drawLine(float x1, float y1, float x2, float y2, GLPaint paint)
|
public abstract void | drawMesh(BasicTexture tex, int x, int y, int xyBuffer, int uvBuffer, int indexBuffer, int indexCount)
|
public abstract void | drawMixed(BasicTexture from, int toColor, float ratio, int x, int y, int w, int h)
|
public abstract void | drawMixed(BasicTexture from, int toColor, float ratio, android.graphics.RectF src, android.graphics.RectF target)
|
public abstract void | drawRect(float x1, float y1, float x2, float y2, GLPaint paint)
|
public abstract void | drawTexture(BasicTexture texture, int x, int y, int width, int height)
|
public abstract void | drawTexture(BasicTexture texture, android.graphics.RectF source, android.graphics.RectF target)
|
public abstract void | drawTexture(BasicTexture texture, float[] mTextureTransform, int x, int y, int w, int h)
|
public abstract void | dumpStatisticsAndClear()
|
public abstract void | endRenderTarget()
|
public abstract void | fillRect(float x, float y, float width, float height, int color)
|
public abstract float | getAlpha()
|
public abstract void | getBounds(android.graphics.Rect bounds, int x, int y, int width, int height)Gets the bounds given by x, y, width, and height as well as the internal
matrix state. There is no special handling for non-90-degree rotations.
It only considers the lower-left and upper-right corners as the bounds.
|
public GLId | getGLId()
|
public abstract void | initializeTexture(BasicTexture texture, android.graphics.Bitmap bitmap)Initializes the texture to a size by calling texImage2D on it.
|
public abstract void | initializeTextureSize(BasicTexture texture, int format, int type)Initializes the texture to a size by calling texImage2D on it.
|
public abstract void | multiplyAlpha(float alpha)
|
public abstract void | multiplyMatrix(float[] mMatrix, int offset)
|
public abstract void | recoverFromLightCycle()After LightCycle makes GL calls, this method is called to restore the GL
configuration to the one expected by GLCanvas.
|
public abstract void | restore()
|
public abstract void | rotate(float angle, float x, float y, float z)
|
public abstract void | save()
|
public abstract void | save(int saveFlags)
|
public abstract void | scale(float sx, float sy, float sz)
|
public abstract void | setAlpha(float alpha)
|
public abstract void | setSize(int width, int height)
|
public abstract void | setTextureParameters(BasicTexture texture)Sets texture parameters to use GL_CLAMP_TO_EDGE for both
GL_TEXTURE_WRAP_S and GL_TEXTURE_WRAP_T. Sets texture parameters to be
GL_LINEAR for GL_TEXTURE_MIN_FILTER and GL_TEXTURE_MAG_FILTER.
bindTexture() must be called prior to this.
|
public abstract void | texSubImage2D(BasicTexture texture, int xOffset, int yOffset, android.graphics.Bitmap bitmap, int format, int type)Calls glTexSubImage2D to upload a bitmap to the texture.
|
public abstract void | translate(float x, float y, float z)
|
public abstract void | translate(float x, float y)
|
public abstract boolean | unloadTexture(BasicTexture texture)
|
public abstract int | uploadBuffer(java.nio.FloatBuffer buffer)Generates buffers and uploads the buffer data.
|
public abstract int | uploadBuffer(java.nio.ByteBuffer buffer)Generates buffers and uploads the element array buffer data.
|