Lines Matching defs:mTextureHash
42 Texture[] mTextureHash;
50 mTextureHash = new Texture[DEFAULT_SIZE];
51 for (int x = 0; x < mTextureHash.length; x++) {
52 mTextureHash[x] = new Texture();
90 for (int x = 0; x < mTextureHash.length; x++) {
91 if (mTextureHash[x].resource != -1 && mTextureHash[x].loaded == false) {
92 loadBitmap(context, gl, mTextureHash[x]);
99 for (int x = 0; x < mTextureHash.length; x++) {
100 if (mTextureHash[x].resource != -1 && mTextureHash[x].loaded) {
101 assert mTextureHash[x].name != -1;
102 mTextureNameWorkspace[0] = mTextureHash[x].name;
103 mTextureHash[x].name = -1;
104 mTextureHash[x].loaded = false;
108 DebugLog.d("Texture Delete", "GLError: " + error + " (" + GLU.gluErrorString(error) + "): " + mTextureHash[x].resource);
118 for (int x = 0; x < mTextureHash.length; x++) {
119 if (mTextureHash[x].resource != -1 && mTextureHash[x].loaded) {
120 mTextureHash[x].name = -1;
121 mTextureHash[x].loaded = false;
225 texture = mTextureHash[realIndex];
231 return id % mTextureHash.length;
245 for (int x = 0; x < mTextureHash.length; x++) {
246 final int actualIndex = (startIndex + x) % mTextureHash.length;
247 if (mTextureHash[actualIndex].resource == key) {
250 } else if (mTextureHash[actualIndex].resource == -1) {
264 mTextureHash[index].resource = id;
265 mTextureHash[index].name = name;
266 mTextureHash[index].width = width;
267 mTextureHash[index].height = height;
268 texture = mTextureHash[index];
275 for (int x = 0; x < mTextureHash.length; x++) {
276 mTextureHash[x].reset();