/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
sampler.rs | 22 rs_sampler wrapT; 46 _RS_ASSERT(rsSamplerGetMagnification(wrapT) == RS_SAMPLER_NEAREST); 47 _RS_ASSERT(rsSamplerGetMinification(wrapT) == RS_SAMPLER_NEAREST); 48 _RS_ASSERT(rsSamplerGetWrapS(wrapT) == RS_SAMPLER_CLAMP); 49 _RS_ASSERT(rsSamplerGetWrapT(wrapT) == RS_SAMPLER_WRAP); 50 _RS_ASSERT(rsSamplerGetAnisotropy(wrapT) == 1.0f);
|
UT_sampler.java | 27 Sampler wrapT; 59 wrapT = b.create(); 68 s.set_wrapT(wrapT); 114 _RS_ASSERT("wrapT.getMagnification() == Sampler.Value.NEAREST", 115 wrapT.getMagnification() == Sampler.Value.NEAREST); 116 _RS_ASSERT("wrapT.getMinification() == Sampler.Value.NEAREST", 117 wrapT.getMinification() == Sampler.Value.NEAREST); 118 _RS_ASSERT("wrapT.getWrapS() == Sampler.Value.CLAMP", 119 wrapT.getWrapS() == Sampler.Value.CLAMP); 120 _RS_ASSERT("wrapT.getWrapT() == Sampler.Value.WRAP" [all...] |
/frameworks/rs/ |
rsSampler.cpp | 33 RsSamplerValue wrapT, 39 mHal.state.wrapT = wrapT; 82 RsSamplerValue wrapT, 92 if (existing->mHal.state.wrapT != wrapT) continue; 107 Sampler *s = new (allocMem) Sampler(rsc, magFilter, minFilter, wrapS, wrapT, wrapR, aniso); 136 RsSamplerValue wrapT, 140 wrapS, wrapT, wrapR, aniso);
|
rsSampler.h | 48 RsSamplerValue wrapT; 62 RsSamplerValue wrapT, 84 RsSamplerValue wrapT,
|
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
UT_sampler.java | 29 Sampler wrapT; 62 wrapT = b.create(); 71 s.set_wrapT(wrapT); 118 _RS_ASSERT("wrapT.getMagnification() == Sampler.Value.NEAREST", 119 wrapT.getMagnification() == Sampler.Value.NEAREST); 120 _RS_ASSERT("wrapT.getMinification() == Sampler.Value.NEAREST", 121 wrapT.getMinification() == Sampler.Value.NEAREST); 122 _RS_ASSERT("wrapT.getWrapS() == Sampler.Value.CLAMP", 123 wrapT.getWrapS() == Sampler.Value.CLAMP); 124 _RS_ASSERT("wrapT.getWrapT() == Sampler.Value.WRAP" [all...] |
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
UT_sampler.java | 29 Sampler wrapT; 61 wrapT = b.create(); 70 s.set_wrapT(wrapT); 116 _RS_ASSERT("wrapT.getMagnification() == Sampler.Value.NEAREST", 117 wrapT.getMagnification() == Sampler.Value.NEAREST); 118 _RS_ASSERT("wrapT.getMinification() == Sampler.Value.NEAREST", 119 wrapT.getMinification() == Sampler.Value.NEAREST); 120 _RS_ASSERT("wrapT.getWrapS() == Sampler.Value.CLAMP", 121 wrapT.getWrapS() == Sampler.Value.CLAMP); 122 _RS_ASSERT("wrapT.getWrapT() == Sampler.Value.WRAP" [all...] |
/frameworks/rs/cpp/ |
Sampler.cpp | 34 RsSamplerValue wrapS, RsSamplerValue wrapT, float anisotropy): 40 RsSamplerValue mWrapT = wrapT; 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); 72 #define CREATE_SAMPLER(N, MIN, MAG, WRAPS, WRAPT) sp<const Sampler> Sampler::N(const sp<RS> &rs) { \ 74 rs->mSamplers.N = (create(rs, MIN, MAG, WRAPS, WRAPT, 0.f)); \
|
/external/deqp/modules/gles3/functional/ |
es3fTextureWrapTests.cpp | 86 TextureWrapCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* description, deUint32 format, deUint32 dataType, deUint32 wrapS, deUint32 wrapT, deUint32 minFilter, deUint32 magFilter, int width, int height); 87 TextureWrapCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* description, deUint32 wrapS, deUint32 wrapT, deUint32 minFilter, deUint32 magFilter, const std::vector<std::string>& filenames); 88 TextureWrapCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* description, CompressedTexFormat compressedFormat, deUint32 wrapS, deUint32 wrapT, deUint32 minFilter, deUint32 magFilter, int width, int height); 130 TextureWrapCase::TextureWrapCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* description, deUint32 format, deUint32 dataType, deUint32 wrapS, deUint32 wrapT, deUint32 minFilter, deUint32 magFilter, int width, int height) 138 , m_wrapT (wrapT) 149 TextureWrapCase::TextureWrapCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* description, deUint32 wrapS, deUint32 wrapT, deUint32 minFilter, deUint32 magFilter, const std::vector<std::string>& filenames) 157 , m_wrapT (wrapT) 169 TextureWrapCase::TextureWrapCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* description, CompressedTexFormat compressedFormat, deUint32 wrapS, deUint32 wrapT, deUint32 minFilter, deUint32 magFilter, int width, int height) 177 , m_wrapT (wrapT) 415 FOR_EACH(wrapT, wrapModes [all...] |
es3fTextureFilteringTests.cpp | 67 Texture2DFilteringCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* desc, deUint32 minFilter, deUint32 magFilter, deUint32 wrapS, deUint32 wrapT, deUint32 internalFormat, int width, int height); 68 Texture2DFilteringCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* desc, deUint32 minFilter, deUint32 magFilter, deUint32 wrapS, deUint32 wrapT, const std::vector<std::string>& filenames); 120 Texture2DFilteringCase::Texture2DFilteringCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* desc, deUint32 minFilter, deUint32 magFilter, deUint32 wrapS, deUint32 wrapT, deUint32 internalFormat, int width, int height) 127 , m_wrapT (wrapT) 136 Texture2DFilteringCase::Texture2DFilteringCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* desc, deUint32 minFilter, deUint32 magFilter, deUint32 wrapS, deUint32 wrapT, const std::vector<std::string>& filenames) 143 , m_wrapT (wrapT) 343 TextureCubeFilteringCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* desc, deUint32 minFilter, deUint32 magFilter, deUint32 wrapS, deUint32 wrapT, bool onlySampleFaceInterior, deUint32 internalFormat, int width, int height); 344 TextureCubeFilteringCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* desc, deUint32 minFilter, deUint32 magFilter, deUint32 wrapS, deUint32 wrapT, bool onlySampleFaceInterior, const std::vector<std::string>& filenames); 397 TextureCubeFilteringCase::TextureCubeFilteringCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* desc, deUint32 minFilter, deUint32 magFilter, deUint32 wrapS, deUint32 wrapT, bool onlySampleFaceInterior, deUint32 internalFormat, int width, int height) 404 , m_wrapT (wrapT) [all...] |
/external/deqp/modules/gles3/performance/ |
es3pTextureCases.hpp | 47 deUint32 wrapT,
|
es3pTextureCountTests.cpp | 74 deUint32 wrapT = GL_CLAMP_TO_EDGE; 81 addChild(new Texture2DRenderCase(m_context, name.c_str(), description.c_str(), format, wrapS, wrapT, minFilter, magFilter, tcu::Mat3(), numTextures, false /* npot */));
|
es3pTextureFormatTests.cpp | 112 deUint32 wrapT = GL_CLAMP_TO_EDGE; 118 addChild(new Texture2DRenderCase(m_context, nameBase.c_str(), descriptionBase.c_str(), format, wrapS, wrapT, minFilter, magFilter, tcu::Mat3(), numTextures, false /* npot */));
|
es3pTextureFilteringTests.cpp | 89 deUint32 wrapT = GL_REPEAT; 94 addChild(new Texture2DRenderCase(m_context, name.c_str(), "", format, wrapS, wrapT, minFilter, magFilter, minify ? minTransform : magTransform, numTextures, true /* pot */));
|
/external/deqp/modules/gles2/performance/ |
es2pTextureCountTests.cpp | 73 deUint32 wrapT = GL_CLAMP_TO_EDGE; 80 addChild(new Texture2DRenderCase(m_context, name.c_str(), description.c_str(), format, dataType, wrapS, wrapT, minFilter, magFilter, tcu::Mat3(), numTextures, false /* npot */));
|
es2pTextureFormatTests.cpp | 73 deUint32 wrapT = GL_CLAMP_TO_EDGE; 79 addChild(new Texture2DRenderCase(m_context, nameBase.c_str(), descriptionBase.c_str(), format, dataType, wrapS, wrapT, minFilter, magFilter, tcu::Mat3(), numTextures, false /* npot */));
|
es2pTextureCases.hpp | 44 deUint32 wrapS, deUint32 wrapT,
|
es2pTextureFilteringTests.cpp | 89 deUint32 wrapT = GL_REPEAT; 94 addChild(new Texture2DRenderCase(m_context, name.c_str(), "", format, dataType, wrapS, wrapT, minFilter, magFilter, minify ? minTransform : magTransform, numTextures, true /* pot */));
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
Sampler.h | 49 void setWrapT(GLenum wrapT) { mWrapModeT = wrapT; }
|
/external/deqp/modules/gles2/functional/ |
es2fTextureWrapTests.cpp | 60 TextureWrapCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* description, deUint32 format, deUint32 dataType, deUint32 wrapS, deUint32 wrapT, deUint32 minFilter, deUint32 magFilter, int width, int height); 61 TextureWrapCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* description, deUint32 wrapS, deUint32 wrapT, deUint32 minFilter, deUint32 magFilter, const std::vector<std::string>& filenames); 90 TextureWrapCase::TextureWrapCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* description, deUint32 format, deUint32 dataType, deUint32 wrapS, deUint32 wrapT, deUint32 minFilter, deUint32 magFilter, int width, int height) 97 , m_wrapT (wrapT) 107 TextureWrapCase::TextureWrapCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* description, deUint32 wrapS, deUint32 wrapT, deUint32 minFilter, deUint32 magFilter, const std::vector<std::string>& filenames) 114 , m_wrapT (wrapT) 287 FOR_EACH(wrapT, wrapModes, 292 bool is_clamp_clamp = (wrapModes[wrapS].mode == GL_CLAMP_TO_EDGE && wrapModes[wrapT].mode == GL_CLAMP_TO_EDGE); 293 bool is_repeat_mirror = (wrapModes[wrapS].mode == GL_REPEAT && wrapModes[wrapT].mode == GL_MIRRORED_REPEAT); 301 string name = string("") + wrapModes[wrapS].name + "_" + wrapModes[wrapT].name + "_" + filteringModes[filter].name + "_" + sizes[size].name + "_" + formats[format].name [all...] |
/frameworks/base/libs/hwui/ |
ProgramCache.h | 55 void generateTextureWrap(String8& shader, GLenum wrapS, GLenum wrapT);
|
SkiaShader.h | 55 GLenum wrapT;
|
/external/deqp/framework/opengl/ |
gluTextureUtil.hpp | 65 tcu::Sampler mapGLSampler (deUint32 wrapS, deUint32 wrapT, deUint32 minFilter, deUint32 magFilter); 66 tcu::Sampler mapGLSampler (deUint32 wrapS, deUint32 wrapT, deUint32 wrapR, deUint32 minFilter, deUint32 magFilter);
|
/frameworks/rs/driver/runtime/ |
rs_sample.c | 467 rs_sampler_value wrapT, 501 int ny = wrapI(wrapT, iPixelV + 1, sourceH); 503 int ly = wrapI(wrapT, iPixelV, sourceH); 513 rs_sampler_value wrapT, 525 location.y = wrapI(wrapT, iPixel.y, sourceH); 593 rs_sampler_value wrapT = prog->mHal.state.wrapT; 601 return sample_LOD_NearestPixel(alloc, dk, dt, wrapS, wrapT, uv, 0); 603 return sample_LOD_LinearPixel(alloc, dk, dt, wrapS, wrapT, uv, 0); 610 return sample_LOD_LinearPixel(alloc, dk, dt, wrapS, wrapT, uv, nearestLOD) [all...] |
rs_sampler.c | 40 return prog->mHal.state.wrapT;
|
/external/deqp/modules/gles31/functional/ |
es31fTextureFilteringTests.cpp | 109 deUint32 wrapT, 172 deUint32 wrapT, 181 , m_wrapT (wrapT) 517 const deUint32 wrapT = GL_REPEAT; 524 wrapS, wrapT, 546 const deUint32 wrapT = GL_REPEAT; 554 wrapS, wrapT, 578 const deUint32 wrapT = wrapModes[wrapTNdx].mode; 586 wrapS, wrapT,
|