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.h205 RsSamplerValue wrapT, RsSamplerValue wrapR, float mAniso)
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/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/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/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.java866 int wrapS, int wrapT, int wrapR, float aniso); in rsnSamplerCreate() argument
868 int wrapS, int wrapT, int wrapR, float aniso) { in nSamplerCreate() argument
870 return rsnSamplerCreate(mContext, magFilter, minFilter, wrapS, wrapT, wrapR, aniso); in nSamplerCreate()
/frameworks/base/rs/java/android/renderscript/
DRenderScript.java897 int wrapS, int wrapT, int wrapR, float aniso); in rsnSamplerCreate() argument
899 int wrapS, int wrapT, int wrapR, float aniso) { in nSamplerCreate() argument
901 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.cpp2620 jint wrapS, jint wrapT, jint wrapR, jfloat aniso) in nSamplerCreate() argument
2629 (RsSamplerValue)wrapT, in nSamplerCreate()