Home | History | Annotate | Download | only in driver

Lines Matching defs:elem

52 bool RsdMeshObj::isValidGLComponent(const Element *elem, uint32_t fieldIdx) {
55 RsDataType dt = elem->mHal.state.fields[fieldIdx]->mHal.state.dataType;
63 uint32_t arraySize = elem->mHal.state.fieldArraySizes[fieldIdx];
78 const Element *elem = mRSMesh->mHal.state.vertexBuffers[ct]->getType()->getElement();
79 for (uint32_t ct=0; ct < elem->mHal.state.fieldsCount; ct++) {
80 if (isValidGLComponent(elem, ct)) {
101 const Element *elem = mRSMesh->mHal.state.vertexBuffers[ct]->getType()->getElement();
102 uint32_t stride = elem->mHal.state.elementSizeBytes;
103 for (uint32_t fieldI=0; fieldI < elem->mHal.state.fieldsCount; fieldI++) {
104 const Element *f = elem->mHal.state.fields[fieldI];
106 if (!isValidGLComponent(elem, fieldI)) {
111 mAttribs[userNum].offset = elem->mHal.state.fieldOffsetBytes[fieldI];
116 tmp.append(elem->mHal.state.fieldNames[fieldI]);