Home
last modified time | relevance | path

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

/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
Dsampler.rs5 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/java/tests/RSTest_CompatLib/src/com/android/rs/test/
Dsampler.rs5 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/
DrsSampler.cpp33 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()
DrsSampler.h45 RsSamplerValue wrapS; member
59 RsSamplerValue wrapS,
81 RsSamplerValue wrapS,
Drs.spec260 param RsSamplerValue wrapS
/frameworks/rs/driver/runtime/
Drs_sample.c423 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 …]
Drs_sampler.c31 return prog->mHal.state.wrapS; in rsSamplerGetWrapS()
Drs_structs.h162 rs_sampler_value wrapS; member
/frameworks/base/libs/hwui/
DTexture.cpp41 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()
DSkiaShader.cpp58 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()
DAssetAtlas.cpp94 virtual void setWrapST(GLenum wrapS, GLenum wrapT, bool bindTexture = false, in setWrapST()
96 mDelegate->setWrapST(wrapS, wrapT, bindTexture, force, renderTarget); in setWrapST()
DProgramCache.h55 void generateTextureWrap(String8& shader, GLenum wrapS, GLenum wrapT);
DTexture.h43 virtual void setWrapST(GLenum wrapS, GLenum wrapT, bool bindTexture = false,
DProgramCache.cpp805 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/
DSampler.cpp52 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()
DrsCppStructs.h1902 … create(sp<RS> rs, RsSamplerValue min, RsSamplerValue mag, RsSamplerValue wrapS, RsSamplerValue wr…
/frameworks/rs/driver/
DrsdShader.cpp438 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/
DRenderScript.java659 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/
DRenderScript.java777 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/
Dandroid_renderscript_RenderScript.cpp975 jint wrapS, jint wrapT, jint wrapR, jfloat aniso) in nSamplerCreate() argument
981 (RsSamplerValue)wrapS, in nSamplerCreate()
/frameworks/base/rs/jni/
Dandroid_renderscript_RenderScript.cpp1557 jint wrapS, jint wrapT, jint wrapR, jfloat aniso) in nSamplerCreate() argument
1563 (RsSamplerValue)wrapS, in nSamplerCreate()