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

1 2

  /frameworks/rs/
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...]
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;
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
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/java/tests/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/rs/java/tests/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/rs/java/tests/ImageProcessing_jb/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/PerfTest/src/com/android/perftest/
FillTest.java 162 mFillScript.set_gLinearClamp(Sampler.CLAMP_LINEAR(mRS));
163 mFillScript.set_gLinearWrap(Sampler.WRAP_LINEAR(mRS));
UiTest.java 230 mUiScript.set_gLinearClamp(Sampler.CLAMP_LINEAR(mRS));
250 pfb.bindSampler(Sampler.WRAP_NEAREST(mRS), 0);
259 pfs.bindSampler(Sampler.WRAP_LINEAR_MIP_LINEAR(mRS), 0);
MeshTest.java 159 mGeoScript.set_gLinearClamp(Sampler.CLAMP_LINEAR(mRS));
RsBenchRS.java 35 import android.renderscript.Sampler.Value;
231 mProgFragmentTexture.bindSampler(Sampler.CLAMP_LINEAR(mRS), 0);
302 mScript.set_gLinearClamp(Sampler.CLAMP_LINEAR(mRS));
TorusTest.java 255 mTorusScript.set_gLinearClamp(Sampler.CLAMP_LINEAR(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;
136 // sampler and program fragment for pulses
141 pft.bindSampler(Sampler.WRAP_LINEAR(mRS), 0);
144 // sampler and program fragment for background image
149 pft565.bindSampler(Sampler.CLAMP_NEAREST(mRS), 0);
  /cts/tests/tests/rsg/src/android/renderscriptgraphics/cts/
ProgramFragmentFixedFunctionTest.java 23 import android.renderscript.Sampler;
72 pf.bindSampler(Sampler.CLAMP_NEAREST(mRS), t);
ProgramFragmentTest.java 25 import android.renderscript.Sampler;
116 pf.bindSampler(Sampler.CLAMP_NEAREST(mRS), i);
120 p.bindSampler(Sampler.CLAMP_NEAREST(mRS), i);
  /frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
TestAppLoadingScreen.java 86 pfDefault.bindSampler(Sampler.CLAMP_LINEAR(mRS), 0);
  /packages/wallpapers/Basic/src/com/android/wallpaper/galaxy/
GalaxyRS.java 158 pfb.bindSampler(Sampler.WRAP_NEAREST(mRS), 0);
167 pfs.bindSampler(Sampler.WRAP_LINEAR(mRS), 0);
  /external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/
Program.h 190 struct Sampler
198 Sampler mSamplers[MAX_TEXTURE_IMAGE_UNITS];
  /frameworks/base/graphics/java/android/renderscript/
Sampler.java 31 * Sampler object that defines how Allocations can be read as textures within a
35 * Any Allocation used with a Sampler must have been created with {@link
36 * android.renderscript.Allocation#USAGE_GRAPHICS_TEXTURE}; using a Sampler on
40 public class Sampler extends BaseObj {
63 Sampler(int id, RenderScript rs) {
68 * @return minification setting for the sampler
75 * @return magnification setting for the sampler
82 * @return S wrapping mode for the sampler
89 * @return T wrapping mode for the sampler
96 * @return anisotropy setting for the sampler
352 Sampler sampler = new Sampler(id, mRS); local
    [all...]