/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 | 26 import android.renderscript.Sampler; 57 mScript.set_gNearest(Sampler.CLAMP_NEAREST(mRS)); 58 mScript.set_gLinear(Sampler.CLAMP_LINEAR(mRS)); 60 Sampler.Builder sb = new Sampler.Builder(mRS); 61 sb.setMinification(Sampler.Value.LINEAR_MIP_NEAREST); 64 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/driver/ |
rsdSampler.h | 24 const android::renderscript::Sampler *); 27 const android::renderscript::Sampler *);
|
rsdSampler.cpp | 36 bool rsdSamplerInit(const Context *, const Sampler *s) { 41 const android::renderscript::Sampler *s) {
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
UT_sampler.java | 22 import android.renderscript.Sampler; 23 import android.renderscript.Sampler.Value; 28 Sampler minification; 29 Sampler magnification; 30 Sampler wrapS; 31 Sampler wrapT; 32 Sampler anisotropy; 35 super(rstc, "Sampler", ctx); 39 private Sampler.Builder getDefaultBuilder(RenderScript RS) { 40 Sampler.Builder b = new Sampler.Builder(RS) [all...] |
/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;
|
rsProgram.h | 38 // Texture lookups go though a sampler which in effect converts normalized 47 Sampler **samplers; 71 void bindSampler(Context *, uint32_t slot, Sampler *); 75 ObjectBaseRef<Sampler> *mSamplers;
|
/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...] |
/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...] |
Sampler.java | 31 * Sampler object that defines how Allocations can be read as textures within a 35 * Any Allocation used with a Sampler must have been created with {@link 37 * Sampler on an {@link android.support.v8.renderscript.Allocation} that was not 42 public class Sampler extends BaseObj { 65 Sampler(int id, RenderScript rs) { 70 * @return minification setting for the sampler 77 * @return magnification setting for the sampler 84 * @return S wrapping mode for the sampler 91 * @return T wrapping mode for the sampler 98 * @return anisotropy setting for the sampler 344 Sampler sampler = new Sampler(id, mRS); local [all...] |
/external/chromium_org/v8/src/ |
sampler.h | 41 // Sampler 43 // A sampler periodically samples the state of the VM and optionally 77 class Sampler { 79 // Initializes the Sampler support. Called once at VM startup. 83 // Initialize sampler. 84 Sampler(Isolate* isolate, int interval); 85 virtual ~Sampler(); 93 // Start and stop sampler. 97 // Whether the sampling thread should use this Sampler for CPU profiling? 105 // Whether the sampler is running (that is, consumes resources) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
texparam.c | 259 if (texObj->Sampler.MinFilter == params[0]) 265 texObj->Sampler.MinFilter = params[0]; 274 texObj->Sampler.MinFilter = params[0]; 284 if (texObj->Sampler.MagFilter == params[0]) 290 texObj->Sampler.MagFilter = params[0]; 298 if (texObj->Sampler.WrapS == params[0]) 302 texObj->Sampler.WrapS = params[0]; 308 if (texObj->Sampler.WrapT == params[0]) 312 texObj->Sampler.WrapT = params[0]; 318 if (texObj->Sampler.WrapR == params[0] [all...] |
samplerobj.h | 34 if (ctx->Texture.Unit[unit].Sampler) 35 return ctx->Texture.Unit[unit].Sampler; 37 return &ctx->Texture.Unit[unit]._Current->Sampler; 83 _mesa_BindSampler(GLuint unit, GLuint sampler); 92 _mesa_SamplerParameteri(GLuint sampler, GLenum pname, GLint param);
|
texobj.c | 126 /* sampler state */ 129 obj->Sampler.WrapS = GL_CLAMP_TO_EDGE; 130 obj->Sampler.WrapT = GL_CLAMP_TO_EDGE; 131 obj->Sampler.WrapR = GL_CLAMP_TO_EDGE; 132 obj->Sampler.MinFilter = GL_LINEAR; 135 obj->Sampler.WrapS = GL_REPEAT; 136 obj->Sampler.WrapT = GL_REPEAT; 137 obj->Sampler.WrapR = GL_REPEAT; 138 obj->Sampler.MinFilter = GL_NEAREST_MIPMAP_LINEAR; 140 obj->Sampler.MagFilter = GL_LINEAR [all...] |
/external/mesa3d/src/mesa/main/ |
texparam.c | 259 if (texObj->Sampler.MinFilter == params[0]) 265 texObj->Sampler.MinFilter = params[0]; 274 texObj->Sampler.MinFilter = params[0]; 284 if (texObj->Sampler.MagFilter == params[0]) 290 texObj->Sampler.MagFilter = params[0]; 298 if (texObj->Sampler.WrapS == params[0]) 302 texObj->Sampler.WrapS = params[0]; 308 if (texObj->Sampler.WrapT == params[0]) 312 texObj->Sampler.WrapT = params[0]; 318 if (texObj->Sampler.WrapR == params[0] [all...] |
samplerobj.h | 34 if (ctx->Texture.Unit[unit].Sampler) 35 return ctx->Texture.Unit[unit].Sampler; 37 return &ctx->Texture.Unit[unit]._Current->Sampler; 83 _mesa_BindSampler(GLuint unit, GLuint sampler); 92 _mesa_SamplerParameteri(GLuint sampler, GLenum pname, GLint param);
|
texobj.c | 126 /* sampler state */ 129 obj->Sampler.WrapS = GL_CLAMP_TO_EDGE; 130 obj->Sampler.WrapT = GL_CLAMP_TO_EDGE; 131 obj->Sampler.WrapR = GL_CLAMP_TO_EDGE; 132 obj->Sampler.MinFilter = GL_LINEAR; 135 obj->Sampler.WrapS = GL_REPEAT; 136 obj->Sampler.WrapT = GL_REPEAT; 137 obj->Sampler.WrapR = GL_REPEAT; 138 obj->Sampler.MinFilter = GL_NEAREST_MIPMAP_LINEAR; 140 obj->Sampler.MagFilter = GL_LINEAR [all...] |
/frameworks/base/graphics/java/android/renderscript/ |
Sampler.java | 31 * Sampler object that defines how Allocations can be read as textures within a 35 * Any Allocation used with a Sampler must have been created with {@link 36 * android.renderscript.Allocation#USAGE_GRAPHICS_TEXTURE}; using a Sampler on 40 public class Sampler extends BaseObj { 63 Sampler(int id, RenderScript rs) { 68 * @return minification setting for the sampler 75 * @return magnification setting for the sampler 82 * @return S wrapping mode for the sampler 89 * @return T wrapping mode for the sampler 96 * @return anisotropy setting for the sampler 352 Sampler sampler = new Sampler(id, mRS); local [all...] |
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/ |
sampler_test.cc | 35 // Checks basic properties of the sampler 53 #include "sampler.h" // The Sampler class being tested 119 TEST(Sampler, TestGetSamplePeriod) { 120 tcmalloc::Sampler sampler; local 121 sampler.Init(1); 123 sample_period = sampler.GetSamplePeriod(); 224 tcmalloc::Sampler sampler; local 267 tcmalloc::Sampler sampler; local 312 tcmalloc::Sampler sampler; local 332 tcmalloc::Sampler sampler; local 352 tcmalloc::Sampler sampler; local 365 tcmalloc::Sampler sampler; local 385 tcmalloc::Sampler sampler; local 524 tcmalloc::Sampler sampler; local 575 tcmalloc::Sampler sampler; local 592 tcmalloc::Sampler sampler; local 644 tcmalloc::Sampler sampler; local [all...] |