Searched refs:wrapS (Results 1 - 21 of 21) 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.spec260 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/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/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 DProgramCache.h55 void generateTextureWrap(String8& shader, GLenum wrapS, GLenum wrapT);
H A DSkiaShader.cpp58 static inline void bindTexture(Caches* caches, Texture* texture, GLenum wrapS, GLenum wrapT) { argument
60 texture->setWrapST(wrapS, wrapT);
207 GLenum wrapS; member in struct:android::uirenderer::BitmapShaderInfo
221 GLenum wrapS, wrapT; local
236 wrapS = GL_CLAMP_TO_EDGE;
239 wrapS = gTileModes[tileModes[0]];
246 shaderInfo->wrapS = wrapS;
289 bindTexture(caches, texture, shaderInfo.wrapS, shaderInfo.wrapT);
H A DTexture.h43 virtual void setWrapST(GLenum wrapS, GLenum wrapT, bool bindTexture = false,
H A DAssetAtlas.cpp100 virtual void setWrapST(GLenum wrapS, GLenum wrapT, bool bindTexture = false, argument
102 mDelegate->setWrapST(wrapS, wrapT, bindTexture, force, renderTarget);
H A DProgramCache.cpp792 void ProgramCache::generateTextureWrap(String8& shader, GLenum wrapS, GLenum wrapT) { argument
794 if (wrapS == GL_MIRRORED_REPEAT) {
803 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.h162 rs_sampler_value wrapS; member in struct:Sampler::__anon1504::__anon1505
/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->getContext(), min, mag, wrapS, wrapT, RS_SAMPLER_WRAP, anisotropy);
H A DrsCppStructs.h1898 * @param[in] wrapS S wrapping mode
1902 static sp<Sampler> create(sp<RS> rs, RsSamplerValue min, RsSamplerValue mag, RsSamplerValue wrapS, RsSamplerValue wrapT, float anisotropy);
/frameworks/base/rs/java/android/renderscript/
H A DRenderScript.java777 int wrapS, int wrapT, int wrapR, float aniso);
779 int wrapS, int wrapT, int wrapR, float aniso) {
781 return rsnSamplerCreate(mContext, magFilter, minFilter, wrapS, wrapT, wrapR, aniso);
776 rsnSamplerCreate(long con, int magFilter, int minFilter, int wrapS, int wrapT, int wrapR, float aniso) argument
778 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.java659 int wrapS, int wrapT, int wrapR, float aniso);
661 int wrapS, int wrapT, int wrapR, float aniso) {
663 return rsnSamplerCreate(mContext, magFilter, minFilter, wrapS, wrapT, wrapR, aniso);
658 rsnSamplerCreate(int con, int magFilter, int minFilter, int wrapS, int wrapT, int wrapR, float aniso) argument
660 nSamplerCreate(int magFilter, int minFilter, int wrapS, int wrapT, int wrapR, float aniso) argument
/frameworks/rs/driver/
H A DrsdShader.cpp438 RSD_CALL_GL(glTexParameteri, target, GL_TEXTURE_WRAP_S, transNP[s->mHal.state.wrapS]);
449 RSD_CALL_GL(glTexParameteri, target, GL_TEXTURE_WRAP_S, trans[s->mHal.state.wrapS]);
/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/rs/jni/
H A Dandroid_renderscript_RenderScript.cpp1557 jint wrapS, jint wrapT, jint wrapR, jfloat aniso)
1563 (RsSamplerValue)wrapS,
1556 nSamplerCreate(JNIEnv *_env, jobject _this, jlong con, jint magFilter, jint minFilter, jint wrapS, jint wrapT, jint wrapR, jfloat aniso) argument

Completed in 196 milliseconds