Home
last modified time | relevance | path

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

/frameworks/base/graphics/java/android/renderscript/
DMesh.java198 Primitive prim; field in Mesh.Builder.Entry
296 indexType.prim = p; in addIndexSetType()
314 indexType.prim = p; in addIndexSetType()
334 indexType.prim = p; in addIndexSetType()
354 int[] prim = new int[mIndexTypes.size()]; in create() local
382 primitives[ct] = entry.prim; in create()
385 prim[ct] = entry.prim.mID; in create()
388 int id = mRS.nMeshCreate(vtx, idx, prim); in create()
410 Primitive prim; field in Mesh.AllocationBuilder.Entry
479 indexType.prim = p; in addIndexSetAllocation()
[all …]
DRenderScript.java615 native int rsnMeshCreate(int con, int[] vtx, int[] idx, int[] prim); in rsnMeshCreate() argument
616 synchronized int nMeshCreate(int[] vtx, int[] idx, int[] prim) { in nMeshCreate() argument
618 return rsnMeshCreate(mContext, vtx, idx, prim); in nMeshCreate()
641 native int rsnPathCreate(int con, int prim, boolean isStatic, int vtx, int loop, float q); in rsnPathCreate() argument
642 synchronized int nPathCreate(int prim, boolean isStatic, int vtx, int loop, float q) { in nPathCreate() argument
644 return rsnPathCreate(mContext, prim, isStatic, vtx, loop, q); in nPathCreate()
/frameworks/rs/
DrsMesh.h72 void setPrimitive(Allocation *idx, RsPrimitive prim, uint32_t index) { in setPrimitive() argument
75 mHal.state.primitives[index] = prim; in setPrimitive()
/frameworks/compile/slang/
Dslang_rs_type_spec.h167 struct RSPrimitiveType prim; member
175 #define RS_CAST_TO_PRIMITIVE_TYPE(R) (&((R)->prim))
/frameworks/base/graphics/jni/
Dandroid_renderscript_RenderScript.cpp1231 nPathCreate(JNIEnv *_env, jobject _this, RsContext con, jint prim, jboolean isStatic, jint _vtx, ji… in nPathCreate() argument
1234 int id = (int)rsPathCreate(con, (RsPathPrimitive)prim, isStatic, in nPathCreate()