/external/deqp/framework/common/ |
tcuTexVerifierUtil.hpp | 57 // Sampler introspection 59 inline bool isNearestMipmapFilter (const Sampler::FilterMode mode) 61 return mode == Sampler::NEAREST_MIPMAP_NEAREST || mode == Sampler::LINEAR_MIPMAP_NEAREST; 64 inline bool isLinearMipmapFilter (const Sampler::FilterMode mode) 66 return mode == Sampler::NEAREST_MIPMAP_LINEAR || mode == Sampler::LINEAR_MIPMAP_LINEAR; 69 inline bool isMipmapFilter (const Sampler::FilterMode mode) 74 inline bool isLinearFilter (const Sampler::FilterMode mode) 76 return mode == Sampler::LINEAR || mode == Sampler::LINEAR_MIPMAP_NEAREST || mode == Sampler::LINEAR_MIPMAP_LINEAR [all...] |
tcuTexLookupVerifier.hpp | 108 bool isLookupResultValid (const Texture1DView& texture, const Sampler& sampler, const LookupPrecision& prec, const float coord, const Vec2& lodBounds, const Vec4& result); 109 bool isLookupResultValid (const Texture2DView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const Vec2& lodBounds, const Vec4& result); 110 bool isLookupResultValid (const TextureCubeView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const Vec4& result); 111 bool isLookupResultValid (const Texture1DArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const Vec2& lodBounds, const Vec4& result); 112 bool isLookupResultValid (const Texture2DArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const Vec4& result) [all...] |
tcuTexture.hpp | 124 class Sampler 190 Sampler (WrapMode wrapS_, 215 Sampler (void) 271 Vec4 sample1D (const Sampler& sampler, Sampler::FilterMode filter, float s, int level) const; 272 Vec4 sample2D (const Sampler& sampler, Sampler::FilterMode filter, float s, float t, int depth) const; 273 Vec4 sample3D (const Sampler& sampler, Sampler::FilterMode filter, float s, float t, float r) const [all...] |
tcuTexCompareVerifier.hpp | 55 bool isTexCompareResultValid (const Texture2DView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec2& coord, const Vec2& lodBounds, const float cmpReference, const float result); 56 bool isTexCompareResultValid (const TextureCubeView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec3& coord, const Vec2& lodBounds, const float cmpReference, const float result); 57 bool isTexCompareResultValid (const Texture2DArrayView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec3& coord, const Vec2& lodBounds, const float cmpReference, const float result); 59 bool isGatherOffsetsCompareResultValid (const Texture2DView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec2& coord, const IVec2 (&offsets)[4], float cmpReference, const Vec4& result); 60 bool isGatherOffsetsCompareResultValid (const Texture2DArrayView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec3& coord, const IVec2 (&offsets)[4], float cmpReference (…) [all...] |
tcuTexture.cpp | [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
SamplerTest.java | 19 import android.renderscript.Sampler; 20 import android.renderscript.Sampler.Value; 24 Sampler.Value[] mMinValues; 25 Sampler.Value[] mMagValues; 26 Sampler.Value[] mWrapValues; 32 mMinValues = new Sampler.Value[4]; 33 mMinValues[0] = Sampler.Value.NEAREST; 34 mMinValues[1] = Sampler.Value.LINEAR; 35 mMinValues[2] = Sampler.Value.LINEAR_MIP_LINEAR; 36 mMinValues[3] = Sampler.Value.LINEAR_MIP_NEAREST [all...] |
SampleTest.java | 24 import android.renderscript.Sampler; 77 mScript.set_gNearest(Sampler.CLAMP_NEAREST(mRS)); 78 mScript.set_gLinear(Sampler.CLAMP_LINEAR(mRS)); 80 Sampler.Builder sb = new Sampler.Builder(mRS); 81 sb.setMinification(Sampler.Value.LINEAR_MIP_NEAREST); 84 mScript.set_gMipLinear(Sampler.CLAMP_LINEAR_MIP_LINEAR(mRS));
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
UT_sampler.java | 26 Sampler minification; 27 Sampler magnification; 28 Sampler wrapS; 29 Sampler wrapT; 30 Sampler anisotropy; 33 super(rstc, "Sampler", ctx); 37 private Sampler.Builder getDefaultBuilder(RenderScript RS) { 38 Sampler.Builder b = new Sampler.Builder(RS); 39 b.setMinification(Sampler.Value.NEAREST) [all...] |
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
UT_sampler.java | 26 Sampler minification; 27 Sampler magnification; 28 Sampler wrapS; 29 Sampler wrapT; 30 Sampler anisotropy; 33 super(rstc, "Sampler", ctx); 37 private Sampler.Builder getDefaultBuilder(RenderScript RS) { 38 Sampler.Builder b = new Sampler.Builder(RS); 39 b.setMinification(Sampler.Value.NEAREST) [all...] |
/frameworks/rs/driver/ |
rsdSampler.h | 24 const android::renderscript::Sampler *); 27 const android::renderscript::Sampler *); 30 const android::renderscript::Sampler *,
|
rsdSampler.cpp | 36 bool rsdSamplerInit(const Context *, const Sampler *s) { 41 const android::renderscript::Sampler *s) { 45 const Sampler *alloc,
|
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
sampler.cc | 35 #include "sampler.h" 59 // Statics for Sampler 60 double Sampler::log_table_[1<<kFastlogNumBits]; 65 void Sampler::PopulateFastLog2Table() { 72 int Sampler::GetSamplePeriod() { 76 // Run this before using your sampler 77 void Sampler::Init(uint32_t seed) { 95 // Initialize the Statics for the Sampler class 96 void Sampler::InitStatics() { 111 size_t Sampler::PickNextSamplingPoint() [all...] |
sampler.h | 50 // Sampler to decide when to create a sample trace for an allocation 51 // Not thread safe: Each thread should have it's own sampler object. 72 // The sampler works by representing memory as a long stream from 102 class PERFTOOLS_DLL_DECL Sampler { 104 // Initialize this sampler. 117 // Initialize the statics for the Sampler class 140 inline bool Sampler::SampleAllocation(size_t k) { 155 inline uint64_t Sampler::NextRandom(uint64_t rnd) { 166 inline double Sampler::FastLog2(const double & d) {
|
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
sampler.cc | 35 #include "sampler.h" 59 // Statics for Sampler 60 double Sampler::log_table_[1<<kFastlogNumBits]; 65 void Sampler::PopulateFastLog2Table() { 72 int Sampler::GetSamplePeriod() { 76 // Run this before using your sampler 77 void Sampler::Init(uint32_t seed) { 95 // Initialize the Statics for the Sampler class 96 void Sampler::InitStatics() { 111 size_t Sampler::PickNextSamplingPoint() [all...] |
sampler.h | 50 // Sampler to decide when to create a sample trace for an allocation 51 // Not thread safe: Each thread should have it's own sampler object. 72 // The sampler works by representing memory as a long stream from 102 class PERFTOOLS_DLL_DECL Sampler { 104 // Initialize this sampler. 117 // Initialize the statics for the Sampler class 140 inline bool Sampler::SampleAllocation(size_t k) { 155 inline uint64_t Sampler::NextRandom(uint64_t rnd) { 166 inline double Sampler::FastLog2(const double & d) {
|
/frameworks/rs/ |
rsSampler.cpp | 25 Sampler::Sampler(Context *rsc) : ObjectBase(rsc) { 30 Sampler::Sampler(Context *rsc, 44 mRSC->mHal.funcs.sampler.init(mRSC, this); 47 Sampler::~Sampler() { 48 mRSC->mHal.funcs.sampler.destroy(mRSC, this); 51 void Sampler::preDestroy() const { 60 void Sampler::bindToContext(SamplerState *ss, uint32_t slot) [all...] |
rsSampler.h | 37 class Sampler : public ObjectBase { 56 static ObjectBaseRef<Sampler> getSampler(Context *, 68 static Sampler *createFromStream(Context *rsc, IStream *stream); 74 virtual ~Sampler(); 77 Sampler(Context *); 78 Sampler(Context *, 90 ObjectBaseRef<Sampler> mSamplers[RS_MAX_SAMPLER_SLOT]; 99 Vector<Sampler *> mAllSamplers;
|
/frameworks/rs/cpp/ |
Sampler.cpp | 22 Sampler::Sampler(sp<RS> rs, void* id): 32 RsSamplerValue Sampler::getMinification() { 36 RsSamplerValue Sampler::getMagnification() { 40 RsSamplerValue Sampler::getWrapS() { 44 RsSamplerValue Sampler::getWrapT() { 48 float Sampler::getAnisotropy() { 52 sp<Sampler> Sampler::create(sp<RS> rs, RsSamplerValue min, RsSamplerValue mag, RsSamplerValue wrapS, RsSamplerValue wrapT, float anisotropy) { 55 return new Sampler(rs, id) [all...] |
/prebuilts/ndk/9/platforms/android-19/arch-arm/usr/include/rs/ |
rsSampler.h | 37 class Sampler : public ObjectBase { 56 static ObjectBaseRef<Sampler> getSampler(Context *, 68 static Sampler *createFromStream(Context *rsc, IStream *stream); 74 virtual ~Sampler(); 77 Sampler(Context *); 78 Sampler(Context *, 90 ObjectBaseRef<Sampler> mSamplers[RS_MAX_SAMPLER_SLOT]; 99 Vector<Sampler *> mAllSamplers;
|
/prebuilts/ndk/9/platforms/android-19/arch-mips/usr/include/rs/ |
rsSampler.h | 37 class Sampler : public ObjectBase { 56 static ObjectBaseRef<Sampler> getSampler(Context *, 68 static Sampler *createFromStream(Context *rsc, IStream *stream); 74 virtual ~Sampler(); 77 Sampler(Context *); 78 Sampler(Context *, 90 ObjectBaseRef<Sampler> mSamplers[RS_MAX_SAMPLER_SLOT]; 99 Vector<Sampler *> mAllSamplers;
|
/prebuilts/ndk/9/platforms/android-19/arch-x86/usr/include/rs/ |
rsSampler.h | 37 class Sampler : public ObjectBase { 56 static ObjectBaseRef<Sampler> getSampler(Context *, 68 static Sampler *createFromStream(Context *rsc, IStream *stream); 74 virtual ~Sampler(); 77 Sampler(Context *); 78 Sampler(Context *, 90 ObjectBaseRef<Sampler> mSamplers[RS_MAX_SAMPLER_SLOT]; 99 Vector<Sampler *> mAllSamplers;
|
/external/chromium_org/third_party/angle/src/libGLESv2/ |
Sampler.cpp | 7 // Sampler.cpp : Implements the Sampler class, which represents a GLES 3 8 // sampler object. Sampler objects store some state needed to sample textures. 10 #include "libGLESv2/Sampler.h" 16 Sampler::Sampler(GLuint id) 30 void Sampler::getState(SamplerState *samplerState) const
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
SamplerThunker.java | 33 class SamplerThunker extends Sampler { 34 android.renderscript.Sampler mN; 44 static android.renderscript.Sampler.Value convertValue (Value v) { 47 return android.renderscript.Sampler.Value.NEAREST; 49 return android.renderscript.Sampler.Value.LINEAR; 51 return android.renderscript.Sampler.Value.LINEAR_MIP_LINEAR; 53 return android.renderscript.Sampler.Value.LINEAR_MIP_NEAREST; 55 return android.renderscript.Sampler.Value.WRAP; 57 return android.renderscript.Sampler.Value.CLAMP; 59 return android.renderscript.Sampler.Value.MIRRORED_REPEAT 141 SamplerThunker sampler = new SamplerThunker(0, mRS); local [all...] |
/external/deqp/framework/opengl/ |
gluTextureUtil.hpp | 62 tcu::Sampler mapGLSampler (deUint32 wrapS, deUint32 minFilter, deUint32 magFilter); 63 tcu::Sampler mapGLSampler (deUint32 wrapS, deUint32 wrapT, deUint32 minFilter, deUint32 magFilter); 64 tcu::Sampler mapGLSampler (deUint32 wrapS, deUint32 wrapT, deUint32 wrapR, deUint32 minFilter, deUint32 magFilter); 65 tcu::Sampler::CompareMode mapGLCompareFunc (deUint32 mode); 71 deUint32 getGLWrapMode (tcu::Sampler::WrapMode wrapMode); 72 deUint32 getGLFilterMode (tcu::Sampler::FilterMode filterMode); 73 deUint32 getGLCompareFunc (tcu::Sampler::CompareMode compareMode);
|
/external/deqp/framework/randomshaders/ |
rsgSamplers.hpp | 43 Sampler2D (const tcu::Texture2D* texture, const tcu::Sampler& sampler) 45 , m_sampler (sampler) 56 tcu::Sampler m_sampler; 68 SamplerCube (const tcu::TextureCube* texture, const tcu::Sampler& sampler) 70 , m_sampler (sampler) 81 tcu::Sampler m_sampler;
|