Home | History | Annotate | Download | only in grass

Lines Matching refs:allocation

25 import android.renderscript.Allocation;
97 private Allocation[] mTextures;
100 private Allocation mState;
103 private Allocation mBlades;
104 private Allocation mBladesBuffer;
105 private Allocation mBladesIndicies;
245 mState = Allocation.createTyped(mRS, mStateType);
254 mBlades = Allocation.createTyped(mRS, mBladesType);
291 final Allocation buffer = mBladesBuffer;
348 mTextures = new Allocation[TEXTURES_COUNT];
350 final Allocation[] textures = mTextures;
363 private Allocation generateTextureAlpha(int width, int height, int[] data, String name) {
369 final Allocation allocation = Allocation.createTyped(mRS, builder.create());
370 allocation.setName(name);
374 Allocation.Adapter2D a = allocation.createAdapter2D();
382 return allocation;
385 private Allocation loadTexture(int id, String name) {
386 final Allocation allocation = Allocation.createFromBitmapResource(mRS, mResources,
388 allocation.setName(name);
389 return allocation;