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

/frameworks/rs/
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
H A DrsSampler.h45 RsSamplerValue wrapS; member in struct:android::renderscript::Sampler::Hal::State
59 RsSamplerValue wrapS,
81 RsSamplerValue wrapS,
H A Drs.spec361 param RsSamplerValue wrapS
/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/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
H A DrsCppStructs.h4230 RsSamplerValue wrapS, RsSamplerValue wrapT, float anisotropy);
4243 * @param[in] wrapS S wrapping mode
4247 static sp<Sampler> create(sp<RS> rs, RsSamplerValue min, RsSamplerValue mag, RsSamplerValue wrapS, RsSamplerValue wrapT, float anisotropy);
/frameworks/base/libs/hwui/
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 DProgramCache.h55 void generateTextureWrap(String8& shader, GLenum wrapS, GLenum wrapT);
H A DAssetAtlas.cpp82 virtual void setWrapST(GLenum wrapS, GLenum wrapT, bool bindTexture = false,
84 mDelegate->setWrapST(wrapS, wrapT, bindTexture, force, renderTarget);
H A DTexture.cpp47 void Texture::setWrapST(GLenum wrapS, GLenum wrapT, bool bindTexture, bool force, argument
50 if (force || wrapS != mWrapS || wrapT != mWrapT) {
51 mWrapS = wrapS;
58 glTexParameteri(renderTarget, GL_TEXTURE_WRAP_S, wrapS);
H A DSkiaShader.cpp59 static inline void bindTexture(Caches* caches, Texture* texture, GLenum wrapS, GLenum wrapT) { argument
61 texture->setWrapST(wrapS, wrapT);
233 outData->wrapS = GL_CLAMP_TO_EDGE;
236 outData->wrapS = gTileModes[xy[0]];
250 bindTexture(&caches, data.bitmapTexture, data.wrapS, data.wrapT);
H A DTexture.h49 virtual void setWrapST(GLenum wrapS, GLenum wrapT, bool bindTexture = false,
H A DProgramCache.cpp755 void ProgramCache::generateTextureWrap(String8& shader, GLenum wrapS, GLenum wrapT) { argument
757 if (wrapS == GL_MIRRORED_REPEAT) {
766 switch (wrapS) {
/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_sampler.c31 return prog->mHal.state.wrapS;
H A Drs_structs.h177 rs_sampler_value wrapS; member in struct:Sampler::__anon1669::__anon1670
/frameworks/rs/driver/
H A DrsdShader.cpp440 RSD_CALL_GL(glTexParameteri, target, GL_TEXTURE_WRAP_S, transNP[s->mHal.state.wrapS]);
451 RSD_CALL_GL(glTexParameteri, target, GL_TEXTURE_WRAP_S, trans[s->mHal.state.wrapS]);
/frameworks/base/rs/java/android/renderscript/
H A DRenderScript.java890 int wrapS, int wrapT, int wrapR, float aniso);
892 int wrapS, int wrapT, int wrapR, float aniso) {
894 return rsnSamplerCreate(mContext, magFilter, minFilter, wrapS, wrapT, wrapR, aniso);
889 rsnSamplerCreate(long con, int magFilter, int minFilter, int wrapS, int wrapT, int wrapR, float aniso) argument
891 nSamplerCreate(int magFilter, int minFilter, int wrapS, int wrapT, int wrapR, float aniso) argument
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DRenderScript.java849 int wrapS, int wrapT, int wrapR, float aniso);
851 int wrapS, int wrapT, int wrapR, float aniso) {
853 return rsnSamplerCreate(mContext, magFilter, minFilter, wrapS, wrapT, wrapR, aniso);
848 rsnSamplerCreate(long con, int magFilter, int minFilter, int wrapS, int wrapT, int wrapR, float aniso) argument
850 nSamplerCreate(int magFilter, int minFilter, int wrapS, int wrapT, int wrapR, float aniso) argument
/frameworks/base/rs/jni/
H A Dandroid_renderscript_RenderScript.cpp2614 jint wrapS, jint wrapT, jint wrapR, jfloat aniso)
2622 (RsSamplerValue)wrapS,
2613 nSamplerCreate(JNIEnv *_env, jobject _this, jlong con, jint magFilter, jint minFilter, jint wrapS, jint wrapT, jint wrapR, jfloat aniso) argument
/frameworks/support/v8/renderscript/jni/
H A Dandroid_renderscript_RenderScript.cpp2079 jint wrapS, jint wrapT, jint wrapR, jfloat aniso)
2085 (RsSamplerValue)wrapS,
2078 nSamplerCreate(JNIEnv *_env, jobject _this, jlong con, jint magFilter, jint minFilter, jint wrapS, jint wrapT, jint wrapR, jfloat aniso) argument

Completed in 8926 milliseconds