HomeSort by relevance Sort by last modified time
    Searched full:sampler (Results 1 - 25 of 48) sorted by null

1 2

  /frameworks/base/libs/rs/
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)
85 void Sampler::bindToContext(SamplerState *ss, uint32_t slot)
91 void Sampler::unbindFromContext(SamplerState *ss)
101 Sampler *s = mSamplers[ct].get()
    [all...]
rsSampler.h 31 class Sampler : public ObjectBase
34 Sampler(Context *,
41 virtual ~Sampler();
59 Sampler(Context *);
75 ObjectBaseRef<Sampler> mSamplers[RS_MAX_SAMPLER_SLOT];
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];
rsComponent.cpp 210 0,//"SAMPLER",
238 0,//"SAMPLER",
307 "SAMPLER",
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));
  /external/skia/src/images/
SkImageDecoder_libbmp.cpp 119 SkScaledBitmapSampler sampler(width, height, getSampleSize());
121 bm->setConfig(config, sampler.scaledWidth(), sampler.scaledHeight());
133 if (!sampler.begin(bm, SkScaledBitmapSampler::kRGB, getDitherImage())) {
138 const int dstHeight = sampler.scaledHeight();
141 srcRow += sampler.srcY0() * srcRowBytes;
143 sampler.next(srcRow);
144 srcRow += sampler.srcDY() * srcRowBytes;
SkImageDecoder_libpng.cpp 313 SkScaledBitmapSampler sampler(origWidth, origHeight, sampleSize);
315 decodedBitmap->setConfig(config, sampler.scaledWidth(),
316 sampler.scaledHeight(), 0);
442 if (!sampler.begin(decodedBitmap, sc, doDither, ctLock.colors())) {
461 base += sampler.srcY0() * rb;
463 reallyHasAlpha |= sampler.next(base);
464 base += sampler.srcDY() * rb;
469 skip_src_rows(png_ptr, srcRow, sampler.srcY0());
474 reallyHasAlpha |= sampler.next(srcRow);
476 skip_src_rows(png_ptr, srcRow, sampler.srcDY() - 1)
    [all...]
  /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() {
  /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-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-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-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.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...]
  /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;
217 // sampler and program fragment for pulses
218 Sampler.Builder sampleBuilder = new Sampler.Builder(mRS);
238 // sampler and program fragment for background imag
    [all...]
  /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);
  /external/webkit/JavaScriptCore/runtime/
Executable.h 113 if (SamplingTool* sampler = globalData->interpreter->sampler())
114 sampler->notifyOfScope(this);
126 if (SamplingTool* sampler = exec->globalData().interpreter->sampler())
127 sampler->notifyOfScope(this);
  /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;
31 import android.renderscript.Sampler;
78 private Sampler mSampler;
196 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;
67 private Sampler mSampler;
134 Sampler.Builder 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;
198 Sampler.Builder builder = new Sampler.Builder(mRS);
207 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/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/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);
  /external/v8/test/cctest/
test-log.cc 434 class TestSampler : public v8::internal::Sampler {
437 : Sampler(0, true),
470 TestSampler sampler; local
471 sampler.Start();
472 CHECK(!sampler.WasSampleStackCalled());
475 CHECK(sampler.WaitForTick());
476 CHECK(sampler.WasSampleStackCalled());
477 sampler.Reset();
478 CHECK(!sampler.WasSampleStackCalled());
481 CHECK(sampler.WaitForTick())
    [all...]

Completed in 155 milliseconds

1 2