/frameworks/base/libs/rs/ |
D | rsType.h | 43 uint32_t getLODDimX(uint32_t lod) const {rsAssert(lod < mLODCount); return mLODs[lod].mX;} in getLODDimX() argument 44 uint32_t getLODDimY(uint32_t lod) const {rsAssert(lod < mLODCount); return mLODs[lod].mY;} in getLODDimY() argument 45 uint32_t getLODDimZ(uint32_t lod) const {rsAssert(lod < mLODCount); return mLODs[lod].mZ;} in getLODDimZ() argument 47 … uint32_t getLODOffset(uint32_t lod) const {rsAssert(lod < mLODCount); return mLODs[lod].mOffset;} in getLODOffset() argument 48 uint32_t getLODOffset(uint32_t lod, uint32_t x) const; 49 uint32_t getLODOffset(uint32_t lod, uint32_t x, uint32_t y) const; 50 uint32_t getLODOffset(uint32_t lod, uint32_t x, uint32_t y, uint32_t z) const; 52 …uint32_t getLODFaceOffset(uint32_t lod, RsAllocationCubemapFace face, uint32_t x, uint32_t y) cons…
|
D | rsType.cpp | 92 for (uint32_t lod=0; lod < mLODCount; lod++) { in compute() local 93 mLODs[lod].mX = tx; in compute() 94 mLODs[lod].mY = ty; in compute() 95 mLODs[lod].mZ = tz; in compute() 96 mLODs[lod].mOffset = offset; in compute() 112 uint32_t Type::getLODOffset(uint32_t lod, uint32_t x) const { in getLODOffset() argument 113 uint32_t offset = mLODs[lod].mOffset; in getLODOffset() 118 uint32_t Type::getLODOffset(uint32_t lod, uint32_t x, uint32_t y) const { in getLODOffset() argument 119 uint32_t offset = mLODs[lod].mOffset; in getLODOffset() 120 offset += (x + y * mLODs[lod].mX) * mElement->getSizeBytes(); in getLODOffset() [all …]
|
D | rsAdapter.h | 45 inline void setLOD(uint32_t lod) {mLOD = lod;} in setLOD() argument 80 inline void setLOD(uint32_t lod) {mLOD = lod;} in setLOD() argument
|
D | rsAllocation.cpp | 73 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t lod, in data() argument 84 rsc->mHal.funcs.allocation.data1D(rsc, this, xoff, lod, count, data, sizeBytes); in data() 88 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemap… in data() argument 101 rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes); in data() 106 uint32_t lod, RsAllocationCubemapFace face, in data() argument 425 void rsi_Allocation1DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t lod, in rsi_Allocation1DData() argument 428 a->data(rsc, xoff, lod, count, data, sizeBytes); in rsi_Allocation1DData() 431 …lementData(Context *rsc, RsAllocation va, uint32_t x, uint32_t y, uint32_t lod, RsAllocationCubema… in rsi_Allocation2DElementData() argument 437 void rsi_Allocation1DElementData(Context *rsc, RsAllocation va, uint32_t x, uint32_t lod, in rsi_Allocation1DElementData() argument 443 void rsi_Allocation2DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod… in rsi_Allocation2DData() argument [all …]
|
D | rsAllocation.h | 83 …void data(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, uint32_t si… 84 … void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 86 …void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCub…
|
D | rs_hal.h | 51 uint32_t lod; member 119 uint32_t xoff, uint32_t lod, uint32_t count, 122 uint32_t xoff, uint32_t yoff, uint32_t lod, 127 uint32_t lod, RsAllocationCubemapFace face,
|
D | rs.spec | 155 param uint32_t lod 163 param uint32_t lod 172 param uint32_t lod 183 param uint32_t lod
|
/frameworks/base/graphics/java/android/renderscript/ |
D | AllocationAdapter.java | 99 void initLOD(int lod) { in initLOD() argument 100 if (lod < 0) { in initLOD() 101 throw new RSIllegalArgumentException("Attempting to set negative lod (" + lod + ")."); in initLOD() 108 for (int ct=0; ct < lod; ct++) { in initLOD() 110 … throw new RSIllegalArgumentException("Attempting to set lod (" + lod + ") out of range."); in initLOD() 141 public void setLOD(int lod) { in setLOD() argument 149 initLOD(lod); in setLOD()
|
/frameworks/base/libs/rs/driver/ |
D | rsdAllocation.cpp | 77 uint32_t xoff, uint32_t yoff, uint32_t lod, in Update2DTexture() argument 88 RSD_CALL_GL(glTexSubImage2D, t, lod, xoff, yoff, w, h, drv->glFormat, drv->glType, ptr); in Update2DTexture() 105 for (uint32_t lod = 0; lod < alloc->mHal.state.type->getLODCount(); lod++) { in Upload2DTexture() local 107 p += alloc->mHal.state.type->getLODFaceOffset(lod, (RsAllocationCubemapFace)face, 0, 0); in Upload2DTexture() 115 RSD_CALL_GL(glTexImage2D, t, lod, drv->glFormat, in Upload2DTexture() 116 alloc->mHal.state.type->getLODDimX(lod), in Upload2DTexture() 117 alloc->mHal.state.type->getLODDimY(lod), in Upload2DTexture() 120 RSD_CALL_GL(glTexSubImage2D, t, lod, 0, 0, in Upload2DTexture() 121 alloc->mHal.state.type->getLODDimX(lod), in Upload2DTexture() 122 alloc->mHal.state.type->getLODDimY(lod), in Upload2DTexture() [all …]
|
D | rsdAllocation.h | 73 uint32_t xoff, uint32_t lod, uint32_t count, 77 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 83 uint32_t lod, RsAllocationCubemapFace face,
|
/frameworks/base/opengl/libagl/ |
D | TextureObjectManager.cpp | 108 const GGLSurface& EGLTextureObject::mip(int lod) const in mip() 110 if (lod<=0 || !mMipmaps) in mip() 112 lod = min(lod-1, mNumExtraLod-1); in mip() 113 return mMipmaps[lod]; in mip() 116 GGLSurface& EGLTextureObject::editMip(int lod) in editMip() argument 118 return const_cast<GGLSurface&>(mip(lod)); in editMip()
|
D | TextureObjectManager.h | 58 const GGLSurface& mip(int lod) const; 59 GGLSurface& editMip(int lod);
|
D | primitives.cpp | 711 int lod = (log2TArea - log2Area + 1) >> 1; in compute_lod() local 712 return lod; in compute_lod() 735 int lod = compute_lod(c, i, s0, t0, s1, t1, s2, t2); in lerp_texcoords() local 737 &c->textures.tmu[i].texture->mip(lod)); in lerp_texcoords() 792 int lod = compute_lod(c, i, s0, t0, s1, t1, s2, t2); in lerp_texcoords_w() local 794 &c->textures.tmu[i].texture->mip(lod)); in lerp_texcoords_w()
|
/frameworks/base/graphics/jni/ |
D | android_renderscript_RenderScript.cpp | 518 nAllocationData1D_i(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, … in nAllocationData1D_i() argument 523 rsAllocation1DData(con, (RsAllocation)alloc, offset, lod, count, ptr, sizeBytes); in nAllocationData1D_i() 528 nAllocationData1D_s(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, … in nAllocationData1D_s() argument 533 rsAllocation1DData(con, (RsAllocation)alloc, offset, lod, count, ptr, sizeBytes); in nAllocationData1D_s() 538 nAllocationData1D_b(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, … in nAllocationData1D_b() argument 543 rsAllocation1DData(con, (RsAllocation)alloc, offset, lod, count, ptr, sizeBytes); in nAllocationData1D_b() 548 nAllocationData1D_f(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, … in nAllocationData1D_f() argument 553 rsAllocation1DData(con, (RsAllocation)alloc, offset, lod, count, ptr, sizeBytes); in nAllocationData1D_f() 559 …(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, jint compIdx, jbyt… in nAllocationElementData1D() argument 564 rsAllocation1DElementData(con, (RsAllocation)alloc, offset, lod, ptr, compIdx, sizeBytes); in nAllocationElementData1D() [all …]
|