Home
last modified time | relevance | path

Searched refs:wrapT (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/rs/
DrsSampler.cpp34 RsSamplerValue wrapT, in Sampler() argument
40 mHal.state.wrapT = wrapT; in Sampler()
82 RsSamplerValue wrapT, in getSampler() argument
92 if (existing->mHal.state.wrapT != wrapT) continue; in getSampler()
107 Sampler *s = new (allocMem) Sampler(rsc, magFilter, minFilter, wrapS, wrapT, wrapR, aniso); in getSampler()
139 RsSamplerValue wrapT, in rsi_SamplerCreate() argument
143 wrapS, wrapT, wrapR, aniso); in rsi_SamplerCreate()
DrsSampler.h46 RsSamplerValue wrapT; member
60 RsSamplerValue wrapT,
82 RsSamplerValue wrapT,
Drs.spec362 param RsSamplerValue wrapT
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/
Dsampler.rs6 rs_sampler wrapT;
30 _RS_ASSERT(rsSamplerGetMagnification(wrapT) == RS_SAMPLER_NEAREST);
31 _RS_ASSERT(rsSamplerGetMinification(wrapT) == RS_SAMPLER_NEAREST);
32 _RS_ASSERT(rsSamplerGetWrapS(wrapT) == RS_SAMPLER_CLAMP);
33 _RS_ASSERT(rsSamplerGetWrapT(wrapT) == RS_SAMPLER_WRAP);
34 _RS_ASSERT(rsSamplerGetAnisotropy(wrapT) == 1.0f);
DUT_sampler.java29 Sampler wrapT; field in UT_sampler
62 wrapT = b.create(); in initializeGlobals()
71 s.set_wrapT(wrapT); in initializeGlobals()
119 wrapT.getMagnification() == Sampler.Value.NEAREST); in testJavaSide()
121 wrapT.getMinification() == Sampler.Value.NEAREST); in testJavaSide()
123 wrapT.getWrapS() == Sampler.Value.CLAMP); in testJavaSide()
125 wrapT.getWrapT() == Sampler.Value.WRAP); in testJavaSide()
127 wrapT.getAnisotropy() == 1.0f); in testJavaSide()
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
Dsampler.rs6 rs_sampler wrapT;
30 _RS_ASSERT(rsSamplerGetMagnification(wrapT) == RS_SAMPLER_NEAREST);
31 _RS_ASSERT(rsSamplerGetMinification(wrapT) == RS_SAMPLER_NEAREST);
32 _RS_ASSERT(rsSamplerGetWrapS(wrapT) == RS_SAMPLER_CLAMP);
33 _RS_ASSERT(rsSamplerGetWrapT(wrapT) == RS_SAMPLER_WRAP);
34 _RS_ASSERT(rsSamplerGetAnisotropy(wrapT) == 1.0f);
DUT_sampler.java29 Sampler wrapT; field in UT_sampler
62 wrapT = b.create(); in initializeGlobals()
71 s.set_wrapT(wrapT); in initializeGlobals()
119 wrapT.getMagnification() == Sampler.Value.NEAREST); in testJavaSide()
121 wrapT.getMinification() == Sampler.Value.NEAREST); in testJavaSide()
123 wrapT.getWrapS() == Sampler.Value.CLAMP); in testJavaSide()
125 wrapT.getWrapT() == Sampler.Value.WRAP); in testJavaSide()
127 wrapT.getAnisotropy() == 1.0f); in testJavaSide()
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
Dsampler.rs6 rs_sampler wrapT;
30 _RS_ASSERT(rsSamplerGetMagnification(wrapT) == RS_SAMPLER_NEAREST);
31 _RS_ASSERT(rsSamplerGetMinification(wrapT) == RS_SAMPLER_NEAREST);
32 _RS_ASSERT(rsSamplerGetWrapS(wrapT) == RS_SAMPLER_CLAMP);
33 _RS_ASSERT(rsSamplerGetWrapT(wrapT) == RS_SAMPLER_WRAP);
34 _RS_ASSERT(rsSamplerGetAnisotropy(wrapT) == 1.0f);
DUT_sampler.java29 Sampler wrapT; field in UT_sampler
62 wrapT = b.create(); in initializeGlobals()
71 s.set_wrapT(wrapT); in initializeGlobals()
119 wrapT.getMagnification() == Sampler.Value.NEAREST); in testJavaSide()
121 wrapT.getMinification() == Sampler.Value.NEAREST); in testJavaSide()
123 wrapT.getWrapS() == Sampler.Value.CLAMP); in testJavaSide()
125 wrapT.getWrapT() == Sampler.Value.WRAP); in testJavaSide()
127 wrapT.getAnisotropy() == 1.0f); in testJavaSide()
/frameworks/rs/cpp/
DSampler.cpp34 RsSamplerValue wrapS, RsSamplerValue wrapT, float anisotropy): in Sampler() argument
40 RsSamplerValue mWrapT = wrapT; in Sampler()
65 RsSamplerValue wrapS, RsSamplerValue wrapT, float anisotropy) { in create() argument
67 void* id = RS::dispatch->SamplerCreate(rs->getContext(), min, mag, wrapS, wrapT, in create()
69 return new Sampler(rs, id, min, mag, wrapS, wrapT, anisotropy); in create()
DrsCppStructs.h4230 RsSamplerValue wrapS, RsSamplerValue wrapT, float anisotropy);
4247 …amplerValue min, RsSamplerValue mag, RsSamplerValue wrapS, RsSamplerValue wrapT, float anisotropy);
/frameworks/rs/driver/runtime/
Drs_sample.c469 rs_sampler_value wrapT, in sample_LOD_LinearPixel() argument
505 int ny = wrapI(wrapT, iPixelV + 1, sourceH); in sample_LOD_LinearPixel()
507 int ly = wrapI(wrapT, iPixelV, sourceH); in sample_LOD_LinearPixel()
517 rs_sampler_value wrapT, in sample_LOD_NearestPixel() argument
529 location.y = wrapI(wrapT, iPixel.y, sourceH); in sample_LOD_NearestPixel()
597 rs_sampler_value wrapT = prog->mHal.state.wrapT; in rsSample() local
605 return sample_LOD_NearestPixel(alloc, dk, dt, wrapS, wrapT, uv, 0); in rsSample()
607 return sample_LOD_LinearPixel(alloc, dk, dt, wrapS, wrapT, uv, 0); in rsSample()
614 return sample_LOD_LinearPixel(alloc, dk, dt, wrapS, wrapT, uv, nearestLOD); in rsSample()
623 float4 sample0 = sample_LOD_LinearPixel(alloc, dk, dt, wrapS, wrapT, uv, lod0); in rsSample()
[all …]
Drs_sampler.c40 return prog->mHal.state.wrapT; in rsSamplerGetWrapT()
Drs_structs.h178 rs_sampler_value wrapT; member
/frameworks/base/libs/hwui/
DSkiaShader.h58 GLenum wrapT; member
81 GLenum wrapT; member
DTexture.cpp47 void Texture::setWrapST(GLenum wrapS, GLenum wrapT, bool bindTexture, bool force, in setWrapST() argument
50 if (force || wrapS != mWrapS || wrapT != mWrapT) { in setWrapST()
52 mWrapT = wrapT; in setWrapST()
59 glTexParameteri(renderTarget, GL_TEXTURE_WRAP_T, wrapT); in setWrapST()
DSkiaShader.cpp59 static inline void bindTexture(Caches* caches, Texture* texture, GLenum wrapS, GLenum wrapT) { in bindTexture() argument
61 texture->setWrapST(wrapS, wrapT); in bindTexture()
234 outData->wrapT = GL_CLAMP_TO_EDGE; in tryStoreBitmap()
237 outData->wrapT = gTileModes[xy[1]]; in tryStoreBitmap()
250 bindTexture(&caches, data.bitmapTexture, data.wrapS, data.wrapT); in applyBitmap()
DAssetAtlas.cpp82 virtual void setWrapST(GLenum wrapS, GLenum wrapT, bool bindTexture = false, in setWrapST()
84 mDelegate->setWrapST(wrapS, wrapT, bindTexture, force, renderTarget); in setWrapST()
DProgramCache.h55 void generateTextureWrap(String8& shader, GLenum wrapS, GLenum wrapT);
DProgramCache.cpp755 void ProgramCache::generateTextureWrap(String8& shader, GLenum wrapS, GLenum wrapT) { in generateTextureWrap() argument
761 if (wrapT == GL_MIRRORED_REPEAT) { in generateTextureWrap()
778 switch (wrapT) { in generateTextureWrap()
DTexture.h49 virtual void setWrapST(GLenum wrapS, GLenum wrapT, bool bindTexture = false,
/frameworks/rs/driver/
DrsdShader.cpp441 RSD_CALL_GL(glTexParameteri, target, GL_TEXTURE_WRAP_T, transNP[s->mHal.state.wrapT]); in setupSampler()
452 RSD_CALL_GL(glTexParameteri, target, GL_TEXTURE_WRAP_T, trans[s->mHal.state.wrapT]); in setupSampler()
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DRenderScript.java849 int wrapS, int wrapT, int wrapR, float aniso); in rsnSamplerCreate() argument
851 int wrapS, int wrapT, int wrapR, float aniso) { in nSamplerCreate() argument
853 return rsnSamplerCreate(mContext, magFilter, minFilter, wrapS, wrapT, wrapR, aniso); in nSamplerCreate()
/frameworks/base/rs/java/android/renderscript/
DRenderScript.java890 int wrapS, int wrapT, int wrapR, float aniso); in rsnSamplerCreate() argument
892 int wrapS, int wrapT, int wrapR, float aniso) { in nSamplerCreate() argument
894 return rsnSamplerCreate(mContext, magFilter, minFilter, wrapS, wrapT, wrapR, aniso); in nSamplerCreate()
/frameworks/support/v8/renderscript/jni/
Dandroid_renderscript_RenderScript.cpp2066 jint wrapS, jint wrapT, jint wrapR, jfloat aniso) in nSamplerCreate() argument
2073 (RsSamplerValue)wrapT, in nSamplerCreate()

12