Home
last modified time | relevance | path

Searched refs:getSizeBytes (Results 1 – 19 of 19) sorted by relevance

/frameworks/support/renderscript/v8/rs_support/
DrsType.cpp97 offset += tx * rsMax(ty, 1u) * rsMax(tz, 1u) * mElement->getSizeBytes(); in compute()
115 offset += x * mElement->getSizeBytes(); in getLODOffset()
121 offset += (x + y * mHal.state.lodDimX[lod]) * mElement->getSizeBytes(); in getLODOffset()
129 z * mHal.state.lodDimX[lod] * mHal.state.lodDimY[lod]) * mElement->getSizeBytes(); in getLODOffset()
136 offset += (x + y * mHal.state.lodDimX[lod]) * mElement->getSizeBytes(); in getLODFaceOffset()
139 uint32_t faceOffset = getSizeBytes() / 6; in getLODFaceOffset()
274 uint32_t stride = e->getSizeBytes(); in incRefs()
291 uint32_t stride = e->getSizeBytes(); in decRefs()
DrsAllocation.cpp159 if (sizeBytes != e->getSizeBytes() * elemArraySize) { in elementData()
160 …ation::subElementData data size %zu does not match field size %zu.", sizeBytes, e->getSizeBytes()); in elementData()
193 if (sizeBytes != e->getSizeBytes() * elemArraySize) { in elementData()
194 …ation::subElementData data size %zu does not match field size %zu.", sizeBytes, e->getSizeBytes()); in elementData()
217 uint32_t numItems = mHal.state.type->getSizeBytes() / mHal.state.type->getElementSizeBytes(); in getPackedSize()
225 uint32_t paddedBytes = elem->getSizeBytes(); in writePackedData()
226 uint32_t numItems = type->getSizeBytes() / paddedBytes; in writePackedData()
279 uint32_t paddedBytes = getType()->getElement()->getSizeBytes(); in packVec3Allocation()
281 uint32_t numItems = mHal.state.type->getSizeBytes() / paddedBytes; in packVec3Allocation()
304 uint32_t dataSize = mHal.state.type->getSizeBytes(); in serialize()
[all …]
DrsElement.cpp85 ALOGV("%s Element: fieldCount: %zu, size bytes: %zu", prefix, mFieldCount, getSizeBytes()); in dumpLOGV()
176 mHal.state.elementSizeBytes = getSizeBytes(); in compute()
219 mHal.state.elementSizeBytes = getSizeBytes(); in compute()
316 p2 += mFields[i].e->getSizeBytes(); in incRefs()
338 p2 += mFields[i].e->getSizeBytes(); in decRefs()
DrsType.h62 size_t getSizeBytes() const {return mTotalSizeBytes;} in getSizeBytes() function
63 size_t getElementSizeBytes() const {return mElement->getSizeBytes();} in getElementSizeBytes()
DrsElement.h81 size_t getSizeBytes() const { in getSizeBytes() function
/frameworks/rs/
DrsType.cpp97 offset += tx * rsMax(ty, 1u) * rsMax(tz, 1u) * mElement->getSizeBytes(); in compute()
115 offset += x * mElement->getSizeBytes(); in getLODOffset()
121 offset += (x + y * mHal.state.lodDimX[lod]) * mElement->getSizeBytes(); in getLODOffset()
129 z * mHal.state.lodDimX[lod] * mHal.state.lodDimY[lod]) * mElement->getSizeBytes(); in getLODOffset()
136 offset += (x + y * mHal.state.lodDimX[lod]) * mElement->getSizeBytes(); in getLODFaceOffset()
139 uint32_t faceOffset = getSizeBytes() / 6; in getLODFaceOffset()
274 uint32_t stride = e->getSizeBytes(); in incRefs()
291 uint32_t stride = e->getSizeBytes(); in decRefs()
DrsAllocation.cpp164 if (sizeBytes != e->getSizeBytes() * elemArraySize) { in elementData()
165 …ation::subElementData data size %zu does not match field size %zu.", sizeBytes, e->getSizeBytes()); in elementData()
198 if (sizeBytes != e->getSizeBytes() * elemArraySize) { in elementData()
199 …ation::subElementData data size %zu does not match field size %zu.", sizeBytes, e->getSizeBytes()); in elementData()
236 uint32_t numItems = mHal.state.type->getSizeBytes() / mHal.state.type->getElementSizeBytes(); in getPackedSize()
244 uint32_t paddedBytes = elem->getSizeBytes(); in writePackedData()
245 uint32_t numItems = type->getSizeBytes() / paddedBytes; in writePackedData()
298 uint32_t paddedBytes = getType()->getElement()->getSizeBytes(); in packVec3Allocation()
300 uint32_t numItems = mHal.state.type->getSizeBytes() / paddedBytes; in packVec3Allocation()
323 uint32_t dataSize = mHal.state.type->getSizeBytes(); in serialize()
[all …]
DrsElement.cpp85 ALOGV("%s Element: fieldCount: %zu, size bytes: %zu", prefix, mFieldCount, getSizeBytes()); in dumpLOGV()
176 mHal.state.elementSizeBytes = getSizeBytes(); in compute()
219 mHal.state.elementSizeBytes = getSizeBytes(); in compute()
316 p2 += mFields[i].e->getSizeBytes(); in incRefs()
338 p2 += mFields[i].e->getSizeBytes(); in decRefs()
DrsType.h62 size_t getSizeBytes() const {return mTotalSizeBytes;} in getSizeBytes() function
63 size_t getElementSizeBytes() const {return mElement->getSizeBytes();} in getElementSizeBytes()
DrsScriptC_LibGL.cpp223 size_t allocSize = a->getType()->getSizeBytes(); in rsrDrawTextAlloc()
253 size_t textLen = a->getType()->getSizeBytes(); in rsrMeasureTextAlloc()
DrsElement.h81 size_t getSizeBytes() const { in getSizeBytes() function
DrsMesh.cpp232 stride = bufferElem->getSizeBytes() / sizeof(float); in computeBBox()
/frameworks/rs/cpp/
DType.h72 size_t getSizeBytes() const { in getSizeBytes() function
73 return mElementCount * mElement->getSizeBytes(); in getSizeBytes()
DElement.h89 size_t getSizeBytes() const { in getSizeBytes() function
DAllocation.cpp238 if((count * mType->getElement()->getSizeBytes()) > dataLen) { in copy1DRangeFromUnchecked()
/frameworks/rs/driver/
DrsdAllocation.cpp226 RSD_CALL_GL(glBufferData, drv->glTarget, alloc->mHal.state.type->getSizeBytes(), in UploadToBufferObject()
324 memset(ptr, 0, alloc->mHal.state.type->getSizeBytes()); in rsdAllocationInit()
DrsdBcc.cpp531 size_t stride = elem->getSizeBytes(); in rsdScriptSetGlobalVarWithElemDims()
/frameworks/support/renderscript/v8/rs_support/driver/
DrsdAllocation.cpp161 memset(ptr, 0, alloc->mHal.state.type->getSizeBytes()); in rsdAllocationInit()
DrsdBcc.cpp674 size_t stride = elem->getSizeBytes(); in rsdScriptSetGlobalVarWithElemDims()