Searched refs:mAllocation (Results 1 - 5 of 5) sorted by relevance
/frameworks/rs/ |
H A D | rsAdapter.cpp | 41 rsAssert(mAllocation.get()); 42 rsAssert(mAllocation->getPtr()); 43 rsAssert(mAllocation->getType()); 44 uint8_t * ptr = static_cast<uint8_t *>(mAllocation->getPtr()); 45 ptr += mAllocation->getType()->getLODOffset(mLOD, x, mY); 50 if (mAllocation.get() && mAllocation.get()->getType()) { 52 count *= mAllocation.get()->getType()->getElementSizeBytes(); 60 mAllocation.get()->getType()->getSizeBytes()); 140 rsAssert(mAllocation [all...] |
H A D | rsAdapter.h | 37 void setAllocation(Allocation *a) {mAllocation.set(a);} 39 uint32_t getDimX() const {return mAllocation->getType()->getLODDimX(mLOD);} 41 const Type * getBaseType() const {return mAllocation->getType();} 57 ObjectBaseRef<Allocation> mAllocation; member in class:android::renderscript::Adapter1D 74 uint32_t getDimX() const {return mAllocation->getType()->getLODDimX(mLOD);} 75 uint32_t getDimY() const {return mAllocation->getType()->getLODDimY(mLOD);} 76 const Type * getBaseType() const {return mAllocation->getType();} 78 void setAllocation(Allocation *a) {mAllocation.set(a);} 92 ObjectBaseRef<Allocation> mAllocation; member in class:android::renderscript::Adapter2D
|
/frameworks/rs/cpp/ |
H A D | Script.h | 70 sp<Allocation> mAllocation; member in class:android::renderscriptCpp::Script::FieldBase 80 return mAllocation->getType(); 84 return mAllocation;
|
H A D | Script.cpp | 66 mAllocation = Allocation::createSized(rs, mElement, dimx, RS_ALLOCATION_USAGE_SCRIPT | usages);
|
/frameworks/base/graphics/java/android/renderscript/ |
H A D | Script.java | 197 protected Allocation mAllocation; field in class:Script.FieldBase 200 mAllocation = Allocation.createSized(rs, mElement, dimx, Allocation.USAGE_SCRIPT); 204 mAllocation = Allocation.createSized(rs, mElement, dimx, Allocation.USAGE_SCRIPT | usages); 215 return mAllocation.getType(); 219 return mAllocation;
|
Completed in 90 milliseconds