Searched refs:Sampler (Results 1 - 25 of 49) sorted by relevance

12

/frameworks/rs/driver/
H A DrsdSampler.h24 const android::renderscript::Sampler *);
27 const android::renderscript::Sampler *);
H A DrsdSampler.cpp34 const android::renderscript::Sampler *) {
39 const android::renderscript::Sampler *s) {
/frameworks/support/renderscript/v8/rs_support/driver/
H A DrsdSampler.cpp28 const android::renderscript::Sampler *) {
33 const android::renderscript::Sampler *s) {
H A DrsdSampler.h24 const android::renderscript::Sampler *);
27 const android::renderscript::Sampler *);
/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/
H A DUT_sampler.java22 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
[all...]
/frameworks/rs/
H A DrsSampler.h37 class Sampler : public ObjectBase { class in namespace:android::renderscript
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;
H A DrsSampler.cpp25 Sampler::Sampler(Context *rsc) : ObjectBase(rsc) { function in class:Sampler
30 Sampler::Sampler(Context *rsc, function in class:Sampler
47 Sampler::~Sampler() {
51 void Sampler::preDestroy() const {
60 void Sampler::bindToContext(SamplerState *ss, uint32_t slot) {
65 void Sampler::unbindFromContext(SamplerState *ss) {
71 void Sampler
[all...]
H A DrsProgram.h47 Sampler **samplers;
71 void bindSampler(Context *, uint32_t slot, Sampler *);
75 ObjectBaseRef<Sampler> *mSamplers;
H A DrsProgram.cpp41 mSamplers = new ObjectBaseRef<Sampler>[mHal.state.texturesCount];
47 mHal.state.samplers = new Sampler*[mHal.state.texturesCount];
187 void Program::bindSampler(Context *rsc, uint32_t slot, Sampler *s) {
214 p->bindSampler(rsc, slot, static_cast<Sampler *>(s));
/frameworks/support/renderscript/v8/rs_support/
H A DrsSampler.h37 class Sampler : public ObjectBase { class in namespace:android::renderscript
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;
H A DrsSampler.cpp25 Sampler::Sampler(Context *rsc) : ObjectBase(rsc) { function in class:Sampler
30 Sampler::Sampler(Context *rsc, function in class:Sampler
47 Sampler::~Sampler() {
51 void Sampler::preDestroy() const {
60 void Sampler::bindToContext(SamplerState *ss, uint32_t slot) {
65 void Sampler::unbindFromContext(SamplerState *ss) {
71 void Sampler
[all...]
/frameworks/base/graphics/java/android/renderscript/
H A DSampler.java31 * Sampler object which defines how data is extracted from textures. Samplers
35 public class Sampler extends BaseObj { class in inherits:BaseObj
57 Sampler(int id, RenderScript rs) { method in class:Sampler
102 * @return Sampler
104 public static Sampler CLAMP_NEAREST(RenderScript rs) {
122 * @return Sampler
124 public static Sampler CLAMP_LINEAR(RenderScript rs) {
142 * @return Sampler
144 public static Sampler CLAMP_LINEAR_MIP_LINEAR(RenderScript rs) {
162 * @return Sampler
[all...]
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/
H A DSampler.java31 * Sampler object which defines how data is extracted from textures. Samplers
35 public class Sampler extends BaseObj { class in inherits:BaseObj
57 Sampler(int id, RenderScript rs) { method in class:Sampler
102 * @return Sampler
104 public static Sampler CLAMP_NEAREST(RenderScript rs) {
122 * @return Sampler
124 public static Sampler CLAMP_LINEAR(RenderScript rs) {
142 * @return Sampler
144 public static Sampler CLAMP_LINEAR_MIP_LINEAR(RenderScript rs) {
162 * @return Sampler
[all...]
/frameworks/base/tests/RenderScriptTests/MiscSamples/src/com/example/android/rs/miscsamples/
H A DRsRenderStatesRS.java28 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
[all...]
/frameworks/base/tests/RenderScriptTests/SampleTest/src/com/android/rs/sample/
H A DSampleRSActivity.java30 import android.renderscript.Sampler;
44 private Sampler mSampler;
46 TextureViewUpdater(Allocation outAlloc, Sampler 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) {
/frameworks/base/tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/
H A DFisheye.java21 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/
H A DFBOSyncRS.java48 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);
H A DFBOTestRS.java48 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/
H A DSceneGraphRS.java53 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);
H A DSimpleModelRS.java45 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/
H A DFisheye.java101 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/
H A DShadersTestRS.java35 import android.renderscript.Sampler;
55 private Sampler mLinearClamp;
56 private Sampler mNearestClamp;
97 mLinearClamp = Sampler.CLAMP_LINEAR(mRS);
100 mNearestClamp = Sampler.CLAMP_NEAREST(mRS);
/frameworks/base/tests/RenderScriptTests/SurfaceTexture/src/com/example/android/rs/sto/
H A DSurfaceTextureOpaqueRS.java60 mPF.bindSampler(Sampler.CLAMP_NEAREST(mRS), 0);
/frameworks/compile/libbcc/lib/Renderscript/runtime/
H A Drs_structs.h121 * internal members of the C++ class Sampler owned by librs. Unfortunately,
134 typedef struct Sampler { struct
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
H A DRsBenchRS.java35 import android.renderscript.Sampler.Value;
231 mProgFragmentTexture.bindSampler(Sampler.CLAMP_LINEAR(mRS), 0);
302 mScript.set_gLinearClamp(Sampler.CLAMP_LINEAR(mRS));

Completed in 212 milliseconds

12