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

/frameworks/base/libs/hwui/
H A DTexture.cpp27 void Texture::setWrapST(GLenum wrapS, GLenum wrapT, bool bindTexture, bool force, argument
30 if (mFirstWrap || force || wrapS != mWrapS || wrapT != mWrapT) {
33 mWrapS = wrapS;
40 glTexParameteri(renderTarget, GL_TEXTURE_WRAP_S, wrapS);
H A DSkiaShader.h57 GLenum wrapS; member in struct:android::uirenderer::SkiaShaderData::BitmapShaderData
80 GLenum wrapS; member in struct:android::uirenderer::SkiaShaderData::LayerShaderData
H A DSkiaShader.cpp54 static inline void bindTexture(Caches* caches, Texture* texture, GLenum wrapS, GLenum wrapT) { argument
56 texture->setWrapST(wrapS, wrapT);
228 outData->wrapS = GL_CLAMP_TO_EDGE;
231 outData->wrapS = gTileModes[xy[0]];
245 bindTexture(&caches, data.bitmapTexture, data.wrapS, data.wrapT);
H A DProgramCache.cpp789 void ProgramCache::generateTextureWrap(String8& shader, GLenum wrapS, GLenum wrapT) { argument
791 if (wrapS == GL_MIRRORED_REPEAT) {
800 switch (wrapS) {
/frameworks/rs/cpp/
H A DSampler.cpp34 RsSamplerValue wrapS, RsSamplerValue wrapT, float anisotropy):
39 RsSamplerValue mWrapS = wrapS;
65 RsSamplerValue wrapS, RsSamplerValue wrapT, float anisotropy) {
67 void* id = RS::dispatch->SamplerCreate(rs->getContext(), min, mag, wrapS, wrapT,
69 return new Sampler(rs, id, min, mag, wrapS, wrapT, anisotropy);
33 Sampler(sp<RS> rs, void* id, RsSamplerValue min, RsSamplerValue mag, RsSamplerValue wrapS, RsSamplerValue wrapT, float anisotropy) argument
64 create(sp<RS> rs, RsSamplerValue min, RsSamplerValue mag, RsSamplerValue wrapS, RsSamplerValue wrapT, float anisotropy) argument
/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_CompatLibLegacy/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.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/
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);
138 RsSamplerValue wrapS,
143 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
135 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.c423 rs_sampler_value wrapS,
446 uint32_t next = wrapI(wrapS, iPixel + 1, sourceW);
447 uint32_t location = wrapI(wrapS, iPixel, sourceW);
455 rs_sampler_value wrapS,
460 uint32_t location = wrapI(wrapS, iPixel, sourceW);
468 rs_sampler_value wrapS,
504 int nx = wrapI(wrapS, iPixelU + 1, sourceW);
506 int lx = wrapI(wrapS, iPixelU, sourceW);
516 rs_sampler_value wrapS,
528 location.x = wrapI(wrapS, iPixe
421 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
453 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
466 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
514 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
544 rs_sampler_value wrapS = prog->mHal.state.wrapS; local
596 rs_sampler_value wrapS = prog->mHal.state.wrapS; local
641 rs_sampler_value wrapS = prog->mHal.state.wrapS; local
[all...]
H A Drs_structs.h177 rs_sampler_value wrapS; member in struct:Sampler::__anon1571::__anon1572
/frameworks/support/v8/renderscript/jni/
H A Dandroid_renderscript_RenderScript.cpp1815 jint wrapS, jint wrapT, jint wrapR, jfloat aniso)
1821 (RsSamplerValue)wrapS,
1814 nSamplerCreate(JNIEnv *_env, jobject _this, jlong con, jint magFilter, jint minFilter, jint wrapS, jint wrapT, jint wrapR, jfloat aniso) argument
/frameworks/base/rs/java/android/renderscript/
H A DRenderScript.java856 int wrapS, int wrapT, int wrapR, float aniso);
858 int wrapS, int wrapT, int wrapR, float aniso) {
860 return rsnSamplerCreate(mContext, magFilter, minFilter, wrapS, wrapT, wrapR, aniso);
855 rsnSamplerCreate(long con, int magFilter, int minFilter, int wrapS, int wrapT, int wrapR, float aniso) argument
857 nSamplerCreate(int magFilter, int minFilter, int wrapS, int wrapT, int wrapR, float aniso) argument
/frameworks/base/rs/jni/
H A Dandroid_renderscript_RenderScript.cpp2317 jint wrapS, jint wrapT, jint wrapR, jfloat aniso)
2325 (RsSamplerValue)wrapS,
2316 nSamplerCreate(JNIEnv *_env, jobject _this, jlong 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.java821 int wrapS, int wrapT, int wrapR, float aniso);
823 int wrapS, int wrapT, int wrapR, float aniso) {
825 return rsnSamplerCreate(mContext, magFilter, minFilter, wrapS, wrapT, wrapR, aniso);
820 rsnSamplerCreate(long con, int magFilter, int minFilter, int wrapS, int wrapT, int wrapR, float aniso) argument
822 nSamplerCreate(int magFilter, int minFilter, int wrapS, int wrapT, int wrapR, float aniso) argument

Completed in 860 milliseconds