Searched defs:wrapS (Results 1 - 15 of 15) sorted by relevance

/frameworks/base/libs/hwui/
H A DTexture.cpp41 void Texture::setWrapST(GLenum wrapS, GLenum wrapT, bool bindTexture, bool force, argument
44 if (mFirstWrap || force || wrapS != mWrapS || wrapT != mWrapT) {
47 mWrapS = wrapS;
54 glTexParameteri(renderTarget, GL_TEXTURE_WRAP_S, wrapS);
H A DAssetAtlas.cpp94 virtual void setWrapST(GLenum wrapS, GLenum wrapT, bool bindTexture = false, argument
96 mDelegate->setWrapST(wrapS, wrapT, bindTexture, force, renderTarget);
H A DSkiaShader.cpp93 void SkiaShader::bindTexture(Texture* texture, GLenum wrapS, GLenum wrapT) { argument
95 texture->setWrapST(wrapS, wrapT);
H A DProgramCache.cpp759 void ProgramCache::generateTextureWrap(String8& shader, GLenum wrapS, GLenum wrapT) { argument
761 if (wrapS == GL_MIRRORED_REPEAT) {
770 switch (wrapS) {
/frameworks/rs/cpp/
H A DSampler.cpp52 sp<Sampler> Sampler::create(sp<RS> rs, RsSamplerValue min, RsSamplerValue mag, RsSamplerValue wrapS, RsSamplerValue wrapT, float anisotropy) { argument
54 void* id = RS::dispatch->SamplerCreate(rs.get(), min, mag, wrapS, wrapT, RS_SAMPLER_WRAP, anisotropy);
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
H A DUT_sampler.java28 Sampler wrapS; field in class:UT_sampler
58 wrapS = b.create();
70 s.set_wrapS(wrapS);
107 _RS_ASSERT("wrapS.getMagnification() == Sampler.Value.NEAREST",
108 wrapS.getMagnification() == Sampler.Value.NEAREST);
109 _RS_ASSERT("wrapS.getMinification() == Sampler.Value.NEAREST",
110 wrapS.getMinification() == Sampler.Value.NEAREST);
111 _RS_ASSERT("wrapS.getWrapS() == Sampler.Value.WRAP",
112 wrapS.getWrapS() == Sampler.Value.WRAP);
113 _RS_ASSERT("wrapS
[all...]
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
H A DUT_sampler.java30 Sampler wrapS; field in class:UT_sampler
60 wrapS = b.create();
72 s.set_wrapS(wrapS);
109 _RS_ASSERT("wrapS.getMagnification() == Sampler.Value.NEAREST",
110 wrapS.getMagnification() == Sampler.Value.NEAREST);
111 _RS_ASSERT("wrapS.getMinification() == Sampler.Value.NEAREST",
112 wrapS.getMinification() == Sampler.Value.NEAREST);
113 _RS_ASSERT("wrapS.getWrapS() == Sampler.Value.WRAP",
114 wrapS.getWrapS() == Sampler.Value.WRAP);
115 _RS_ASSERT("wrapS
[all...]
/frameworks/rs/
H A DrsSampler.h45 RsSamplerValue wrapS; member in struct:android::renderscript::Sampler::Hal::State
59 RsSamplerValue wrapS,
81 RsSamplerValue wrapS,
H A DrsSampler.cpp33 RsSamplerValue wrapS,
39 mHal.state.wrapS = wrapS;
81 RsSamplerValue wrapS,
91 if (existing->mHal.state.wrapS != wrapS) continue;
107 Sampler *s = new (allocMem) Sampler(rsc, magFilter, minFilter, wrapS, wrapT, wrapR, aniso);
133 RsSamplerValue wrapS,
138 wrapS, wrapT, wrapR, aniso);
30 Sampler(Context *rsc, RsSamplerValue magFilter, RsSamplerValue minFilter, RsSamplerValue wrapS, RsSamplerValue wrapT, RsSamplerValue wrapR, float aniso) argument
78 getSampler(Context *rsc, RsSamplerValue magFilter, RsSamplerValue minFilter, RsSamplerValue wrapS, RsSamplerValue wrapT, RsSamplerValue wrapR, float aniso) argument
130 rsi_SamplerCreate(Context * rsc, RsSamplerValue magFilter, RsSamplerValue minFilter, RsSamplerValue wrapS, RsSamplerValue wrapT, RsSamplerValue wrapR, float aniso) argument
/frameworks/rs/driver/runtime/
H A Drs_sample.c424 rs_sampler_value wrapS,
447 uint32_t next = wrapI(wrapS, iPixel + 1, sourceW);
448 uint32_t location = wrapI(wrapS, iPixel, sourceW);
456 rs_sampler_value wrapS,
461 uint32_t location = wrapI(wrapS, iPixel, sourceW);
469 rs_sampler_value wrapS,
505 int nx = wrapI(wrapS, iPixelU + 1, sourceW);
507 int lx = wrapI(wrapS, iPixelU, sourceW);
517 rs_sampler_value wrapS,
529 location.x = wrapI(wrapS, iPixe
422 sample_LOD_LinearPixel(const Allocation_t *alloc, rs_data_kind dk, rs_data_type dt, rs_sampler_value wrapS, float uv, uint32_t lod) argument
454 sample_LOD_NearestPixel(const Allocation_t *alloc, rs_data_kind dk, rs_data_type dt, rs_sampler_value wrapS, float uv, uint32_t lod) argument
467 sample_LOD_LinearPixel(const Allocation_t *alloc, rs_data_kind dk, rs_data_type dt, rs_sampler_value wrapS, rs_sampler_value wrapT, float2 uv, uint32_t lod) argument
515 sample_LOD_NearestPixel(const Allocation_t *alloc, rs_data_kind dk, rs_data_type dt, rs_sampler_value wrapS, rs_sampler_value wrapT, float2 uv, uint32_t lod) argument
545 rs_sampler_value wrapS = prog->mHal.state.wrapS; local
597 rs_sampler_value wrapS = prog->mHal.state.wrapS; local
642 rs_sampler_value wrapS = prog->mHal.state.wrapS; local
[all...]
H A Drs_structs.h152 rs_sampler_value wrapS; member in struct:Sampler::__anon1626::__anon1627
/frameworks/support/v8/renderscript/jni/
H A Dandroid_renderscript_RenderScript.cpp975 jint wrapS, jint wrapT, jint wrapR, jfloat aniso)
981 (RsSamplerValue)wrapS,
974 nSamplerCreate(JNIEnv *_env, jobject _this, RsContext con, jint magFilter, jint minFilter, jint wrapS, jint wrapT, jint wrapR, jfloat aniso) argument
/frameworks/base/graphics/jni/
H A Dandroid_renderscript_RenderScript.cpp1450 jint wrapS, jint wrapT, jint wrapR, jfloat aniso)
1456 (RsSamplerValue)wrapS,
1449 nSamplerCreate(JNIEnv *_env, jobject _this, RsContext con, jint magFilter, jint minFilter, jint wrapS, jint wrapT, jint wrapR, jfloat aniso) argument
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DRenderScript.java578 int wrapS, int wrapT, int wrapR, float aniso);
580 int wrapS, int wrapT, int wrapR, float aniso) {
582 return rsnSamplerCreate(mContext, magFilter, minFilter, wrapS, wrapT, wrapR, aniso);
577 rsnSamplerCreate(int con, int magFilter, int minFilter, int wrapS, int wrapT, int wrapR, float aniso) argument
579 nSamplerCreate(int magFilter, int minFilter, int wrapS, int wrapT, int wrapR, float aniso) argument
/frameworks/base/graphics/java/android/renderscript/
H A DRenderScript.java771 int wrapS, int wrapT, int wrapR, float aniso);
773 int wrapS, int wrapT, int wrapR, float aniso) {
775 return rsnSamplerCreate(mContext, magFilter, minFilter, wrapS, wrapT, wrapR, aniso);
770 rsnSamplerCreate(int con, int magFilter, int minFilter, int wrapS, int wrapT, int wrapR, float aniso) argument
772 nSamplerCreate(int magFilter, int minFilter, int wrapS, int wrapT, int wrapR, float aniso) argument

Completed in 240 milliseconds