Home
last modified time | relevance | path

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

/frameworks/rs/
DrsSampler.cpp32 RsSamplerValue wrapS, in Sampler() argument
38 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()
135 RsSamplerValue wrapS, in rsi_SamplerCreate() argument
140 wrapS, wrapT, wrapR, aniso); in rsi_SamplerCreate()
DrsSampler.h47 RsSamplerValue wrapS; member
61 RsSamplerValue wrapS,
83 RsSamplerValue wrapS,
Drs.spec361 param RsSamplerValue wrapS
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.h204 RsSamplerValue minFilter, RsSamplerValue wrapS,
DrsHidlAdaptation.cpp707 RsSamplerValue wrapS, in SamplerCreate() argument
714 (SamplerValue)wrapS, in SamplerCreate()
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
Dsampler.rscript5 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);
DUT_sampler.java28 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/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
DUT_sampler.java26 Sampler wrapS; field in UT_sampler
55 wrapS = b.create(); in initializeGlobals()
67 s.set_wrapS(wrapS); in initializeGlobals()
104 wrapS.getMagnification() == Sampler.Value.NEAREST); in testJavaSide()
106 wrapS.getMinification() == Sampler.Value.NEAREST); in testJavaSide()
108 wrapS.getWrapS() == Sampler.Value.WRAP); in testJavaSide()
110 wrapS.getWrapT() == Sampler.Value.CLAMP); in testJavaSide()
112 wrapS.getAnisotropy() == 1.0f); in testJavaSide()
Dsampler.rscript21 rs_sampler wrapS;
40 _RS_ASSERT(rsSamplerGetMagnification(wrapS) == RS_SAMPLER_NEAREST);
41 _RS_ASSERT(rsSamplerGetMinification(wrapS) == RS_SAMPLER_NEAREST);
42 _RS_ASSERT(rsSamplerGetWrapS(wrapS) == RS_SAMPLER_WRAP);
43 _RS_ASSERT(rsSamplerGetWrapT(wrapS) == RS_SAMPLER_CLAMP);
44 _RS_ASSERT(rsSamplerGetAnisotropy(wrapS) == 1.0f);
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
DUT_sampler.java28 Sampler wrapS; field in UT_sampler
57 wrapS = b.create(); in initializeGlobals()
69 s.set_wrapS(wrapS); in initializeGlobals()
106 wrapS.getMagnification() == Sampler.Value.NEAREST); in testJavaSide()
108 wrapS.getMinification() == Sampler.Value.NEAREST); in testJavaSide()
110 wrapS.getWrapS() == Sampler.Value.WRAP); in testJavaSide()
112 wrapS.getWrapT() == Sampler.Value.CLAMP); in testJavaSide()
114 wrapS.getAnisotropy() == 1.0f); in testJavaSide()
Dsampler.rscript23 rs_sampler wrapS;
42 _RS_ASSERT(rsSamplerGetMagnification(wrapS) == RS_SAMPLER_NEAREST);
43 _RS_ASSERT(rsSamplerGetMinification(wrapS) == RS_SAMPLER_NEAREST);
44 _RS_ASSERT(rsSamplerGetWrapS(wrapS) == RS_SAMPLER_WRAP);
45 _RS_ASSERT(rsSamplerGetWrapT(wrapS) == RS_SAMPLER_CLAMP);
46 _RS_ASSERT(rsSamplerGetAnisotropy(wrapS) == 1.0f);
/frameworks/rs/driver/runtime/
Drs_sample.c423 rs_sampler_value wrapS, in sample_LOD_LinearPixel() argument
444 uint32_t next = wrapI(wrapS, iPixel + 1, sourceW); in sample_LOD_LinearPixel()
445 uint32_t location = wrapI(wrapS, iPixel, sourceW); in sample_LOD_LinearPixel()
453 rs_sampler_value wrapS, in sample_LOD_NearestPixel() argument
458 uint32_t location = wrapI(wrapS, iPixel, sourceW); in sample_LOD_NearestPixel()
466 rs_sampler_value wrapS, in sample_LOD_LinearPixel() argument
500 int nx = wrapI(wrapS, iPixelU + 1, sourceW); in sample_LOD_LinearPixel()
502 int lx = wrapI(wrapS, iPixelU, sourceW); in sample_LOD_LinearPixel()
512 rs_sampler_value wrapS, in sample_LOD_NearestPixel() argument
524 location.x = wrapI(wrapS, iPixel.x, sourceW); in sample_LOD_NearestPixel()
[all …]
Drs_sampler.c31 return prog->mHal.state.wrapS; in rsSamplerGetWrapS()
Drs_structs.h177 rs_sampler_value wrapS; member
/frameworks/rs/cpp/
DSampler.cpp34 RsSamplerValue wrapS, RsSamplerValue wrapT, float anisotropy): in Sampler() argument
39 RsSamplerValue mWrapS = wrapS; 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 …(const sp<RS>& rs, RsSamplerValue min, RsSamplerValue mag, RsSamplerValue wrapS, RsSamplerValue wr…
/frameworks/rs/driver/
DrsdShader.cpp444 RSD_CALL_GL(glTexParameteri, target, GL_TEXTURE_WRAP_S, transNP[s->mHal.state.wrapS]); in setupSampler()
455 RSD_CALL_GL(glTexParameteri, target, GL_TEXTURE_WRAP_S, trans[s->mHal.state.wrapS]); in setupSampler()
/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/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/rs/support/jni/
Dandroid_renderscript_RenderScript.cpp2081 jint wrapS, jint wrapT, jint wrapR, jfloat aniso) in nSamplerCreate() argument
2087 (RsSamplerValue)wrapS, in nSamplerCreate()
/frameworks/base/rs/jni/
Dandroid_renderscript_RenderScript.cpp2620 jint wrapS, jint wrapT, jint wrapR, jfloat aniso) in nSamplerCreate() argument
2628 (RsSamplerValue)wrapS, in nSamplerCreate()