Home | History | Annotate | Download | only in glrenderer

Lines Matching refs:texture

58     // Draws a texture to the specified rectangle.
59 public abstract void drawTexture(BasicTexture texture, int x, int y, int width, int height);
61 // Draws the source rectangle part of the texture to the target rectangle.
62 public abstract void drawTexture(BasicTexture texture, RectF source, RectF target);
64 // Unloads the specified texture from the canvas. The resource allocated
65 // to draw the texture will be released. The specified texture will return
68 public abstract boolean unloadTexture(BasicTexture texture);
75 * Sets texture parameters to use GL_CLAMP_TO_EDGE for both
76 * GL_TEXTURE_WRAP_S and GL_TEXTURE_WRAP_T. Sets texture parameters to be
80 * @param texture The texture to set parameters on.
82 public abstract void setTextureParameters(BasicTexture texture);
85 * Initializes the texture to a size by calling texImage2D on it.
87 * @param texture The texture to initialize the size.
88 * @param format The texture format (e.g. GL_RGBA)
89 * @param type The texture type (e.g. GL_UNSIGNED_BYTE)
91 public abstract void initializeTextureSize(BasicTexture texture, int format, int type);
94 * Initializes the texture to a size by calling texImage2D on it.
96 * @param texture The texture to initialize the size.
99 public abstract void initializeTexture(BasicTexture texture, Bitmap bitmap);
102 * Calls glTexSubImage2D to upload a bitmap to the texture.
104 * @param texture The target texture to write to.
106 * texture array.
108 * texture array.
109 * @param format The texture format (e.g. GL_RGBA)
110 * @param type The texture type (e.g. GL_UNSIGNED_BYTE)
112 public abstract void texSubImage2D(BasicTexture texture, int xOffset, int yOffset,