Lines Matching defs:type
83 const Type *type, uint8_t *ptr,
85 alloc->mHal.drvState.lod[0].dimX = type->getDimX();
86 alloc->mHal.drvState.lod[0].dimY = type->getDimY();
87 alloc->mHal.drvState.lod[0].dimZ = type->getDimZ();
91 alloc->mHal.drvState.lod[0].dimX * type->getElementSizeBytes();
93 alloc->mHal.drvState.lodCount = type->getLODCount();
94 alloc->mHal.drvState.faceCount = type->getDimFaces();
117 rsRound(tx * type->getElementSizeBytes(), requiredAlignment);
142 const Type *type, uint8_t *ptr) {
143 return AllocationBuildPointerTable(rsc, alloc, type, ptr,
219 RSoVAllocation::RSoVAllocation(RSoVContext *context, const Type *type,
222 mType(type),
223 mWidth(type->getDimX()),
224 mHeight(type->getDimY()),
225 mDepth(type->getDimZ()) {}
302 const Type *type = alloc->getType();
305 size_t allocSize = AllocationBuildPointerTable(rsc, alloc, type, nullptr);
306 RSoVAllocation *rsovAlloc = new RSoVAllocation(rsov, type, allocSize);
308 AllocationBuildPointerTable(rsc, alloc, type,
322 const size_t eSize = alloc->mHal.state.type->getElementSizeBytes();
420 const size_t eSize = alloc->mHal.state.type->getElementSizeBytes();
571 const Type *type = alloc->mHal.state.type;
677 const Element *e = alloc->mHal.state.type->getElement()->getField(cIdx);
678 ptr += alloc->mHal.state.type->getElement()->getFieldOffsetBytes(cIdx);
694 const Element *e = alloc->mHal.state.type->getElement()->getField(cIdx);
695 ptr += alloc->mHal.state.type->getElement()->getFieldOffsetBytes(cIdx);