HomeSort by relevance Sort by last modified time
    Searched refs:Sampler (Results 1 - 25 of 82) sorted by null

1 2 3 4

  /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/driver/
rsdSampler.h 24 const android::renderscript::Sampler *);
27 const android::renderscript::Sampler *);
rsdSampler.cpp 34 const android::renderscript::Sampler *) {
39 const android::renderscript::Sampler *s) {
  /frameworks/support/renderscript/v8/rs_support/driver/
rsdSampler.cpp 28 const android::renderscript::Sampler *) {
33 const android::renderscript::Sampler *s) {
rsdSampler.h 24 const android::renderscript::Sampler *);
27 const android::renderscript::Sampler *);
  /frameworks/base/tests/RenderScriptTests/tests/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...]
  /frameworks/rs/
rsSampler.h 37 class Sampler : public ObjectBase {
54 static ObjectBaseRef<Sampler> getSampler(Context *,
66 static Sampler *createFromStream(Context *rsc, IStream *stream);
72 virtual ~Sampler();
75 Sampler(Context *);
76 Sampler(Context *,
88 ObjectBaseRef<Sampler> mSamplers[RS_MAX_SAMPLER_SLOT];
97 Vector<Sampler *> mAllSamplers;
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...]
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/support/renderscript/v8/rs_support/
rsSampler.h 37 class Sampler : public ObjectBase {
54 static ObjectBaseRef<Sampler> getSampler(Context *,
66 static Sampler *createFromStream(Context *rsc, IStream *stream);
72 virtual ~Sampler();
75 Sampler(Context *);
76 Sampler(Context *,
88 ObjectBaseRef<Sampler> mSamplers[RS_MAX_SAMPLER_SLOT];
97 Vector<Sampler *> mAllSamplers;
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...]
  /frameworks/base/graphics/java/android/renderscript/
Sampler.java 31 * Sampler object which defines how data is extracted from textures. Samplers
35 public class Sampler extends BaseObj {
57 Sampler(int id, RenderScript rs) {
62 * @return minification setting for the sampler
69 * @return magnification setting for the sampler
76 * @return S wrapping mode for the sampler
83 * @return T wrapping mode for the sampler
90 * @return anisotropy setting for the sampler
97 * Retrieve a sampler with min and mag set to nearest and wrap modes set to
100 * @param rs Context to which the sampler will belong
288 Sampler sampler = new Sampler(id, mRS); local
    [all...]
  /frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/
Sampler.java 31 * Sampler object which defines how data is extracted from textures. Samplers
35 public class Sampler extends BaseObj {
57 Sampler(int id, RenderScript rs) {
62 * @return minification setting for the sampler
69 * @return magnification setting for the sampler
76 * @return S wrapping mode for the sampler
83 * @return T wrapping mode for the sampler
90 * @return anisotropy setting for the sampler
97 * Retrieve a sampler with min and mag set to nearest and wrap modes set to
100 * @param rs Context to which the sampler will belong
288 Sampler sampler = new Sampler(id, mRS); local
    [all...]
  /frameworks/base/tests/RenderScriptTests/MiscSamples/src/com/example/android/rs/miscsamples/
RsRenderStatesRS.java 28 import android.renderscript.Sampler.Value;
64 private Sampler mLinearClamp;
65 private Sampler mLinearWrap;
66 private Sampler mMipLinearWrap;
67 private Sampler mNearestClamp;
68 private Sampler mMipLinearAniso8;
69 private Sampler mMipLinearAniso15;
362 Sampler.Builder bs = new Sampler.Builder(mRS);
363 bs.setMinification(Sampler.Value.LINEAR)
    [all...]
  /frameworks/base/tests/RenderScriptTests/SampleTest/src/com/android/rs/sample/
SampleRSActivity.java 30 import android.renderscript.Sampler;
44 private Sampler mSampler;
46 TextureViewUpdater(Allocation outAlloc, Sampler sampler) {
48 mSampler = sampler;
115 TextureViewUpdater updater = new TextureViewUpdater(outAlloc, Sampler.WRAP_LINEAR(mRS));
121 updater = new TextureViewUpdater(outAlloc, Sampler.CLAMP_LINEAR(mRS));
127 updater = new TextureViewUpdater(outAlloc, Sampler.WRAP_NEAREST(mRS));
133 updater = new TextureViewUpdater(outAlloc, Sampler.CLAMP_NEAREST(mRS));
151 private synchronized void filterAlloc(Allocation alloc, Sampler sampler)
    [all...]
  /frameworks/base/tests/RenderScriptTests/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/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/
FBOSyncRS.java 48 private Sampler mSampler;
91 Sampler.Builder bs = new Sampler.Builder(mRS);
92 bs.setMinification(Sampler.Value.LINEAR);
93 bs.setMagnification(Sampler.Value.LINEAR);
94 bs.setWrapS(Sampler.Value.CLAMP);
95 bs.setWrapT(Sampler.Value.CLAMP);
FBOTestRS.java 48 private Sampler mSampler;
90 Sampler.Builder bs = new Sampler.Builder(mRS);
91 bs.setMinification(Sampler.Value.LINEAR);
92 bs.setMagnification(Sampler.Value.LINEAR);
93 bs.setWrapS(Sampler.Value.CLAMP);
94 bs.setWrapT(Sampler.Value.CLAMP);
  /frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
SceneGraphRS.java 53 private Sampler mSampler;
105 Sampler.Builder bs = new Sampler.Builder(mRS);
106 bs.setMinification(Sampler.Value.LINEAR);
107 bs.setMagnification(Sampler.Value.LINEAR);
108 bs.setWrapS(Sampler.Value.CLAMP);
109 bs.setWrapT(Sampler.Value.CLAMP);
SimpleModelRS.java 45 private Sampler mSampler;
89 Sampler.Builder bs = new Sampler.Builder(mRS);
90 bs.setMinification(Sampler.Value.LINEAR);
91 bs.setMagnification(Sampler.Value.LINEAR);
92 bs.setWrapS(Sampler.Value.CLAMP);
93 bs.setWrapT(Sampler.Value.CLAMP);
  /frameworks/base/tests/RenderScriptTests/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/base/tests/RenderScriptTests/ShadersTest/src/com/android/shaderstest/
ShadersTestRS.java 35 import android.renderscript.Sampler;
55 private Sampler mLinearClamp;
56 private Sampler mNearestClamp;
97 mLinearClamp = Sampler.CLAMP_LINEAR(mRS);
100 mNearestClamp = Sampler.CLAMP_NEAREST(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;
132 // sampler and program fragment for pulses
137 pft.bindSampler(Sampler.WRAP_LINEAR(mRS), 0);
140 // sampler and program fragment for background image
145 pft565.bindSampler(Sampler.CLAMP_NEAREST(mRS), 0);
  /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;
69 private Sampler mSampler;
160 Sampler.Builder samplerBuilder = new Sampler.Builder(mRS);

Completed in 414 milliseconds

1 2 3 4