Home
last modified time | relevance | path

Searched refs:mip (Results 1 – 14 of 14) sorted by relevance

/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DRenderScript.java306 native int rsnAllocationCreateTyped(int con, int type, int mip, int usage, int pointer); in rsnAllocationCreateTyped() argument
307 synchronized int nAllocationCreateTyped(int type, int mip, int usage, int pointer) { in nAllocationCreateTyped() argument
309 return rsnAllocationCreateTyped(mContext, type, mip, usage, pointer); in nAllocationCreateTyped()
311 native int rsnAllocationCreateFromBitmap(int con, int type, int mip, Bitmap bmp, int usage); in rsnAllocationCreateFromBitmap() argument
312 synchronized int nAllocationCreateFromBitmap(int type, int mip, Bitmap bmp, int usage) { in nAllocationCreateFromBitmap() argument
314 return rsnAllocationCreateFromBitmap(mContext, type, mip, bmp, usage); in nAllocationCreateFromBitmap()
317 …native int rsnAllocationCreateBitmapBackedAllocation(int con, int type, int mip, Bitmap bmp, int … in rsnAllocationCreateBitmapBackedAllocation() argument
318 …synchronized int nAllocationCreateBitmapBackedAllocation(int type, int mip, Bitmap bmp, int usage)… in nAllocationCreateBitmapBackedAllocation() argument
320 return rsnAllocationCreateBitmapBackedAllocation(mContext, type, mip, bmp, usage); in nAllocationCreateBitmapBackedAllocation()
324 … native int rsnAllocationCubeCreateFromBitmap(int con, int type, int mip, Bitmap bmp, int usage); in rsnAllocationCubeCreateFromBitmap() argument
[all …]
DAllocation.java1313 MipmapControl mip) { in typeFromBitmap() argument
1318 tb.setMipmaps(mip == MipmapControl.MIPMAP_FULL); in typeFromBitmap()
/frameworks/base/rs/java/android/renderscript/
DRenderScript.java360 native long rsnAllocationCreateTyped(long con, long type, int mip, int usage, long pointer); in rsnAllocationCreateTyped() argument
361 synchronized long nAllocationCreateTyped(long type, int mip, int usage, long pointer) { in nAllocationCreateTyped() argument
363 return rsnAllocationCreateTyped(mContext, type, mip, usage, pointer); in nAllocationCreateTyped()
365 native long rsnAllocationCreateFromBitmap(long con, long type, int mip, Bitmap bmp, int usage); in rsnAllocationCreateFromBitmap() argument
366 synchronized long nAllocationCreateFromBitmap(long type, int mip, Bitmap bmp, int usage) { in nAllocationCreateFromBitmap() argument
368 return rsnAllocationCreateFromBitmap(mContext, type, mip, bmp, usage); in nAllocationCreateFromBitmap()
371 …native long rsnAllocationCreateBitmapBackedAllocation(long con, long type, int mip, Bitmap bmp, in… in rsnAllocationCreateBitmapBackedAllocation() argument
372 …synchronized long nAllocationCreateBitmapBackedAllocation(long type, int mip, Bitmap bmp, int usag… in nAllocationCreateBitmapBackedAllocation() argument
374 return rsnAllocationCreateBitmapBackedAllocation(mContext, type, mip, bmp, usage); in nAllocationCreateBitmapBackedAllocation()
377 …native long rsnAllocationCubeCreateFromBitmap(long con, long type, int mip, Bitmap bmp, int usage); in rsnAllocationCubeCreateFromBitmap() argument
[all …]
DAllocation.java1481 MipmapControl mip) { in typeFromBitmap() argument
1486 tb.setMipmaps(mip == MipmapControl.MIPMAP_FULL); in typeFromBitmap()
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
DSceneManager.java99 Allocation.MipmapControl mip = Allocation.MipmapControl.MIPMAP_ON_SYNC_TO_TEXTURE; in getDefault() local
101 Allocation defaultImage = Allocation.createTyped(rs, bitmapType, mip, usage); in getDefault()
169 MipmapControl mip = MipmapControl.MIPMAP_ON_SYNC_TO_TEXTURE; in createFromBitmap() local
172 return Allocation.createCubemapFromBitmap(rs, b, mip, usage); in createFromBitmap()
174 return Allocation.createFromBitmap(rs, b, mip, usage); in createFromBitmap()
/frameworks/native/opengl/libagl/
DTextureObjectManager.h58 const GGLSurface& mip(int lod) const;
DTextureObjectManager.cpp106 const GGLSurface& EGLTextureObject::mip(int lod) const in mip() function in android::EGLTextureObject
116 return const_cast<GGLSurface&>(mip(lod)); in editMip()
Dprimitives.cpp737 &c->textures.tmu[i].texture->mip(lod)); in lerp_texcoords()
794 &c->textures.tmu[i].texture->mip(lod)); in lerp_texcoords_w()
Dtexture.cpp1256 const GGLSurface& surface(tex->mip(level)); in glTexSubImage2D()
1440 const GGLSurface& surface(tex->mip(level)); in glCopyTexSubImage2D()
/frameworks/rs/scriptc/
Drs_allocation.rsh256 * @param lod mip level to sample from, for fractional values
257 * mip levels will be interpolated if
277 * @param lod mip level to sample from, for fractional values
278 * mip levels will be interpolated if
/frameworks/rs/
DrsType.h61 Type * createTex2D(const Element *, size_t w, size_t h, bool mip);
/frameworks/support/v8/renderscript/jni/
Dandroid_renderscript_RenderScript.cpp355 nAllocationCreateFromBitmap(JNIEnv *_env, jobject _this, RsContext con, jint type, jint mip, jobjec… in nAllocationCreateFromBitmap() argument
363 (RsType)type, (RsAllocationMipmapControl)mip, in nAllocationCreateFromBitmap()
371 …ckedAllocation(JNIEnv *_env, jobject _this, RsContext con, jint type, jint mip, jobject jbitmap, j… in nAllocationCreateBitmapBackedAllocation() argument
379 (RsType)type, (RsAllocationMipmapControl)mip, in nAllocationCreateBitmapBackedAllocation()
387 nAllocationCubeCreateFromBitmap(JNIEnv *_env, jobject _this, RsContext con, jint type, jint mip, jo… in nAllocationCubeCreateFromBitmap() argument
395 (RsType)type, (RsAllocationMipmapControl)mip, in nAllocationCubeCreateFromBitmap()
/frameworks/base/rs/jni/
Dandroid_renderscript_RenderScript.cpp595 nAllocationCreateFromBitmap(JNIEnv *_env, jobject _this, jlong con, jlong type, jint mip, jobject j… in nAllocationCreateFromBitmap() argument
604 (RsType)type, (RsAllocationMipmapControl)mip, in nAllocationCreateFromBitmap()
611 …pBackedAllocation(JNIEnv *_env, jobject _this, jlong con, jlong type, jint mip, jobject jbitmap, j… in nAllocationCreateBitmapBackedAllocation() argument
620 (RsType)type, (RsAllocationMipmapControl)mip, in nAllocationCreateBitmapBackedAllocation()
627 nAllocationCubeCreateFromBitmap(JNIEnv *_env, jobject _this, jlong con, jlong type, jint mip, jobje… in nAllocationCubeCreateFromBitmap() argument
636 (RsType)type, (RsAllocationMipmapControl)mip, in nAllocationCubeCreateFromBitmap()
/frameworks/base/docs/html/about/versions/
Dandroid-4.3.jd620 class&mdash;Android swaps the mip images in your {@link android.graphics.Bitmap} when you've