Home
last modified time | relevance | path

Searched refs:prim (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/graphics/java/android/renderscript/
DMesh.java184 Primitive prim; field in Mesh.Builder.Entry
276 indexType.prim = p; in addIndexSetType()
293 indexType.prim = p; in addIndexSetType()
312 indexType.prim = p; in addIndexSetType()
331 int[] prim = new int[mIndexTypes.size()]; in create() local
359 primitives[ct] = entry.prim; in create()
362 prim[ct] = entry.prim.mID; in create()
365 int id = mRS.nMeshCreate(vtx, idx, prim); in create()
386 Primitive prim; field in Mesh.AllocationBuilder.Entry
448 indexType.prim = p; in addIndexSetAllocation()
[all …]
DRenderScript.java557 native int rsnMeshCreate(int con, int[] vtx, int[] idx, int[] prim); in rsnMeshCreate() argument
558 synchronized int nMeshCreate(int[] vtx, int[] idx, int[] prim) { in nMeshCreate() argument
560 return rsnMeshCreate(mContext, vtx, idx, prim); in nMeshCreate()
/frameworks/base/libs/rs/
DrsMesh.cpp84 Primitive_t * prim = mHal.state.primitives[pCount]; in serialize() local
86 stream->addU8((uint8_t)prim->mPrimitive); in serialize()
88 if (prim->mIndexBuffer.get()) { in serialize()
90 prim->mIndexBuffer->serialize(stream); in serialize()
176 Primitive_t *prim = mHal.state.primitives[primIndex]; in renderPrimitive() local
178 if (prim->mIndexBuffer.get()) { in renderPrimitive()
179 renderPrimitiveRange(rsc, primIndex, 0, prim->mIndexBuffer->getType()->getDimX()); in renderPrimitive()
DrsMesh.h68 void setPrimitive(Allocation *idx, RsPrimitive prim, uint32_t index) { in setPrimitive() argument
70 mHal.state.primitives[index]->mPrimitive = prim; in setPrimitive()
/frameworks/base/libs/rs/driver/
DrsdMeshObj.cpp166 Mesh::Primitive_t *prim = mRSMesh->mHal.state.primitives[primIndex]; in renderPrimitiveRange() local
167 const Allocation *idxAlloc = prim->mIndexBuffer.get(); in renderPrimitiveRange()
/frameworks/compile/slang/
Dslang_rs_type_spec.h182 struct RSPrimitiveType prim; member
190 #define RS_CAST_TO_PRIMITIVE_TYPE(R) (&((R)->prim))