Home
last modified time | relevance | path

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

/frameworks/base/graphics/java/android/renderscript/
DAllocation.java868 … static public Allocation createTyped(RenderScript rs, Type type, MipmapControl mips, int usage) { in createTyped() argument
873 int id = rs.nAllocationCreateTyped(type.getID(), mips.mID, usage); in createTyped()
990 MipmapControl mips, in createFromBitmap() argument
993 Type t = typeFromBitmap(rs, b, mips); in createFromBitmap()
995 int id = rs.nAllocationCreateFromBitmap(t.getID(), mips.mID, b, usage); in createFromBitmap()
1032 MipmapControl mips, in createCubemapFromBitmap() argument
1055 tb.setMipmaps(mips == MipmapControl.MIPMAP_FULL); in createCubemapFromBitmap()
1058 int id = rs.nAllocationCubeCreateFromBitmap(t.getID(), mips.mID, b, usage); in createCubemapFromBitmap()
1109 MipmapControl mips, in createCubemapFromCubeFaces() argument
1130 tb.setMipmaps(mips == MipmapControl.MIPMAP_FULL); in createCubemapFromCubeFaces()
[all …]
DRenderScript.java219 native int rsnTypeCreate(int con, int eid, int x, int y, int z, boolean mips, boolean faces); in rsnTypeCreate() argument
220 synchronized int nTypeCreate(int eid, int x, int y, int z, boolean mips, boolean faces) { in nTypeCreate() argument
222 return rsnTypeCreate(mContext, eid, x, y, z, mips, faces); in nTypeCreate()
250 native int rsnAllocationCreateFromAssetStream(int con, int mips, int assetStream, int usage); in rsnAllocationCreateFromAssetStream() argument
251 synchronized int nAllocationCreateFromAssetStream(int mips, int assetStream, int usage) { in nAllocationCreateFromAssetStream() argument
253 return rsnAllocationCreateFromAssetStream(mContext, mips, assetStream, usage); in nAllocationCreateFromAssetStream()
/frameworks/base/libs/rs/
Drs.spec35 param bool mips
43 param RsAllocationMipmapControl mips
51 param RsAllocationMipmapControl mips
60 param RsAllocationMipmapControl mips
DrsAllocation.cpp482 RsAllocationMipmapControl mips, in rsi_AllocationCreateTyped() argument
484 … Allocation * alloc = Allocation::createAllocation(rsc, static_cast<Type *>(vtype), usages, mips); in rsi_AllocationCreateTyped()
493 RsAllocationMipmapControl mips, in rsi_AllocationCreateFromBitmap() argument
497 RsAllocation vTexAlloc = rsi_AllocationCreateTyped(rsc, vtype, mips, usages); in rsi_AllocationCreateFromBitmap()
505 if (mips == RS_ALLOCATION_MIPMAP_FULL) { in rsi_AllocationCreateFromBitmap()
514 RsAllocationMipmapControl mips, in rsi_AllocationCubeCreateFromBitmap() argument
521 RsAllocation vTexAlloc = rsi_AllocationCreateTyped(rsc, vtype, mips, usages); in rsi_AllocationCubeCreateFromBitmap()
545 if (mips == RS_ALLOCATION_MIPMAP_FULL) { in rsi_AllocationCubeCreateFromBitmap()
DrsType.cpp268 uint32_t dimY, uint32_t dimZ, bool mips, bool faces) { in rsi_TypeCreate() argument
271 return Type::getType(rsc, e, dimX, dimY, dimZ, mips, faces); in rsi_TypeCreate()
/frameworks/base/graphics/jni/
Dandroid_renderscript_RenderScript.cpp397 jint dimx, jint dimy, jint dimz, jboolean mips, jboolean faces) in nTypeCreate() argument
400 con, eid, dimx, dimy, dimz, mips, faces); in nTypeCreate()
402 jint id = (jint)rsTypeCreate(con, (RsElement)eid, dimx, dimy, dimz, mips, faces); in nTypeCreate()
427 nAllocationCreateTyped(JNIEnv *_env, jobject _this, RsContext con, jint type, jint mips, jint usage) in nAllocationCreateTyped() argument
429 …nAllocationCreateTyped, con(%p), type(%p), mip(%i), usage(%i)", con, (RsElement)type, mips, usage); in nAllocationCreateTyped()
430 …return (jint) rsAllocationCreateTyped(con, (RsType)type, (RsAllocationMipmapControl)mips, (uint32_… in nAllocationCreateTyped()