/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;
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
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/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...] |
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
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.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/java/tests/ImageProcessing/src/com/android/rs/image/ |
Fisheye.java | 21 import android.renderscript.Sampler; 104 mScript_approx_relaxed.set_sampler(Sampler.CLAMP_LINEAR(mRS)); 109 mScript_approx_full.set_sampler(Sampler.CLAMP_LINEAR(mRS)); 115 mScript_relaxed.set_sampler(Sampler.CLAMP_LINEAR(mRS)); 120 mScript_full.set_sampler(Sampler.CLAMP_LINEAR(mRS));
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
Fisheye.java | 101 mScript_approx_relaxed.set_sampler(Sampler.CLAMP_LINEAR(mRS)); 106 mScript_approx_full.set_sampler(Sampler.CLAMP_LINEAR(mRS)); 112 mScript_relaxed.set_sampler(Sampler.CLAMP_LINEAR(mRS)); 117 mScript_full.set_sampler(Sampler.CLAMP_LINEAR(mRS));
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
Fisheye.java | 21 import android.renderscript.Sampler; 104 mScript_approx_relaxed.set_sampler(Sampler.CLAMP_LINEAR(mRS)); 109 mScript_approx_full.set_sampler(Sampler.CLAMP_LINEAR(mRS)); 115 mScript_relaxed.set_sampler(Sampler.CLAMP_LINEAR(mRS)); 120 mScript_full.set_sampler(Sampler.CLAMP_LINEAR(mRS));
|
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
FillTest.java | 162 mFillScript.set_gLinearClamp(Sampler.CLAMP_LINEAR(mRS)); 163 mFillScript.set_gLinearWrap(Sampler.WRAP_LINEAR(mRS));
|
UiTest.java | 230 mUiScript.set_gLinearClamp(Sampler.CLAMP_LINEAR(mRS)); 250 pfb.bindSampler(Sampler.WRAP_NEAREST(mRS), 0); 259 pfs.bindSampler(Sampler.WRAP_LINEAR_MIP_LINEAR(mRS), 0);
|
MeshTest.java | 159 mGeoScript.set_gLinearClamp(Sampler.CLAMP_LINEAR(mRS));
|
/packages/wallpapers/Basic/src/com/android/wallpaper/nexus/ |
NexusRS.java | 22 import static android.renderscript.Sampler.Value.LINEAR; 23 import static android.renderscript.Sampler.Value.CLAMP; 24 import static android.renderscript.Sampler.Value.WRAP; 136 // sampler and program fragment for pulses 141 pft.bindSampler(Sampler.WRAP_LINEAR(mRS), 0); 144 // sampler and program fragment for background image 149 pft565.bindSampler(Sampler.CLAMP_NEAREST(mRS), 0);
|
/cts/tests/tests/rsg/src/android/renderscriptgraphics/cts/ |
ProgramFragmentFixedFunctionTest.java | 23 import android.renderscript.Sampler; 72 pf.bindSampler(Sampler.CLAMP_NEAREST(mRS), t);
|
ProgramFragmentTest.java | 25 import android.renderscript.Sampler; 116 pf.bindSampler(Sampler.CLAMP_NEAREST(mRS), i); 120 p.bindSampler(Sampler.CLAMP_NEAREST(mRS), i);
|
/external/chromium_org/third_party/angle_dx11/src/libGLESv2/ |
ProgramBinary.h | 146 struct Sampler 148 Sampler(); 155 Sampler mSamplersPS[MAX_TEXTURE_IMAGE_UNITS]; 156 Sampler mSamplersVS[IMPLEMENTATION_MAX_VERTEX_TEXTURE_IMAGE_UNITS];
|
/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 // Is the sampler used for profiling? 102 // Whether the sampler is running (that is, consumes resources) [all...] |
sampler.cc | 28 #include "sampler.h" 174 class Sampler::PlatformData : public PlatformDataCommon { 185 class Sampler::PlatformData : public PlatformDataCommon { 206 // Win32 profiler support. On Cygwin we use the same sampler implementation as 209 class Sampler::PlatformData : public PlatformDataCommon { 213 // going to use it in the sampler thread. Using GetThreadHandle() will 241 inline bool Init(Sampler* sampler, Isolate* isolate) { 242 ThreadId thread_id = sampler->platform_data()->profiled_thread_id(); 324 Sampler* sampler = isolate->logger()->sampler() 481 Sampler* sampler = active_samplers_.at(i); local [all...] |
/external/llvm/lib/Target/R600/MCTargetDesc/ |
R600MCCodeEmitter.cpp | 110 int64_t Sampler = MI.getOperand(14).getImm(); 125 uint32_t Word2 = Sampler << 15 | SrcSelect[ELEMENT_X] << 20 |
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/ |
TestAppLoadingScreen.java | 86 pfDefault.bindSampler(Sampler.CLAMP_LINEAR(mRS), 0);
|
/packages/wallpapers/Basic/src/com/android/wallpaper/galaxy/ |
GalaxyRS.java | 158 pfb.bindSampler(Sampler.WRAP_NEAREST(mRS), 0); 167 pfs.bindSampler(Sampler.WRAP_LINEAR(mRS), 0);
|
/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...] |
/frameworks/support/v8/renderscript/java/src/android/support/v8/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 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/v8/src/ |
platform-cygwin.cc | 600 // On Cygwin we use the same sampler implementation as on win32. 602 class Sampler::PlatformData : public Malloced { 606 // going to use it in the sampler thread. Using GetThreadHandle() will 637 static void AddActiveSampler(Sampler* sampler) { 639 SamplerRegistry::AddActiveSampler(sampler); 641 instance_ = new SamplerThread(sampler->interval()); 644 ASSERT(instance_->interval_ == sampler->interval()); 648 static void RemoveActiveSampler(Sampler* sampler) { [all...] |
platform-freebsd.cc | 667 class Sampler::PlatformData : public Malloced { 691 Sampler* sampler = isolate->logger()->sampler(); local 692 if (sampler == NULL || !sampler->IsActive()) return; 715 sampler->SampleStack(sample); 716 sampler->Tick(sample); 733 static void AddActiveSampler(Sampler* sampler) { [all...] |