Home | History | Annotate | Download | only in ui

Lines Matching defs:Texture

28 public abstract class Texture {
31 private static final String TAG = "Texture";
49 protected Texture(GL11 gl, int id, int state) {
55 protected Texture() {
102 // Upload the bitmap to a new texture.
126 "Texture upload fail, glError " + glError);
128 // Update texture state.
131 mState = Texture.STATE_LOADED;
135 throw new RuntimeException("Texture load fail, no bitmap");
148 if (mState == Texture.STATE_UNLOADED || mGL != gl) {
149 mState = Texture.STATE_UNLOADED;