Home
last modified time | relevance | path

Searched refs:mElement (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/graphics/java/android/renderscript/
DType.java54 Element mElement; field in Type
82 return mElement; in getElement()
206 mElement = new Element(elementID, mRS); in updateFromNative()
207 mElement.updateFromNative(); in updateFromNative()
225 Element mElement; field in Type.Builder
236 mElement = e; in Builder()
332 int id = mRS.nTypeCreate(mElement.getID(mRS), in create()
335 t.mElement = mElement; in create()
DAllocation.java290 if ((mType.mElement.mType == Element.DataType.SIGNED_32) || in validateIsInt32()
291 (mType.mElement.mType == Element.DataType.UNSIGNED_32)) { in validateIsInt32()
295 "32 bit integer source does not match allocation type " + mType.mElement.mType); in validateIsInt32()
299 if ((mType.mElement.mType == Element.DataType.SIGNED_16) || in validateIsInt16()
300 (mType.mElement.mType == Element.DataType.UNSIGNED_16)) { in validateIsInt16()
304 "16 bit integer source does not match allocation type " + mType.mElement.mType); in validateIsInt16()
308 if ((mType.mElement.mType == Element.DataType.SIGNED_8) || in validateIsInt8()
309 (mType.mElement.mType == Element.DataType.UNSIGNED_8)) { in validateIsInt8()
313 "8 bit integer source does not match allocation type " + mType.mElement.mType); in validateIsInt8()
317 if (mType.mElement.mType == Element.DataType.FLOAT_32) { in validateIsFloat32()
[all …]
DScriptIntrinsic3DLUT.java31 private Element mElement; field in ScriptIntrinsic3DLUT
35 mElement = e; in ScriptIntrinsic3DLUT()
65 if (!t.getElement().isCompatible(mElement)) { in setLUT()
DScript.java355 protected Element mElement; field in Script.FieldBase
359 mAllocation = Allocation.createSized(rs, mElement, dimx, Allocation.USAGE_SCRIPT); in init()
363 … mAllocation = Allocation.createSized(rs, mElement, dimx, Allocation.USAGE_SCRIPT | usages); in init()
370 return mElement; in getElement()
DMesh.java556 Element mElement; field in Mesh.TriangleMeshBuilder
801 mElement = b.create(); in create()
809 smb.addVertexType(mElement, mMaxIndex); in create()
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DType.java54 Element mElement; field in Type
76 return mElement; in getElement()
195 Element mElement; field in Type.Builder
206 mElement = e; in Builder()
303 t = TypeThunker.create(rst, mElement, mDimX, mDimY, mDimZ, in create()
306 int id = mRS.nTypeCreate(mElement.getID(mRS), in create()
310 t.mElement = mElement; in create()
DAllocation.java260 if ((mType.mElement.mType == Element.DataType.SIGNED_32) || in validateIsInt32()
261 (mType.mElement.mType == Element.DataType.UNSIGNED_32)) { in validateIsInt32()
265 "32 bit integer source does not match allocation type " + mType.mElement.mType); in validateIsInt32()
269 if ((mType.mElement.mType == Element.DataType.SIGNED_16) || in validateIsInt16()
270 (mType.mElement.mType == Element.DataType.UNSIGNED_16)) { in validateIsInt16()
274 "16 bit integer source does not match allocation type " + mType.mElement.mType); in validateIsInt16()
278 if ((mType.mElement.mType == Element.DataType.SIGNED_8) || in validateIsInt8()
279 (mType.mElement.mType == Element.DataType.UNSIGNED_8)) { in validateIsInt8()
283 "8 bit integer source does not match allocation type " + mType.mElement.mType); in validateIsInt8()
287 if (mType.mElement.mType == Element.DataType.FLOAT_32) { in validateIsFloat32()
[all …]
DScriptIntrinsic3DLUT.java27 private Element mElement; field in ScriptIntrinsic3DLUT
31 mElement = e; in ScriptIntrinsic3DLUT()
65 if (!t.getElement().isCompatible(mElement)) { in setLUT()
DScript.java417 protected Element mElement; field in Script.FieldBase
421 mAllocation = Allocation.createSized(rs, mElement, dimx, Allocation.USAGE_SCRIPT); in init()
425 … mAllocation = Allocation.createSized(rs, mElement, dimx, Allocation.USAGE_SCRIPT | usages); in init()
432 return mElement; in getElement()
DTypeThunker.java46 mElement = new ElementThunker(rs, t.getElement()); in TypeThunker()
/frameworks/rs/cpp/
DType.cpp69 mElement = NULL; in Type()
99 t->mElement = e; in create()
113 mElement = e; in Builder()
163 void * id = rsTypeCreate(mRS->getContext(), mElement->getID(), mDimX, mDimY, mDimZ, in create()
166 t->mElement = mElement; in create()
DrsCppStructs.h508 sp<const Element> mElement; variable
516 return mElement; in getElement()
544 return mElementCount * mElement->getSizeBytes(); in getSizeBytes()
559 sp<const Element> mElement; variable
608 sp<const Element> mElement;
615 return mElement; in getElement()
DScript.cpp58 mAllocation = Allocation::createSized(rs, mElement, dimx, RS_ALLOCATION_USAGE_SCRIPT | usages); in init()
/frameworks/rs/
DrsType.cpp51 mElement.clear(); in clear()
101 offset += tx * rsMax(ty, 1u) * rsMax(tz, 1u) * mElement->getSizeBytes(); in compute()
140 mHal.state.element = mElement.get(); in compute()
145 offset += x * mElement->getSizeBytes(); in getLODOffset()
151 offset += (x + y * mHal.state.lodDimX[lod]) * mElement->getSizeBytes(); in getLODOffset()
159 z * mHal.state.lodDimX[lod] * mHal.state.lodDimY[lod]) * mElement->getSizeBytes(); in getLODOffset()
166 offset += (x + y * mHal.state.lodDimX[lod]) * mElement->getSizeBytes(); in getLODFaceOffset()
185 mElement->dumpLOGV(buf); in dumpLOGV()
195 mElement->serialize(rsc, stream); in serialize()
275 nt->mElement.set(e); in getTypeRef()
[all …]
DrsType.h64 size_t getElementSizeBytes() const {return mElement->getSizeBytes();} in getElementSizeBytes()
65 const Element * getElement() const {return mElement.get();} in getElement()
136 ObjectBaseRef<const Element> mElement; variable
DrsScriptIntrinsic.h31 ObjectBaseRef<const Element> mElement;
DrsScriptIntrinsic.cpp32 mElement.set(e); in init()
/frameworks/rs/cpu_ref/
DrsCpuIntrinsic.h56 ObjectBaseRef<const Element> mElement; variable
DrsCpuIntrinsic.cpp28 mElement.set(e); in RsdCpuScriptIntrinsic()
DrsCpuIntrinsicConvolve3x3.cpp43 ObjectBaseRef<const Element> mElement; member in android::renderscript::RsdCpuScriptIntrinsicConvolve3x3
/frameworks/base/docs/html/guide/topics/renderscript/
Dadvanced.jd240 mElement = createElement(rs);
247 mElement = createElement(rs);
/frameworks/base/api/
Dcurrent.txt20901 field protected android.renderscript.Element mElement;