Lines Matching refs:BasicTexture
25 // BasicTexture is a Texture corresponds to a real GL texture.
26 // The state of a BasicTexture indicates whether its data is loaded to GL memory.
27 // If a BasicTexture is loaded into GL memory, it has a GL texture id.
28 public abstract class BasicTexture implements Texture {
30 private static final String TAG = "BasicTexture";
50 private static WeakHashMap<BasicTexture, Object> sAllTextures
51 = new WeakHashMap<BasicTexture, Object>();
54 protected BasicTexture(GLCanvas canvas, int id, int state) {
63 protected BasicTexture() {
155 sInFinalizer.set(BasicTexture.class);
162 for (BasicTexture t : sAllTextures.keySet()) {
170 for (BasicTexture t : sAllTextures.keySet()) {