Searched defs:mips (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/libs/rs/
H A DrsType.cpp268 uint32_t dimY, uint32_t dimZ, bool mips, bool faces) {
271 return Type::getType(rsc, e, dimX, dimY, dimZ, mips, faces);
267 rsi_TypeCreate(Context *rsc, RsElement _e, uint32_t dimX, uint32_t dimY, uint32_t dimZ, bool mips, bool faces) argument
H A DrsAllocation.cpp482 RsAllocationMipmapControl mips,
484 Allocation * alloc = Allocation::createAllocation(rsc, static_cast<Type *>(vtype), usages, mips);
493 RsAllocationMipmapControl mips,
497 RsAllocation vTexAlloc = rsi_AllocationCreateTyped(rsc, vtype, mips, usages);
505 if (mips == RS_ALLOCATION_MIPMAP_FULL) {
514 RsAllocationMipmapControl mips,
521 RsAllocation vTexAlloc = rsi_AllocationCreateTyped(rsc, vtype, mips, usages);
545 if (mips == RS_ALLOCATION_MIPMAP_FULL) {
481 rsi_AllocationCreateTyped(Context *rsc, RsType vtype, RsAllocationMipmapControl mips, uint32_t usages) argument
492 rsi_AllocationCreateFromBitmap(Context *rsc, RsType vtype, RsAllocationMipmapControl mips, const void *data, size_t data_length, uint32_t usages) argument
513 rsi_AllocationCubeCreateFromBitmap(Context *rsc, RsType vtype, RsAllocationMipmapControl mips, const void *data, size_t data_length, uint32_t usages) argument
/frameworks/base/graphics/java/android/renderscript/
H A DAllocation.java863 * @param mips specifies desired mipmap behaviour for the
868 static public Allocation createTyped(RenderScript rs, Type type, MipmapControl mips, int usage) { argument
873 int id = rs.nAllocationCreateTyped(type.getID(), mips.mID, usage);
981 * @param mips specifies desired mipmap behaviour for the
990 MipmapControl mips,
993 Type t = typeFromBitmap(rs, b, mips);
995 int id = rs.nAllocationCreateFromBitmap(t.getID(), mips.mID, b, usage);
1025 * @param mips specifies desired mipmap behaviour for the cubemap
1032 MipmapControl mips,
1055 tb.setMipmaps(mips
989 createFromBitmap(RenderScript rs, Bitmap b, MipmapControl mips, int usage) argument
1031 createCubemapFromBitmap(RenderScript rs, Bitmap b, MipmapControl mips, int usage) argument
1102 createCubemapFromCubeFaces(RenderScript rs, Bitmap xpos, Bitmap xneg, Bitmap ypos, Bitmap yneg, Bitmap zpos, Bitmap zneg, MipmapControl mips, int usage) argument
1195 createFromBitmapResource(RenderScript rs, Resources res, int id, MipmapControl mips, int usage) argument
[all...]
H A DRenderScript.java220 native int rsnTypeCreate(int con, int eid, int x, int y, int z, boolean mips, boolean faces); argument
221 synchronized int nTypeCreate(int eid, int x, int y, int z, boolean mips, boolean faces) { argument
223 return rsnTypeCreate(mContext, eid, x, y, z, mips, faces);
251 native int rsnAllocationCreateFromAssetStream(int con, int mips, int assetStream, int usage); argument
252 synchronized int nAllocationCreateFromAssetStream(int mips, int assetStream, int usage) { argument
254 return rsnAllocationCreateFromAssetStream(mContext, mips, assetStream, usage);
/frameworks/base/graphics/jni/
H A Dandroid_renderscript_RenderScript.cpp403 jint dimx, jint dimy, jint dimz, jboolean mips, jboolean faces)
405 LOG_API("nTypeCreate, con(%p) eid(%p), x(%i), y(%i), z(%i), mips(%i), faces(%i)",
406 con, eid, dimx, dimy, dimz, mips, faces);
408 jint id = (jint)rsTypeCreate(con, (RsElement)eid, dimx, dimy, dimz, mips, faces);
433 nAllocationCreateTyped(JNIEnv *_env, jobject _this, RsContext con, jint type, jint mips, jint usage) argument
435 LOG_API("nAllocationCreateTyped, con(%p), type(%p), mip(%i), usage(%i)", con, (RsElement)type, mips, usage);
436 return (jint) rsAllocationCreateTyped(con, (RsType)type, (RsAllocationMipmapControl)mips, (uint32_t)usage);
402 nTypeCreate(JNIEnv *_env, jobject _this, RsContext con, RsElement eid, jint dimx, jint dimy, jint dimz, jboolean mips, jboolean faces) argument

Completed in 121 milliseconds