Home | History | Annotate | Download | only in renderscript

Lines Matching full:allocation

28 public class AllocationAdapter extends Allocation {
29 AllocationAdapter(int id, RenderScript rs, Allocation alloc) {
135 * type being adapted. The base allocation must have mipmaps.
144 throw new RSInvalidStateException("Cannot set LOD when the allocation type does not include mipmaps.");
154 * Set the active Face. The base allocation must be of a type
161 throw new RSInvalidStateException("Cannot set Face when the allocation type does not include faces.");
175 * the allocation being adapted. The base allocation must
182 throw new RSInvalidStateException("Cannot set Y when the allocation type does not include Y dim.");
185 throw new RSInvalidStateException("Cannot set Y greater than dimension of allocation.");
196 * the allocation being adapted. The base allocation must
203 throw new RSInvalidStateException("Cannot set Z when the allocation type does not include Z dim.");
206 throw new RSInvalidStateException("Cannot set Z greater than dimension of allocation.");
215 static public AllocationAdapter create1D(RenderScript rs, Allocation a) {
226 static public AllocationAdapter create2D(RenderScript rs, Allocation a) {
240 * Override the Allocation resize. Resizing adapters is not