Home
last modified time | relevance | path

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

/frameworks/rs/
DrsSampler.cpp33 RsSamplerValue wrapT, in Sampler() argument
39 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()
136 RsSamplerValue wrapT, in rsi_SamplerCreate() argument
140 wrapS, wrapT, wrapR, aniso); in rsi_SamplerCreate()
DrsSampler.h48 RsSamplerValue wrapT; member
62 RsSamplerValue wrapT,
84 RsSamplerValue wrapT,
Drs.spec362 param RsSamplerValue wrapT
DrsApiStubs.cpp604 … RsSamplerValue wrapS, RsSamplerValue wrapT, RsSamplerValue wrapR, in rsSamplerCreate() argument
607 … return RS_DISPATCH(ctxWrapper, SamplerCreate, magFilter, minFilter, wrapS, wrapT, wrapR, mAniso); in rsSamplerCreate()
DrsApiStubs.h104 …magFilter, RsSamplerValue minFilter, RsSamplerValue wrapS, RsSamplerValue wrapT, RsSamplerValue wr…
DrsHidlAdaptation.cpp708 RsSamplerValue wrapT, in SamplerCreate() argument
715 (SamplerValue)wrapT, in SamplerCreate()
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
Dsampler.rscript6 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/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
DUT_sampler.java27 Sampler wrapT; field in UT_sampler
59 wrapT = b.create(); in initializeGlobals()
68 s.set_wrapT(wrapT); in initializeGlobals()
115 wrapT.getMagnification() == Sampler.Value.NEAREST); in testJavaSide()
117 wrapT.getMinification() == Sampler.Value.NEAREST); in testJavaSide()
119 wrapT.getWrapS() == Sampler.Value.CLAMP); in testJavaSide()
121 wrapT.getWrapT() == Sampler.Value.WRAP); in testJavaSide()
123 wrapT.getAnisotropy() == 1.0f); in testJavaSide()
Dsampler.rscript22 rs_sampler wrapT;
46 _RS_ASSERT(rsSamplerGetMagnification(wrapT) == RS_SAMPLER_NEAREST);
47 _RS_ASSERT(rsSamplerGetMinification(wrapT) == RS_SAMPLER_NEAREST);
48 _RS_ASSERT(rsSamplerGetWrapS(wrapT) == RS_SAMPLER_CLAMP);
49 _RS_ASSERT(rsSamplerGetWrapT(wrapT) == RS_SAMPLER_WRAP);
50 _RS_ASSERT(rsSamplerGetAnisotropy(wrapT) == 1.0f);
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
DUT_sampler.java29 Sampler wrapT; field in UT_sampler
61 wrapT = b.create(); in initializeGlobals()
70 s.set_wrapT(wrapT); in initializeGlobals()
117 wrapT.getMagnification() == Sampler.Value.NEAREST); in testJavaSide()
119 wrapT.getMinification() == Sampler.Value.NEAREST); in testJavaSide()
121 wrapT.getWrapS() == Sampler.Value.CLAMP); in testJavaSide()
123 wrapT.getWrapT() == Sampler.Value.WRAP); in testJavaSide()
125 wrapT.getAnisotropy() == 1.0f); in testJavaSide()
Dsampler.rscript24 rs_sampler wrapT;
48 _RS_ASSERT(rsSamplerGetMagnification(wrapT) == RS_SAMPLER_NEAREST);
49 _RS_ASSERT(rsSamplerGetMinification(wrapT) == RS_SAMPLER_NEAREST);
50 _RS_ASSERT(rsSamplerGetWrapS(wrapT) == RS_SAMPLER_CLAMP);
51 _RS_ASSERT(rsSamplerGetWrapT(wrapT) == RS_SAMPLER_WRAP);
52 _RS_ASSERT(rsSamplerGetAnisotropy(wrapT) == 1.0f);
/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.c467 rs_sampler_value wrapT, in sample_LOD_LinearPixel() argument
501 int ny = wrapI(wrapT, iPixelV + 1, sourceH); in sample_LOD_LinearPixel()
503 int ly = wrapI(wrapT, iPixelV, sourceH); in sample_LOD_LinearPixel()
513 rs_sampler_value wrapT, in sample_LOD_NearestPixel() argument
525 location.y = wrapI(wrapT, iPixel.y, sourceH); in sample_LOD_NearestPixel()
593 rs_sampler_value wrapT = prog->mHal.state.wrapT; in rsSample() local
601 return sample_LOD_NearestPixel(alloc, dk, dt, wrapS, wrapT, uv, 0); in rsSample()
603 return sample_LOD_LinearPixel(alloc, dk, dt, wrapS, wrapT, uv, 0); in rsSample()
610 return sample_LOD_LinearPixel(alloc, dk, dt, wrapS, wrapT, uv, nearestLOD); in rsSample()
619 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/rs/driver/
DrsdShader.cpp445 RSD_CALL_GL(glTexParameteri, target, GL_TEXTURE_WRAP_T, transNP[s->mHal.state.wrapT]); in setupSampler()
456 RSD_CALL_GL(glTexParameteri, target, GL_TEXTURE_WRAP_T, trans[s->mHal.state.wrapT]); in setupSampler()
/frameworks/rs/support/java/src/androidx/renderscript/
DRenderScript.java861 int wrapS, int wrapT, int wrapR, float aniso); in rsnSamplerCreate() argument
863 int wrapS, int wrapT, int wrapR, float aniso) { in nSamplerCreate() argument
865 return rsnSamplerCreate(mContext, magFilter, minFilter, wrapS, wrapT, wrapR, aniso); in nSamplerCreate()
/frameworks/base/rs/java/android/renderscript/
DRenderScript.java903 int wrapS, int wrapT, int wrapR, float aniso); in rsnSamplerCreate() argument
905 int wrapS, int wrapT, int wrapR, float aniso) { in nSamplerCreate() argument
907 return rsnSamplerCreate(mContext, magFilter, minFilter, wrapS, wrapT, wrapR, aniso); in nSamplerCreate()
/frameworks/rs/support/jni/
Dandroid_renderscript_RenderScript.cpp2081 jint wrapS, jint wrapT, jint wrapR, jfloat aniso) in nSamplerCreate() argument
2088 (RsSamplerValue)wrapT, in nSamplerCreate()
/frameworks/base/rs/jni/
Dandroid_renderscript_RenderScript.cpp2625 jint wrapS, jint wrapT, jint wrapR, jfloat aniso) in nSamplerCreate() argument
2634 (RsSamplerValue)wrapT, in nSamplerCreate()