/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/ |
D | Allocation.java | 158 public Element getElement() { in getElement() method in Allocation 159 return mType.getElement(); in getElement() 180 return mType.getCount() * mType.getElement().getBytesSize(); in getBytesSize() 308 if (mType.getElement().mKind != Element.DataKind.PIXEL_A) { in validateBitmapFormat() 310 mType.getElement().mKind + ", type " + in validateBitmapFormat() 311 mType.getElement().mType + in validateBitmapFormat() 312 " of " + mType.getElement().getBytesSize() + in validateBitmapFormat() 317 if ((mType.getElement().mKind != Element.DataKind.PIXEL_RGBA) || in validateBitmapFormat() 318 (mType.getElement().getBytesSize() != 4)) { in validateBitmapFormat() 320 mType.getElement().mKind + ", type " + in validateBitmapFormat() [all …]
|
D | ScriptIntrinsicBlend.java | 46 if (!ain.getElement().isCompatible(Element.U8_4(mRS))) { in blend() 49 if (!aout.getElement().isCompatible(Element.U8_4(mRS))) { in blend()
|
D | Type.java | 72 public Element getElement() { in getElement() method in Type
|
D | Script.java | 305 public Element getElement() { in getElement() method in Script.FieldBase
|
/frameworks/base/graphics/java/android/renderscript/ |
D | Allocation.java | 198 public Element getElement() { in getElement() method in Allocation 199 return mType.getElement(); in getElement() 220 return mType.getCount() * mType.getElement().getBytesSize(); in getBytesSize() 416 if (mType.getElement().mKind != Element.DataKind.PIXEL_A) { in validateBitmapFormat() 418 mType.getElement().mKind + ", type " + in validateBitmapFormat() 419 mType.getElement().mType + in validateBitmapFormat() 420 " of " + mType.getElement().getBytesSize() + in validateBitmapFormat() 425 if ((mType.getElement().mKind != Element.DataKind.PIXEL_RGBA) || in validateBitmapFormat() 426 (mType.getElement().getBytesSize() != 4)) { in validateBitmapFormat() 428 mType.getElement().mKind + ", type " + in validateBitmapFormat() [all …]
|
D | ScriptIntrinsicBlend.java | 46 if (!ain.getElement().isCompatible(Element.U8_4(mRS))) { in blend() 49 if (!aout.getElement().isCompatible(Element.U8_4(mRS))) { in blend()
|
D | Type.java | 78 public Element getElement() { in getElement() method in Type
|
D | Script.java | 305 public Element getElement() { in getElement() method in Script.FieldBase
|
D | ProgramVertexFixedFunction.java | 224 int bufferSize = constInputType.getElement().getBytesSize()* in Constants()
|
/frameworks/rs/cpp/ |
D | Allocation.cpp | 81 RsDataType dt = mType->getElement()->getDataType(); in validateIsInt32() 89 RsDataType dt = mType->getElement()->getDataType(); in validateIsInt16() 97 RsDataType dt = mType->getElement()->getDataType(); in validateIsInt8() 105 RsDataType dt = mType->getElement()->getDataType(); in validateIsFloat32() 113 RsDataType dt = mType->getElement()->getDataType(); in validateIsObject() 238 if((count * mType->getElement()->getSizeBytes()) > dataLen) { in copy1DRangeFromUnchecked()
|
D | Type.h | 44 sp<const Element> getElement() const { in getElement() function
|
D | Script.h | 75 sp<const Element> getElement() { in getElement() function
|
/frameworks/rs/ |
D | rsAllocation.cpp | 45 if (!rsc->mHal.funcs.allocation.init(rsc, a, type->getElement()->getHasReferences())) { in createAllocation() 62 mHal.state.hasReferences = mHal.state.type->getElement()->getHasReferences(); in updateCache() 63 mHal.state.eType = mHal.state.type->getElement()->getType(); in updateCache() 150 if (cIdx >= mHal.state.type->getElement()->getFieldCount()) { in elementData() 162 const Element * e = mHal.state.type->getElement()->getField(cIdx); in elementData() 163 uint32_t elemArraySize = mHal.state.type->getElement()->getFieldArraySize(cIdx); in elementData() 190 if (cIdx >= mHal.state.type->getElement()->getFieldCount()) { in elementData() 196 const Element * e = mHal.state.type->getElement()->getField(cIdx); in elementData() 197 uint32_t elemArraySize = mHal.state.type->getElement()->getFieldArraySize(cIdx); in elementData() 237 return numItems * mHal.state.type->getElement()->getSizeBytesUnpadded(); in getPackedSize() [all …]
|
D | rsType.cpp | 228 if (t->getElement() != e) continue; in getTypeRef() 328 (*typeData++) = (uint32_t)t->getElement(); in rsaTypeGetNativeData() 329 t->getElement()->incUserRef(); in rsaTypeGetNativeData()
|
D | rsType.h | 64 const Element * getElement() const {return mElement.get();} in getElement() function
|
/frameworks/support/renderscript/v8/rs_support/ |
D | rsAllocation.cpp | 42 if (!rsc->mHal.funcs.allocation.init(rsc, a, type->getElement()->getHasReferences())) { in createAllocation() 59 mHal.state.hasReferences = mHal.state.type->getElement()->getHasReferences(); in updateCache() 145 if (cIdx >= mHal.state.type->getElement()->getFieldCount()) { in elementData() 157 const Element * e = mHal.state.type->getElement()->getField(cIdx); in elementData() 158 uint32_t elemArraySize = mHal.state.type->getElement()->getFieldArraySize(cIdx); in elementData() 185 if (cIdx >= mHal.state.type->getElement()->getFieldCount()) { in elementData() 191 const Element * e = mHal.state.type->getElement()->getField(cIdx); in elementData() 192 uint32_t elemArraySize = mHal.state.type->getElement()->getFieldArraySize(cIdx); in elementData() 218 return numItems * mHal.state.type->getElement()->getSizeBytesUnpadded(); in getPackedSize() 223 const Element *elem = type->getElement(); in writePackedData() [all …]
|
D | rsType.cpp | 228 if (t->getElement() != e) continue; in getTypeRef() 328 (*typeData++) = (uint32_t)t->getElement(); in rsaTypeGetNativeData() 329 t->getElement()->incUserRef(); in rsaTypeGetNativeData()
|
D | rsType.h | 64 const Element * getElement() const {return mElement.get();} in getElement() function
|
/frameworks/support/renderscript/v8/rs_support/driver/ |
D | rsdAllocation.cpp | 222 } else if (alloc->getType()->getElement()->getKind() != RS_KIND_PIXEL_RGBA) { in rsdAllocationSyncAll() 430 const Element * e = alloc->mHal.state.type->getElement()->getField(cIdx); in rsdAllocationElementData1D() 431 ptr += alloc->mHal.state.type->getElement()->getFieldOffsetBytes(cIdx); in rsdAllocationElementData1D() 450 const Element * e = alloc->mHal.state.type->getElement()->getField(cIdx); in rsdAllocationElementData2D() 451 ptr += alloc->mHal.state.type->getElement()->getFieldOffsetBytes(cIdx); in rsdAllocationElementData2D() 527 switch (alloc->getType()->getElement()->getSizeBits()) { in rsdAllocationGenerateMipmaps()
|
/frameworks/rs/driver/ |
D | rsdAllocation.cpp | 320 drv->glType = rsdTypeToGLType(alloc->mHal.state.type->getElement()->getComponent().getType()); in rsdAllocationInit() 321 … drv->glFormat = rsdKindToGLFormat(alloc->mHal.state.type->getElement()->getComponent().getKind()); in rsdAllocationInit() 431 } else if (alloc->getType()->getElement()->getKind() != RS_KIND_PIXEL_RGBA) { in rsdAllocationSyncAll() 737 const Element * e = alloc->mHal.state.type->getElement()->getField(cIdx); in rsdAllocationElementData1D() 738 ptr += alloc->mHal.state.type->getElement()->getFieldOffsetBytes(cIdx); in rsdAllocationElementData1D() 757 const Element * e = alloc->mHal.state.type->getElement()->getField(cIdx); in rsdAllocationElementData2D() 758 ptr += alloc->mHal.state.type->getElement()->getFieldOffsetBytes(cIdx); in rsdAllocationElementData2D() 834 switch (alloc->getType()->getElement()->getSizeBits()) { in rsdAllocationGenerateMipmaps()
|
D | rsdMeshObj.cpp | 78 const Element *elem = mRSMesh->mHal.state.vertexBuffers[ct]->getType()->getElement(); in init() 101 const Element *elem = mRSMesh->mHal.state.vertexBuffers[ct]->getType()->getElement(); in init()
|
D | rsdShader.cpp | 126 initAddUserElement(mRSProgram->mHal.state.constantTypes[ct]->getElement(), in init() 276 const Element *e = mRSProgram->mHal.state.constantTypes[ct]->getElement(); in appendUserConstants() 529 const Element *e = mRSProgram->mHal.state.constantTypes[ct]->getElement(); in setupUserConstants() 578 const Element *elem = mRSProgram->mHal.state.constantTypes[ct]->getElement(); in initAttribAndUniformArray()
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
D | Renderable.java | 182 Element vertexConst = vertexConstants.getType().getElement(); in updateVertexConstants() 195 Element fragmentConst = fragmentConstants.getType().getElement(); in updateFragmentConstants()
|
D | Shader.java | 71 Element constElem = mPerShaderConstants.getElement(); in linkConstants()
|
/frameworks/base/tests/RenderScriptTests/Balls/src/com/example/android/rs/balls/ |
D | BallsRS.java | 64 sb.addInput(mPoints.getElement()); in createProgramVertex()
|