/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
D | UT_sampler.java | 26 Sampler minification; 27 Sampler magnification; 28 Sampler wrapS; 29 Sampler wrapT; 30 Sampler anisotropy; 37 private Sampler.Builder getDefaultBuilder(RenderScript RS) { in getDefaultBuilder() 38 Sampler.Builder b = new Sampler.Builder(RS); in getDefaultBuilder() 39 b.setMinification(Sampler.Value.NEAREST); in getDefaultBuilder() 40 b.setMagnification(Sampler.Value.NEAREST); in getDefaultBuilder() 41 b.setWrapS(Sampler.Value.CLAMP); in getDefaultBuilder() [all …]
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
D | UT_sampler.java | 26 Sampler minification; 27 Sampler magnification; 28 Sampler wrapS; 29 Sampler wrapT; 30 Sampler anisotropy; 37 private Sampler.Builder getDefaultBuilder(RenderScript RS) { in getDefaultBuilder() 38 Sampler.Builder b = new Sampler.Builder(RS); in getDefaultBuilder() 39 b.setMinification(Sampler.Value.NEAREST); in getDefaultBuilder() 40 b.setMagnification(Sampler.Value.NEAREST); in getDefaultBuilder() 41 b.setWrapS(Sampler.Value.CLAMP); in getDefaultBuilder() [all …]
|
D | UT_apitest.java | 48 Sampler sampler = Sampler.CLAMP_NEAREST(pRS); in run()
|
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
D | UT_sampler.java | 26 Sampler minification; 27 Sampler magnification; 28 Sampler wrapS; 29 Sampler wrapT; 30 Sampler anisotropy; 37 private Sampler.Builder getDefaultBuilder(RenderScript RS) { in getDefaultBuilder() 38 Sampler.Builder b = new Sampler.Builder(RS); in getDefaultBuilder() 39 b.setMinification(Sampler.Value.NEAREST); in getDefaultBuilder() 40 b.setMagnification(Sampler.Value.NEAREST); in getDefaultBuilder() 41 b.setWrapS(Sampler.Value.CLAMP); in getDefaultBuilder() [all …]
|
D | UT_apitest.java | 48 Sampler sampler = Sampler.CLAMP_NEAREST(pRS); in run()
|
/frameworks/rs/ |
D | rsSampler.cpp | 25 Sampler::Sampler(Context *rsc) : ObjectBase(rsc) { in Sampler() function in Sampler 30 Sampler::Sampler(Context *rsc, in Sampler() function in Sampler 47 Sampler::~Sampler() { in ~Sampler() 51 void Sampler::preDestroy() const { in preDestroy() 60 void Sampler::bindToContext(SamplerState *ss, uint32_t slot) { in bindToContext() 65 void Sampler::unbindFromContext(SamplerState *ss) { in unbindFromContext() 71 void Sampler::serialize(Context *rsc, OStream *stream) const { in serialize() 74 Sampler *Sampler::createFromStream(Context *rsc, IStream *stream) { in createFromStream() 78 ObjectBaseRef<Sampler> Sampler::getSampler(Context *rsc, in getSampler() 85 ObjectBaseRef<Sampler> returnRef; in getSampler() [all …]
|
D | 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;
|
D | rsProgram.h | 47 Sampler **samplers; 71 void bindSampler(Context *, uint32_t slot, Sampler *); 75 ObjectBaseRef<Sampler> *mSamplers;
|
D | rsProgram.cpp | 43 mSamplers = new ObjectBaseRef<Sampler>[mHal.state.texturesCount]; in Program() 49 mHal.state.samplers = new Sampler*[mHal.state.texturesCount]; in Program() 200 void Program::bindSampler(Context *rsc, uint32_t slot, Sampler *s) { in bindSampler() 227 p->bindSampler(rsc, slot, static_cast<Sampler *>(s)); in rsi_ProgramBindSampler()
|
D | rs_hal.h | 95 class Sampler; variable 119 RS_BASE_OBJ(Sampler) rs_sampler; 350 bool (*init)(const Context *rsc, const Sampler *m); 351 void (*destroy)(const Context *rsc, const Sampler *m); 352 void (*updateCachedObject)(const Context *rsc, const Sampler *s, rs_sampler *obj);
|
/frameworks/rs/cpp/ |
D | Sampler.cpp | 23 Sampler::Sampler(sp<RS> rs, void* id): in Sampler() function in Sampler 33 Sampler::Sampler(sp<RS> rs, void* id, RsSamplerValue min, RsSamplerValue mag, in Sampler() function in Sampler 44 RsSamplerValue Sampler::getMinification() { in getMinification() 48 RsSamplerValue Sampler::getMagnification() { in getMagnification() 52 RsSamplerValue Sampler::getWrapS() { in getWrapS() 56 RsSamplerValue Sampler::getWrapT() { in getWrapT() 60 float Sampler::getAnisotropy() { in getAnisotropy() 64 sp<Sampler> Sampler::create(sp<RS> rs, RsSamplerValue min, RsSamplerValue mag, in create() 69 return new Sampler(rs, id, min, mag, wrapS, wrapT, anisotropy); in create() 72 #define CREATE_SAMPLER(N, MIN, MAG, WRAPS, WRAPT) sp<const Sampler> Sampler::N(sp<RS> rs) { \
|
D | rsCppStructs.h | 50 class Sampler; variable 521 sp<const Sampler> CLAMP_NEAREST; 522 sp<const Sampler> CLAMP_LINEAR; 523 sp<const Sampler> CLAMP_LINEAR_MIP_LINEAR; 524 sp<const Sampler> WRAP_NEAREST; 525 sp<const Sampler> WRAP_LINEAR; 526 sp<const Sampler> WRAP_LINEAR_MIP_LINEAR; 527 sp<const Sampler> MIRRORED_REPEAT_NEAREST; 528 sp<const Sampler> MIRRORED_REPEAT_LINEAR; 529 sp<const Sampler> MIRRORED_REPEAT_LINEAR_MIP_LINEAR; [all …]
|
/frameworks/base/rs/java/android/renderscript/ |
D | Sampler.java | 29 public class Sampler extends BaseObj { class 52 Sampler(long id, RenderScript rs) { in Sampler() method in Sampler 100 public static Sampler CLAMP_NEAREST(RenderScript rs) { in CLAMP_NEAREST() 124 public static Sampler CLAMP_LINEAR(RenderScript rs) { in CLAMP_LINEAR() 148 public static Sampler CLAMP_LINEAR_MIP_LINEAR(RenderScript rs) { in CLAMP_LINEAR_MIP_LINEAR() 172 public static Sampler WRAP_NEAREST(RenderScript rs) { in WRAP_NEAREST() 196 public static Sampler WRAP_LINEAR(RenderScript rs) { in WRAP_LINEAR() 220 public static Sampler WRAP_LINEAR_MIP_LINEAR(RenderScript rs) { in WRAP_LINEAR_MIP_LINEAR() 244 public static Sampler MIRRORED_REPEAT_NEAREST(RenderScript rs) { in MIRRORED_REPEAT_NEAREST() 268 public static Sampler MIRRORED_REPEAT_LINEAR(RenderScript rs) { in MIRRORED_REPEAT_LINEAR() [all …]
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
D | Sampler.java | 42 public class Sampler extends BaseObj { class 65 Sampler(long id, RenderScript rs) { in Sampler() method in Sampler 112 public static Sampler CLAMP_NEAREST(RenderScript rs) { in CLAMP_NEAREST() 132 public static Sampler CLAMP_LINEAR(RenderScript rs) { in CLAMP_LINEAR() 152 public static Sampler CLAMP_LINEAR_MIP_LINEAR(RenderScript rs) { in CLAMP_LINEAR_MIP_LINEAR() 172 public static Sampler WRAP_NEAREST(RenderScript rs) { in WRAP_NEAREST() 192 public static Sampler WRAP_LINEAR(RenderScript rs) { in WRAP_LINEAR() 212 public static Sampler WRAP_LINEAR_MIP_LINEAR(RenderScript rs) { in WRAP_LINEAR_MIP_LINEAR() 232 public static Sampler MIRRORED_REPEAT_NEAREST(RenderScript rs) { in MIRRORED_REPEAT_NEAREST() 252 public static Sampler MIRRORED_REPEAT_LINEAR(RenderScript rs) { in MIRRORED_REPEAT_LINEAR() [all …]
|
/frameworks/rs/api/ |
D | rs_object_info.spec | 21 or Sampler object. These objects are created from Java. You can't create them from a 314 summary: Anisotropy of the Sampler 316 Get the Sampler's anisotropy. 318 …See <a href='http://developer.android.com/reference/android/renderscript/Sampler.html'>android.ren… 338 summary: Sampler minification value 340 Get the Sampler's minification value. 342 …See <a href='http://developer.android.com/reference/android/renderscript/Sampler.html'>android.ren… 362 summary: Sampler wrap T value 366 …See <a href='http://developer.android.com/reference/android/renderscript/Sampler.html'>android.ren…
|
D | rs_object_types.spec | 71 summary: Handle to a Sampler 75 …eveloper.android.com/reference/android/renderscript/Sampler.html">android.renderscript.Sampler</a>. 211 summary: Sampler wrap T value
|
/frameworks/rs/java/tests/SampleTest/src/com/android/rs/sample/ |
D | SampleRSActivity.java | 30 import android.renderscript.Sampler; 45 private Sampler mSampler; 47 TextureViewUpdater(Allocation outAlloc, Sampler sampler) { in TextureViewUpdater() 119 TextureViewUpdater updater = new TextureViewUpdater(outAlloc, Sampler.WRAP_LINEAR(mRS)); in onCreate() 125 updater = new TextureViewUpdater(outAlloc, Sampler.CLAMP_LINEAR(mRS)); in onCreate() 131 updater = new TextureViewUpdater(outAlloc, Sampler.WRAP_NEAREST(mRS)); in onCreate() 137 updater = new TextureViewUpdater(outAlloc, Sampler.CLAMP_NEAREST(mRS)); in onCreate() 155 private synchronized void filterAlloc(Allocation alloc, Sampler sampler) { in filterAlloc()
|
/frameworks/rs/driver/ |
D | rsdSampler.h | 24 const android::renderscript::Sampler *); 27 const android::renderscript::Sampler *); 30 const android::renderscript::Sampler *,
|
D | rsdSampler.cpp | 36 bool rsdSamplerInit(const Context *, const Sampler *s) { in rsdSamplerInit() 41 const android::renderscript::Sampler *s) { in rsdSamplerDestroy() 45 const Sampler *alloc, in rsdSamplerUpdateCachedObject()
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
D | Fisheye.java | 21 import android.renderscript.Sampler; 103 mScript_approx_relaxed.set_sampler(Sampler.CLAMP_LINEAR(mRS)); in createTest() 107 mScript_approx_full.set_sampler(Sampler.CLAMP_LINEAR(mRS)); in createTest() 112 mScript_relaxed.set_sampler(Sampler.CLAMP_LINEAR(mRS)); in createTest() 116 mScript_full.set_sampler(Sampler.CLAMP_LINEAR(mRS)); in createTest()
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
D | Fisheye.java | 21 import android.renderscript.Sampler; 108 mScript_approx_relaxed.set_sampler(Sampler.CLAMP_LINEAR(mRS)); in createTest() 112 mScript_approx_full.set_sampler(Sampler.CLAMP_LINEAR(mRS)); in createTest() 117 mScript_relaxed.set_sampler(Sampler.CLAMP_LINEAR(mRS)); in createTest() 121 mScript_full.set_sampler(Sampler.CLAMP_LINEAR(mRS)); in createTest()
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
D | Fisheye.java | 105 mScript_approx_relaxed.set_sampler(Sampler.CLAMP_LINEAR(mRS)); in createTest() 109 mScript_approx_full.set_sampler(Sampler.CLAMP_LINEAR(mRS)); in createTest() 114 mScript_relaxed.set_sampler(Sampler.CLAMP_LINEAR(mRS)); in createTest() 118 mScript_full.set_sampler(Sampler.CLAMP_LINEAR(mRS)); in createTest()
|
/frameworks/rs/scriptc/ |
D | rs_object_info.rsh | 23 * or Sampler object. These objects are created from Java. You can't create them from a 384 * rsSamplerGetAnisotropy: Anisotropy of the Sampler 386 * Get the Sampler's anisotropy. 396 * rsSamplerGetMagnification: Sampler magnification value 398 * Get the Sampler's magnification value. 408 * rsSamplerGetMinification: Sampler minification value 410 * Get the Sampler's minification value. 420 * rsSamplerGetWrapS: Sampler wrap S value 422 * Get the Sampler's wrap S value. 432 * rsSamplerGetWrapT: Sampler wrap T value
|
/frameworks/rs/tests/cppbasic-shared/ |
D | compute.cpp | 46 sp<const Sampler> samp = Sampler::CLAMP_NEAREST(rs); in test_compute()
|
/frameworks/rs/tests/cppbasic/ |
D | compute.cpp | 46 sp<const Sampler> samp = Sampler::CLAMP_NEAREST(rs); in test_compute()
|