Home | History | Annotate | Download | only in cpp

Lines Matching refs:Element

27 class Element : public BaseObj {
30 * Return if a element is too complex for use as a data source for a Mesh or
39 * @return number of sub-elements in this element
47 * @param index index of the sub-element to return
48 * @return sub-element in this element at given index
50 sp<const Element> getSubElement(uint32_t index);
54 * @param index index of the sub-element
55 * @return sub-element in this element at given index
61 * @param index index of the sub-element
62 * @return array size of sub-element in this element at given index
68 * @param index index of the sub-element
69 * @return offset in bytes of sub-element in this element at given index
75 * @return element data type
83 * @return element data kind
94 static sp<const Element> BOOLEAN(RenderScript *rs);
95 static sp<const Element> U8(RenderScript *rs);
96 static sp<const Element> I8(RenderScript *rs);
97 static sp<const Element> U16(RenderScript *rs);
98 static sp<const Element> I16(RenderScript *rs);
99 static sp<const Element> U32(RenderScript *rs);
100 static sp<const Element> I32(RenderScript *rs);
101 static sp<const Element> U64(RenderScript *rs);
102 static sp<const Element> I64(RenderScript *rs);
103 static sp<const Element> F32(RenderScript *rs);
104 static sp<const Element> F64(RenderScript *rs);
105 static sp<const Element> ELEMENT(RenderScript *rs);
106 static sp<const Element> TYPE(RenderScript *rs);
107 static sp<const Element> ALLOCATION(RenderScript *rs);
108 static sp<const Element> SAMPLER(RenderScript *rs);
109 static sp<const Element> SCRIPT(RenderScript *rs);
110 static sp<const Element> MESH(RenderScript *rs);
111 static sp<const Element> PROGRAM_FRAGMENT(RenderScript *rs);
112 static sp<const Element> PROGRAM_VERTEX(RenderScript *rs);
113 static sp<const Element> PROGRAM_RASTER(RenderScript *rs);
114 static sp<const Element> PROGRAM_STORE(RenderScript *rs);
116 static sp<const Element> A_8(RenderScript *rs);
117 static sp<const Element> RGB_565(RenderScript *rs);
118 static sp<const Element> RGB_888(RenderScript *rs);
119 static sp<const Element> RGBA_5551(RenderScript *rs);
120 static sp<const Element> RGBA_4444(RenderScript *rs);
121 static sp<const Element> RGBA_8888(RenderScript *rs);
123 static sp<const Element> F32_2(RenderScript *rs);
124 static sp<const Element> F32_3(RenderScript *rs);
125 static sp<const Element> F32_4(RenderScript *rs);
126 static sp<const Element> F64_2(RenderScript *rs);
127 static sp<const Element> F64_3(RenderScript *rs);
128 static sp<const Element> F64_4(RenderScript *rs);
129 static sp<const Element> U8_2(RenderScript *rs);
130 static sp<const Element> U8_3(RenderScript *rs);
131 static sp<const Element> U8_4(RenderScript *rs);
132 static sp<const Element> I8_2(RenderScript *rs);
133 static sp<const Element> I8_3(RenderScript *rs);
134 static sp<const Element> I8_4(RenderScript *rs);
135 static sp<const Element> U16_2(RenderScript *rs);
136 static sp<const Element> U16_3(RenderScript *rs);
137 static sp<const Element> U16_4(RenderScript *rs);
138 static sp<const Element> I16_2(RenderScript *rs);
139 static sp<const Element> I16_3(RenderScript *rs);
140 static sp<const Element> I16_4(RenderScript *rs);
141 static sp<const Element> U32_2(RenderScript *rs);
142 static sp<const Element> U32_3(RenderScript *rs);
143 static sp<const Element> U32_4(RenderScript *rs);
144 static sp<const Element> I32_2(RenderScript *rs);
145 static sp<const Element> I32_3(RenderScript *rs);
146 static sp<const Element> I32_4(RenderScript *rs);
147 static sp<const Element> U64_2(RenderScript *rs);
148 static sp<const Element> U64_3(RenderScript *rs);
149 static sp<const Element> U64_4(RenderScript *rs);
150 static sp<const Element> I64_2(RenderScript *rs);
151 static sp<const Element> I64_3(RenderScript *rs);
152 static sp<const Element> I64_4(RenderScript *rs);
153 static sp<const Element> MATRIX_4X4(RenderScript *rs);
154 static sp<const Element> MATRIX_3X3(RenderScript *rs);
155 static sp<const Element> MATRIX_2X2(RenderScript *rs);
157 Element(void *id, RenderScript *rs,
158 android::Vector<sp</*const*/ Element> > &elements,
161 Element(void *id, RenderScript *rs, RsDataType dt, RsDataKind dk, bool norm, uint32_t size);
162 Element(RenderScript *rs);
163 virtual ~Element();
166 static sp<const Element> createUser(RenderScript *rs, RsDataType dt);
167 static sp<const Element> createVector(RenderScript *rs, RsDataType dt, uint32_t size);
168 static sp<const Element> createPixel(RenderScript *rs, RsDataType dt, RsDataKind dk);
169 bool isCompatible(sp<const Element>e);
174 android::Vector<sp</*const*/ Element> > mElements;
182 void add(sp</*const*/ Element>, android::String8 &name, uint32_t arraySize = 1);
183 sp<const Element> create();
189 android::Vector<sp</*const*/ Element> > mElements;