/frameworks/base/libs/rs/ |
rsSampler.h | 31 class Sampler : public ObjectBase 34 Sampler(Context *, 41 virtual ~Sampler(); 59 Sampler(Context *); 75 ObjectBaseRef<Sampler> mSamplers[RS_MAX_SAMPLER_SLOT];
|
rsSampler.cpp | 28 Sampler::Sampler(Context *rsc) : ObjectBase(rsc) 36 Sampler::Sampler(Context *rsc, 52 Sampler::~Sampler() 56 void Sampler::setupGL(const Context *rsc, bool npot) 89 void Sampler::bindToContext(SamplerState *ss, uint32_t slot) 95 void Sampler::unbindFromContext(SamplerState *ss) 105 Sampler *s = mSamplers[ct].get() [all...] |
rsProgram.h | 48 void bindSampler(uint32_t slot, Sampler *); 89 // Texture lookups go though a sampler which in effect converts normalized 95 ObjectBaseRef<Sampler> mSamplers[MAX_TEXTURE];
|
rsProgram.cpp | 139 void Program::bindSampler(uint32_t slot, Sampler *s) 142 LOGE("Attempt to bind a Sampler to a slot > MAX_TEXTURE"); 259 p->bindSampler(slot, static_cast<Sampler *>(s));
|
rsContext.cpp | 847 Sampler *s = static_cast<Sampler *>(vs); 850 LOGE("Invalid sampler slot");
|
/frameworks/base/graphics/java/android/renderscript/ |
Sampler.java | 35 public class Sampler extends BaseObj { 49 Sampler(int id, RenderScript rs) { 113 static synchronized Sampler internalCreate(RenderScript rs, Builder b) { 121 return new Sampler(id, rs); 124 public Sampler create() {
|
Program.java | 59 public void bindSampler(Sampler vs, int slot)
|
/external/v8/src/ |
platform-macos.cc | 535 class Sampler::PlatformData : public Malloced { 537 explicit PlatformData(Sampler* sampler) 538 : sampler_(sampler), 544 Sampler* sampler_; 552 // Sampler thread handler. 554 // Loop until the sampler is disengaged. 609 // Entry point for sampler thread. 611 Sampler::PlatformData* data = 612 reinterpret_cast<Sampler::PlatformData*>(arg) [all...] |
platform-openbsd.cc | 535 static Sampler* active_sampler_ = NULL; 551 class Sampler::PlatformData : public Malloced { 563 Sampler::Sampler(int interval, bool profiling) 569 Sampler::~Sampler() { 574 void Sampler::Start() { 575 // There can only be one active sampler at the time on POSIX 595 // Set this sampler as the active sampler [all...] |
platform-solaris.cc | 523 static Sampler* active_sampler_ = NULL; 542 class Sampler::PlatformData : public Malloced { 554 Sampler::Sampler(int interval, bool profiling) 560 Sampler::~Sampler() { 565 void Sampler::Start() { 566 // There can only be one active sampler at the time on POSIX 586 // Set this sampler as the active sampler [all...] |
platform.h | 506 // Sampler 508 // A sampler periodically samples the state of the VM and optionally 532 class Sampler { 534 // Initialize sampler. 535 explicit Sampler(int interval, bool profiling); 536 virtual ~Sampler(); 545 // Start and stop sampler. 549 // Is the sampler used for profiling. 552 // Whether the sampler is running (that is, consumes resources). 562 DISALLOW_IMPLICIT_CONSTRUCTORS(Sampler); [all...] |
platform-freebsd.cc | 562 static Sampler* active_sampler_ = NULL; 599 class Sampler::PlatformData : public Malloced { 611 Sampler::Sampler(int interval, bool profiling) 617 Sampler::~Sampler() { 622 void Sampler::Start() { 623 // There can only be one active sampler at the time on POSIX 643 // Set this sampler as the active sampler [all...] |
platform-linux.cc | 670 static Sampler* active_sampler_ = NULL; 772 class Sampler::PlatformData : public Malloced { 784 Sampler::Sampler(int interval, bool profiling) 790 Sampler::~Sampler() { 795 void Sampler::Start() { 796 // There can only be one active sampler at the time on POSIX 818 // Set this sampler as the active sampler [all...] |
platform-win32.cc | [all...] |
/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; 38 import android.renderscript.Sampler; 71 private Sampler mClampSampler; 72 private Sampler mWrapSampler; 218 // sampler and program fragment for pulses 219 Sampler.Builder sampleBuilder = new Sampler.Builder(mRS); 237 // sampler and program fragment for background imag [all...] |
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/ |
GenericWaveRS.java | 20 import static android.renderscript.Sampler.Value.LINEAR; 21 import static android.renderscript.Sampler.Value.WRAP; 30 import android.renderscript.Sampler; 78 private Sampler mSampler; 195 Sampler.Builder samplerBuilder = new Sampler.Builder(mRS);
|
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis4/ |
Visualization4RS.java | 20 import static android.renderscript.Sampler.Value.LINEAR; 21 import static android.renderscript.Sampler.Value.WRAP; 33 import android.renderscript.Sampler; 68 private Sampler mSampler; 136 Sampler.Builder samplerBuilder = new Sampler.Builder(mRS);
|
/frameworks/base/libs/rs/java/Film/src/com/android/film/ |
FilmRS.java | 71 private Sampler mSampler; 117 Sampler.Builder bs = new Sampler.Builder(mRS); 118 bs.setMin(Sampler.Value.LINEAR);//_MIP_LINEAR); 119 bs.setMag(Sampler.Value.LINEAR); 120 bs.setWrapS(Sampler.Value.CLAMP); 121 bs.setWrapT(Sampler.Value.WRAP);
|
/packages/wallpapers/Basic/src/com/android/wallpaper/galaxy/ |
GalaxyRS.java | 25 import android.renderscript.Sampler; 30 import static android.renderscript.Sampler.Value.LINEAR; 31 import static android.renderscript.Sampler.Value.NEAREST; 32 import static android.renderscript.Sampler.Value.WRAP; 74 private Sampler mSampler; 76 private Sampler mStarSampler; 230 Sampler.Builder samplerBuilder = new Sampler.Builder(mRS); 244 samplerBuilder = new Sampler.Builder(mRS);
|
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis5/ |
Visualization5RS.java | 30 import android.renderscript.Sampler; 37 import android.renderscript.Sampler.Value; 74 private Sampler mSamplerMip; 75 private Sampler mSamplerNoMip; 199 Sampler.Builder builder = new Sampler.Builder(mRS); 208 Sampler.Builder builder = new Sampler.Builder(mRS);
|
/packages/wallpapers/Basic/src/com/android/wallpaper/fall/ |
FallRS.java | 26 import android.renderscript.Sampler; 30 import static android.renderscript.Sampler.Value.LINEAR; 31 import static android.renderscript.Sampler.Value.CLAMP; 74 private Sampler mSampler; 285 Sampler.Builder sampleBuilder = new Sampler.Builder(mRS);
|
/packages/wallpapers/MagicSmoke/src/com/android/magicsmoke/ |
MagicSmokeRS.java | 19 import static android.renderscript.Sampler.Value.LINEAR; 20 import static android.renderscript.Sampler.Value.WRAP; 39 import android.renderscript.Sampler; 75 private Sampler mSampler; 298 Sampler.Builder samplerBuilder = new Sampler.Builder(mRS);
|
/packages/wallpapers/Basic/src/com/android/wallpaper/grass/ |
GrassRS.java | 19 import android.renderscript.Sampler; 35 import static android.renderscript.Sampler.Value.*; 393 Sampler.Builder samplerBuilder = new Sampler.Builder(mRS); 398 Sampler sl = samplerBuilder.create(); 402 Sampler sn = samplerBuilder.create();
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
AllApps3D.java | 34 import android.renderscript.Sampler; [all...] |
/libcore/dalvik/src/main/java/dalvik/system/ |
SamplingProfiler.java | 106 * A sampler is created every time profiling starts and cleared 110 private TimerTask sampler; field in class:SamplingProfiler 247 if (sampler != null) { 250 sampler = new Sampler(); 251 timer.scheduleAtFixedRate(sampler, 0, 1000/samplesPerSecond); 259 if (sampler == null) { 262 sampler.cancel(); 263 sampler = null; 278 * The Sampler does the real work of the profiler [all...] |