Home | History | Annotate | Download | only in renderscript

Lines Matching defs:Primitive

37  *  index sets or primitive types.
47 public enum Primitive {
83 Primitive(int id) {
90 Primitive[] mPrimitives;
143 * @return index set primitive type
146 public Primitive getPrimitive(int slot) {
165 mPrimitives = new Primitive[idxCount];
179 mPrimitives[i] = Primitive.values()[primitives[i]];
198 Primitive prim;
287 * @param p primitive type
291 public Builder addIndexSetType(Type t, Primitive p) {
303 * Adds an index set primitive type to the builder object
305 * @param p primitive type
309 public Builder addIndexSetType(Primitive p) {
325 * @param p primitive type
329 public Builder addIndexSetType(Element e, int size, Primitive p) {
358 Primitive[] primitives = new Primitive[mIndexTypes.size()];
416 Primitive prim;
478 * @param p index set primitive type
482 public AllocationBuilder addIndexSetAllocation(Allocation a, Primitive p) {
494 * @param p index set primitive type
498 public AllocationBuilder addIndexSetType(Primitive p) {
519 Primitive[] primitives = new Primitive[mIndexTypes.size()];
815 smb.addIndexSetType(Element.U16(mRS), mIndexCount, Primitive.TRIANGLE);