/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
D | sampler.rs | 5 rs_sampler wrapS; 24 _RS_ASSERT(rsSamplerGetMagnification(wrapS) == RS_SAMPLER_NEAREST); 25 _RS_ASSERT(rsSamplerGetMinification(wrapS) == RS_SAMPLER_NEAREST); 26 _RS_ASSERT(rsSamplerGetWrapS(wrapS) == RS_SAMPLER_WRAP); 27 _RS_ASSERT(rsSamplerGetWrapT(wrapS) == RS_SAMPLER_CLAMP); 28 _RS_ASSERT(rsSamplerGetAnisotropy(wrapS) == 1.0f);
|
D | UT_sampler.java | 28 Sampler wrapS; field in UT_sampler 58 wrapS = b.create(); in initializeGlobals() 70 s.set_wrapS(wrapS); in initializeGlobals() 108 wrapS.getMagnification() == Sampler.Value.NEAREST); in testJavaSide() 110 wrapS.getMinification() == Sampler.Value.NEAREST); in testJavaSide() 112 wrapS.getWrapS() == Sampler.Value.WRAP); in testJavaSide() 114 wrapS.getWrapT() == Sampler.Value.CLAMP); in testJavaSide() 116 wrapS.getAnisotropy() == 1.0f); in testJavaSide()
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
D | sampler.rs | 5 rs_sampler wrapS; 24 _RS_ASSERT(rsSamplerGetMagnification(wrapS) == RS_SAMPLER_NEAREST); 25 _RS_ASSERT(rsSamplerGetMinification(wrapS) == RS_SAMPLER_NEAREST); 26 _RS_ASSERT(rsSamplerGetWrapS(wrapS) == RS_SAMPLER_WRAP); 27 _RS_ASSERT(rsSamplerGetWrapT(wrapS) == RS_SAMPLER_CLAMP); 28 _RS_ASSERT(rsSamplerGetAnisotropy(wrapS) == 1.0f);
|
D | UT_sampler.java | 28 Sampler wrapS; field in UT_sampler 58 wrapS = b.create(); in initializeGlobals() 70 s.set_wrapS(wrapS); in initializeGlobals() 108 wrapS.getMagnification() == Sampler.Value.NEAREST); in testJavaSide() 110 wrapS.getMinification() == Sampler.Value.NEAREST); in testJavaSide() 112 wrapS.getWrapS() == Sampler.Value.WRAP); in testJavaSide() 114 wrapS.getWrapT() == Sampler.Value.CLAMP); in testJavaSide() 116 wrapS.getAnisotropy() == 1.0f); in testJavaSide()
|
/frameworks/rs/ |
D | rsSampler.cpp | 33 RsSamplerValue wrapS, in Sampler() argument 39 mHal.state.wrapS = wrapS; in Sampler() 81 RsSamplerValue wrapS, in getSampler() argument 91 if (existing->mHal.state.wrapS != wrapS) continue; in getSampler() 107 Sampler *s = new (allocMem) Sampler(rsc, magFilter, minFilter, wrapS, wrapT, wrapR, aniso); in getSampler() 138 RsSamplerValue wrapS, in rsi_SamplerCreate() argument 143 wrapS, wrapT, wrapR, aniso); in rsi_SamplerCreate()
|
D | rsSampler.h | 45 RsSamplerValue wrapS; member 59 RsSamplerValue wrapS, 81 RsSamplerValue wrapS,
|
D | rs.spec | 260 param RsSamplerValue wrapS
|
/frameworks/rs/driver/runtime/ |
D | rs_sample.c | 423 rs_sampler_value wrapS, in sample_LOD_LinearPixel() argument 446 uint32_t next = wrapI(wrapS, iPixel + 1, sourceW); in sample_LOD_LinearPixel() 447 uint32_t location = wrapI(wrapS, iPixel, sourceW); in sample_LOD_LinearPixel() 455 rs_sampler_value wrapS, in sample_LOD_NearestPixel() argument 460 uint32_t location = wrapI(wrapS, iPixel, sourceW); in sample_LOD_NearestPixel() 468 rs_sampler_value wrapS, in sample_LOD_LinearPixel() argument 504 int nx = wrapI(wrapS, iPixelU + 1, sourceW); in sample_LOD_LinearPixel() 506 int lx = wrapI(wrapS, iPixelU, sourceW); in sample_LOD_LinearPixel() 516 rs_sampler_value wrapS, in sample_LOD_NearestPixel() argument 528 location.x = wrapI(wrapS, iPixel.x, sourceW); in sample_LOD_NearestPixel() [all …]
|
D | rs_sampler.c | 31 return prog->mHal.state.wrapS; in rsSamplerGetWrapS()
|
D | rs_structs.h | 162 rs_sampler_value wrapS; member
|
/frameworks/base/libs/hwui/ |
D | Texture.cpp | 41 void Texture::setWrapST(GLenum wrapS, GLenum wrapT, bool bindTexture, bool force, in setWrapST() argument 44 if (mFirstWrap || force || wrapS != mWrapS || wrapT != mWrapT) { in setWrapST() 47 mWrapS = wrapS; in setWrapST() 54 glTexParameteri(renderTarget, GL_TEXTURE_WRAP_S, wrapS); in setWrapST()
|
D | SkiaShader.cpp | 58 static inline void bindTexture(Caches* caches, Texture* texture, GLenum wrapS, GLenum wrapT) { in bindTexture() argument 60 texture->setWrapST(wrapS, wrapT); in bindTexture() 207 GLenum wrapS; member 221 GLenum wrapS, wrapT; in bitmapShaderHelper() local 236 wrapS = GL_CLAMP_TO_EDGE; in bitmapShaderHelper() 239 wrapS = gTileModes[tileModes[0]]; in bitmapShaderHelper() 246 shaderInfo->wrapS = wrapS; in bitmapShaderHelper() 289 bindTexture(caches, texture, shaderInfo.wrapS, shaderInfo.wrapT); in setupProgram()
|
D | AssetAtlas.cpp | 94 virtual void setWrapST(GLenum wrapS, GLenum wrapT, bool bindTexture = false, in setWrapST() 96 mDelegate->setWrapST(wrapS, wrapT, bindTexture, force, renderTarget); in setWrapST()
|
D | ProgramCache.h | 55 void generateTextureWrap(String8& shader, GLenum wrapS, GLenum wrapT);
|
D | Texture.h | 43 virtual void setWrapST(GLenum wrapS, GLenum wrapT, bool bindTexture = false,
|
D | ProgramCache.cpp | 805 void ProgramCache::generateTextureWrap(String8& shader, GLenum wrapS, GLenum wrapT) { in generateTextureWrap() argument 807 if (wrapS == GL_MIRRORED_REPEAT) { in generateTextureWrap() 816 switch (wrapS) { in generateTextureWrap()
|
/frameworks/rs/cpp/ |
D | Sampler.cpp | 52 sp<Sampler> Sampler::create(sp<RS> rs, RsSamplerValue min, RsSamplerValue mag, RsSamplerValue wrapS… in create() argument 54 …void* id = RS::dispatch->SamplerCreate(rs->getContext(), min, mag, wrapS, wrapT, RS_SAMPLER_WRAP, … in create()
|
D | rsCppStructs.h | 1902 … create(sp<RS> rs, RsSamplerValue min, RsSamplerValue mag, RsSamplerValue wrapS, RsSamplerValue wr…
|
/frameworks/rs/driver/ |
D | rsdShader.cpp | 438 RSD_CALL_GL(glTexParameteri, target, GL_TEXTURE_WRAP_S, transNP[s->mHal.state.wrapS]); in setupSampler() 449 RSD_CALL_GL(glTexParameteri, target, GL_TEXTURE_WRAP_S, trans[s->mHal.state.wrapS]); in setupSampler()
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
D | RenderScript.java | 659 int wrapS, int wrapT, int wrapR, float aniso); in rsnSamplerCreate() argument 661 int wrapS, int wrapT, int wrapR, float aniso) { in nSamplerCreate() argument 663 return rsnSamplerCreate(mContext, magFilter, minFilter, wrapS, wrapT, wrapR, aniso); in nSamplerCreate()
|
/frameworks/base/rs/java/android/renderscript/ |
D | RenderScript.java | 777 int wrapS, int wrapT, int wrapR, float aniso); in rsnSamplerCreate() argument 779 int wrapS, int wrapT, int wrapR, float aniso) { in nSamplerCreate() argument 781 return rsnSamplerCreate(mContext, magFilter, minFilter, wrapS, wrapT, wrapR, aniso); in nSamplerCreate()
|
/frameworks/support/v8/renderscript/jni/ |
D | android_renderscript_RenderScript.cpp | 975 jint wrapS, jint wrapT, jint wrapR, jfloat aniso) in nSamplerCreate() argument 981 (RsSamplerValue)wrapS, in nSamplerCreate()
|
/frameworks/base/rs/jni/ |
D | android_renderscript_RenderScript.cpp | 1557 jint wrapS, jint wrapT, jint wrapR, jfloat aniso) in nSamplerCreate() argument 1563 (RsSamplerValue)wrapS, in nSamplerCreate()
|