• Home
  • Raw
  • Download

Lines Matching refs:Allocation

81     Allocation[] mVertexBuffers;
82 Allocation[] mIndexBuffers;
104 public Allocation getVertexAllocation(int slot) { in getVertexAllocation()
125 public Allocation getIndexSetAllocation(int slot) { in getIndexSetAllocation()
150 mVertexBuffers = new Allocation[vtxCount]; in updateFromNative()
151 mIndexBuffers = new Allocation[idxCount]; in updateFromNative()
156 mVertexBuffers[i] = new Allocation(vtxIDs[i], mRS, null, Allocation.USAGE_SCRIPT); in updateFromNative()
163 mIndexBuffers[i] = new Allocation(idxIDs[i], mRS, null, Allocation.USAGE_SCRIPT); in updateFromNative()
333 Allocation[] vertexBuffers = new Allocation[mVertexTypeCount]; in create()
334 Allocation[] indexBuffers = new Allocation[mIndexTypes.size()]; in create()
338 Allocation alloc = null; in create()
341 alloc = Allocation.createTyped(mRS, entry.t, mUsage); in create()
343 alloc = Allocation.createSized(mRS, entry.e, entry.size, mUsage); in create()
350 Allocation alloc = null; in create()
353 alloc = Allocation.createTyped(mRS, entry.t, mUsage); in create()
355 alloc = Allocation.createSized(mRS, entry.e, entry.size, mUsage); in create()
385 Allocation a;
425 public AllocationBuilder addVertexAllocation(Allocation a) throws IllegalStateException { in addVertexAllocation()
445 public AllocationBuilder addIndexSetAllocation(Allocation a, Primitive p) { in addIndexSetAllocation()
479 Allocation[] indexBuffers = new Allocation[mIndexTypes.size()]; in create()
481 Allocation[] vertexBuffers = new Allocation[mVertexTypeCount]; in create()
750 int usage = Allocation.USAGE_SCRIPT; in create()
752 usage |= Allocation.USAGE_GRAPHICS_VERTEX; in create()
764 sm.getVertexAllocation(0).syncAll(Allocation.USAGE_SCRIPT); in create()
770 sm.getIndexSetAllocation(0).syncAll(Allocation.USAGE_SCRIPT); in create()