Home | History | Annotate | Download | only in renderscript

Lines Matching refs:Primitive

39  *  index sets or primitive types.
49 public enum Primitive {
85 Primitive(int id) {
92 Primitive[] mPrimitives;
144 * @return index set primitive type
147 public Primitive getPrimitive(int slot) {
166 mPrimitives = new Primitive[idxCount];
180 mPrimitives[i] = Primitive.values()[primitives[i]];
199 Primitive prim;
288 * @param p primitive type
292 public Builder addIndexSetType(Type t, Primitive p) {
304 * Adds an index set primitive type to the builder object
306 * @param p primitive type
310 public Builder addIndexSetType(Primitive p) {
326 * @param p primitive type
330 public Builder addIndexSetType(Element e, int size, Primitive p) {
359 Primitive[] primitives = new Primitive[mIndexTypes.size()];
411 Primitive prim;
473 * @param p index set primitive type
477 public AllocationBuilder addIndexSetAllocation(Allocation a, Primitive p) {
489 * @param p index set primitive type
493 public AllocationBuilder addIndexSetType(Primitive p) {
514 Primitive[] primitives = new Primitive[mIndexTypes.size()];
810 smb.addIndexSetType(Element.U16(mRS), mIndexCount, Primitive.TRIANGLE);