Lines Matching refs:Entry
194 class Entry {
203 Entry[] mVertexTypes;
218 mVertexTypes = new Entry[16];
253 mVertexTypes[mVertexTypeCount] = new Entry();
274 mVertexTypes[mVertexTypeCount] = new Entry();
292 Entry indexType = new Entry();
310 Entry indexType = new Entry();
330 Entry indexType = new Entry();
362 Entry entry = mVertexTypes[ct];
363 if (entry.t != null) {
364 alloc = Allocation.createTyped(mRS, entry.t, mUsage);
365 } else if(entry.e != null) {
366 alloc = Allocation.createSized(mRS, entry.e, entry.size, mUsage);
369 throw new IllegalStateException("Builder corrupt, no valid element in entry.");
377 Entry entry = (Entry)mIndexTypes.elementAt(ct);
378 if (entry.t != null) {
379 alloc = Allocation.createTyped(mRS, entry.t, mUsage);
380 } else if(entry.e != null) {
381 alloc = Allocation.createSized(mRS, entry.e, entry.size, mUsage);
384 throw new IllegalStateException("Builder corrupt, no valid element in entry.");
388 primitives[ct] = entry.prim;
391 prim[ct] = entry.prim.mID;
414 class Entry {
420 Entry[] mVertexTypes;
430 mVertexTypes = new Entry[16];
466 mVertexTypes[mVertexTypeCount] = new Entry();
483 Entry indexType = new Entry();
499 Entry indexType = new Entry();
523 Entry entry = mVertexTypes[ct];
524 vertexBuffers[ct] = entry.a;
525 vtx[ct] = entry.a.getID(mRS);
529 Entry entry = (Entry)mIndexTypes.elementAt(ct);
530 long allocID = (entry.a == null) ? 0 : entry.a.getID(mRS);
531 indexBuffers[ct] = entry.a;
532 primitives[ct] = entry.prim;
535 prim[ct] = entry.prim.mID;