Searched refs:getSizeBytes (Results 1 – 14 of 14) sorted by relevance
/frameworks/base/libs/rs/ |
D | rsType.cpp | 97 offset += tx * rsMax(ty, 1u) * rsMax(tz, 1u) * mElement->getSizeBytes(); in compute() 114 offset += x * mElement->getSizeBytes(); in getLODOffset() 120 offset += (x + y * mLODs[lod].mX) * mElement->getSizeBytes(); in getLODOffset() 126 offset += (x + y*mLODs[lod].mX + z*mLODs[lod].mX*mLODs[lod].mY) * mElement->getSizeBytes(); in getLODOffset() 132 offset += (x + y * mLODs[lod].mX) * mElement->getSizeBytes(); in getLODFaceOffset() 135 uint32_t faceOffset = getSizeBytes() / 6; in getLODFaceOffset()
|
D | rsAllocation.cpp | 70 memcpy(data, getPtr(), mHal.state.type->getSizeBytes()); in read() 127 if (sizeBytes != e->getSizeBytes()) { in elementData() 128 …cation::subElementData data size %i does not match field size %zu.", sizeBytes, e->getSizeBytes()); in elementData() 161 if (sizeBytes != e->getSizeBytes()) { in elementData() 162 …cation::subElementData data size %i does not match field size %zu.", sizeBytes, e->getSizeBytes()); in elementData() 209 uint32_t dataSize = mHal.state.type->getSizeBytes(); in serialize() 235 if (dataSize != type->getSizeBytes()) { in createFromStream() 264 uint32_t stride = e->getSizeBytes(); in incRefs() 280 uint32_t stride = e->getSizeBytes(); in decRefs() 291 decRefs(getPtr(), mHal.state.type->getSizeBytes() / mHal.state.type->getElementSizeBytes(), 0); in freeChildrenUnlocked()
|
D | rsAdapter.cpp | 59 mAllocation.get()->getType()->getSizeBytes()); in data() 151 uint32_t totalSizeBytes = mAllocation->getType()->getSizeBytes(); in getElement() 176 mAllocation.get()->getType()->getSizeBytes()); in data()
|
D | rsType.h | 33 size_t getSizeBytes() const {return mTotalSizeBytes;} in getSizeBytes() function 34 size_t getElementSizeBytes() const {return mElement->getSizeBytes();} in getElementSizeBytes()
|
D | rsElement.cpp | 65 LOGV("%s Element: fieldCount: %zu, size bytes: %zu", prefix, mFieldCount, getSizeBytes()); in dumpLOGV() 259 p2 += mFields[i].e->getSizeBytes(); in incRefs() 281 p2 += mFields[i].e->getSizeBytes(); in decRefs()
|
D | rsElement.h | 47 size_t getSizeBytes() const { in getSizeBytes() function
|
D | rsScriptC_LibGL.cpp | 278 size_t allocSize = a->getType()->getSizeBytes(); in rsrDrawTextAlloc() 307 size_t textLen = a->getType()->getSizeBytes(); in rsrMeasureTextAlloc()
|
D | rsMesh.cpp | 222 stride = bufferElem->getSizeBytes() / sizeof(float); in computeBBox()
|
/frameworks/base/graphics/java/android/renderscript/ |
D | Allocation.java | 298 " of " + mType.getElement().getSizeBytes() + in validateBitmapFormat() 304 (mType.getElement().getSizeBytes() != 4)) { in validateBitmapFormat() 308 " of " + mType.getElement().getSizeBytes() + in validateBitmapFormat() 314 (mType.getElement().getSizeBytes() != 2)) { in validateBitmapFormat() 318 " of " + mType.getElement().getSizeBytes() + in validateBitmapFormat() 324 (mType.getElement().getSizeBytes() != 2)) { in validateBitmapFormat() 328 " of " + mType.getElement().getSizeBytes() + in validateBitmapFormat() 456 int eSize = mType.mElement.getSizeBytes(); in setFromFieldPacker() 484 int eSize = mType.mElement.mElements[component_number].getSizeBytes(); in setFromFieldPacker() 536 int dataSize = mType.mElement.getSizeBytes() * count; in copy1DRangeFromUnchecked() [all …]
|
D | ProgramVertexFixedFunction.java | 205 int bufferSize = constInputType.getElement().getSizeBytes()* in Constants()
|
D | Element.java | 55 int getSizeBytes() {return mSize;} in getSizeBytes() method in Element
|
/frameworks/base/libs/rs/driver/ |
D | rsdAllocation.cpp | 203 RSD_CALL_GL(glBufferData, drv->glTarget, alloc->mHal.state.type->getSizeBytes(), in UploadToBufferObject() 215 void * ptr = malloc(alloc->mHal.state.type->getSizeBytes()); in rsdAllocationInit() 242 memset(ptr, 0, alloc->mHal.state.type->getSizeBytes()); in rsdAllocationInit() 288 drv->mallocPtr = (uint8_t *)realloc(drv->mallocPtr, newType->getSizeBytes()); in rsdAllocationResize() 298 uint32_t stride = e->getSizeBytes(); in rsdAllocationResize() 442 uint32_t totalSizeBytes = alloc->getType()->getSizeBytes(); in getOffsetPtr()
|
D | rsdMeshObj.cpp | 107 uint32_t stride = elem->getSizeBytes(); in init()
|
D | rsdShader.cpp | 252 uint32_t elementSize = field->getSizeBytes() / sizeof(float); in logUniform()
|