/frameworks/support/renderscript/v8/rs_support/ |
D | rsType.cpp | 97 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()
|
D | rsAllocation.cpp | 159 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 …]
|
D | rsElement.cpp | 85 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()
|
D | rsType.h | 62 size_t getSizeBytes() const {return mTotalSizeBytes;} in getSizeBytes() function 63 size_t getElementSizeBytes() const {return mElement->getSizeBytes();} in getElementSizeBytes()
|
D | rsElement.h | 81 size_t getSizeBytes() const { in getSizeBytes() function
|
/frameworks/rs/ |
D | rsType.cpp | 97 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()
|
D | rsAllocation.cpp | 164 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 …]
|
D | rsElement.cpp | 85 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()
|
D | rsType.h | 62 size_t getSizeBytes() const {return mTotalSizeBytes;} in getSizeBytes() function 63 size_t getElementSizeBytes() const {return mElement->getSizeBytes();} in getElementSizeBytes()
|
D | rsScriptC_LibGL.cpp | 223 size_t allocSize = a->getType()->getSizeBytes(); in rsrDrawTextAlloc() 253 size_t textLen = a->getType()->getSizeBytes(); in rsrMeasureTextAlloc()
|
D | rsElement.h | 81 size_t getSizeBytes() const { in getSizeBytes() function
|
D | rsMesh.cpp | 232 stride = bufferElem->getSizeBytes() / sizeof(float); in computeBBox()
|
/frameworks/rs/cpp/ |
D | Type.h | 72 size_t getSizeBytes() const { in getSizeBytes() function 73 return mElementCount * mElement->getSizeBytes(); in getSizeBytes()
|
D | Element.h | 89 size_t getSizeBytes() const { in getSizeBytes() function
|
D | Allocation.cpp | 238 if((count * mType->getElement()->getSizeBytes()) > dataLen) { in copy1DRangeFromUnchecked()
|
/frameworks/rs/driver/ |
D | rsdAllocation.cpp | 226 RSD_CALL_GL(glBufferData, drv->glTarget, alloc->mHal.state.type->getSizeBytes(), in UploadToBufferObject() 324 memset(ptr, 0, alloc->mHal.state.type->getSizeBytes()); in rsdAllocationInit()
|
D | rsdBcc.cpp | 531 size_t stride = elem->getSizeBytes(); in rsdScriptSetGlobalVarWithElemDims()
|
/frameworks/support/renderscript/v8/rs_support/driver/ |
D | rsdAllocation.cpp | 161 memset(ptr, 0, alloc->mHal.state.type->getSizeBytes()); in rsdAllocationInit()
|
D | rsdBcc.cpp | 674 size_t stride = elem->getSizeBytes(); in rsdScriptSetGlobalVarWithElemDims()
|