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

1 2 3

  /external/chromium_org/third_party/angle/src/libGLESv2/
Sampler.cpp 8 // Sampler.cpp : Implements the Sampler class, which represents a GLES 3
9 // sampler object. Sampler objects store some state needed to sample textures.
11 #include "libGLESv2/Sampler.h"
17 Sampler::Sampler(GLuint id)
31 void Sampler::getState(SamplerState *samplerState) const
Sampler.h 7 // Sampler.h : Defines the Sampler class, which represents a GLES 3
8 // sampler object. Sampler objects store some state needed to sample textures.
19 class Sampler : public RefCountObject
22 Sampler(GLuint id);
ProgramBinary.h 255 struct Sampler
257 Sampler();
264 Sampler mSamplersPS[MAX_TEXTURE_IMAGE_UNITS];
265 Sampler mSamplersVS[IMPLEMENTATION_MAX_VERTEX_TEXTURE_IMAGE_UNITS];
  /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 {
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;
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
SampleTest.java 24 import android.renderscript.Sampler;
77 mScript.set_gNearest(Sampler.CLAMP_NEAREST(mRS));
78 mScript.set_gLinear(Sampler.CLAMP_LINEAR(mRS));
80 Sampler.Builder sb = new Sampler.Builder(mRS);
81 sb.setMinification(Sampler.Value.LINEAR_MIP_NEAREST);
84 mScript.set_gMipLinear(Sampler.CLAMP_LINEAR_MIP_LINEAR(mRS));
  /frameworks/rs/cpp/
Sampler.cpp 22 Sampler::Sampler(sp<RS> rs, void* id):
32 RsSamplerValue Sampler::getMinification() {
36 RsSamplerValue Sampler::getMagnification() {
40 RsSamplerValue Sampler::getWrapS() {
44 RsSamplerValue Sampler::getWrapT() {
48 float Sampler::getAnisotropy() {
52 sp<Sampler> Sampler::create(sp<RS> rs, RsSamplerValue min, RsSamplerValue mag, RsSamplerValue wrapS, RsSamplerValue wrapT, float anisotropy) {
55 return new Sampler(rs, id)
    [all...]
  /external/chromium_org/third_party/tcmalloc/chromium/src/
sampler.h 50 // Sampler to decide when to create a sample trace for an allocation
51 // Not thread safe: Each thread should have it's own sampler object.
72 // The sampler works by representing memory as a long stream from
102 class PERFTOOLS_DLL_DECL Sampler {
104 // Initialize this sampler.
117 // Initialize the statics for the Sampler class
140 inline bool Sampler::SampleAllocation(size_t k) {
155 inline uint64_t Sampler::NextRandom(uint64_t rnd) {
166 inline double Sampler::FastLog2(const double & d) {
  /external/chromium_org/third_party/tcmalloc/vendor/src/
sampler.h 50 // Sampler to decide when to create a sample trace for an allocation
51 // Not thread safe: Each thread should have it's own sampler object.
72 // The sampler works by representing memory as a long stream from
102 class PERFTOOLS_DLL_DECL Sampler {
104 // Initialize this sampler.
117 // Initialize the statics for the Sampler class
140 inline bool Sampler::SampleAllocation(size_t k) {
155 inline uint64_t Sampler::NextRandom(uint64_t rnd) {
166 inline double Sampler::FastLog2(const double & d) {
  /frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
Fisheye.java 21 import android.renderscript.Sampler;
103 mScript_approx_relaxed.set_sampler(Sampler.CLAMP_LINEAR(mRS));
107 mScript_approx_full.set_sampler(Sampler.CLAMP_LINEAR(mRS));
112 mScript_relaxed.set_sampler(Sampler.CLAMP_LINEAR(mRS));
116 mScript_full.set_sampler(Sampler.CLAMP_LINEAR(mRS));
  /frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
Fisheye.java 100 mScript_approx_relaxed.set_sampler(Sampler.CLAMP_LINEAR(mRS));
104 mScript_approx_full.set_sampler(Sampler.CLAMP_LINEAR(mRS));
109 mScript_relaxed.set_sampler(Sampler.CLAMP_LINEAR(mRS));
113 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;
103 mScript_approx_relaxed.set_sampler(Sampler.CLAMP_LINEAR(mRS));
107 mScript_approx_full.set_sampler(Sampler.CLAMP_LINEAR(mRS));
112 mScript_relaxed.set_sampler(Sampler.CLAMP_LINEAR(mRS));
116 mScript_full.set_sampler(Sampler.CLAMP_LINEAR(mRS));
  /prebuilts/ndk/9/platforms/android-19/arch-arm/usr/include/rs/
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;
  /prebuilts/ndk/9/platforms/android-19/arch-mips/usr/include/rs/
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;
  /prebuilts/ndk/9/platforms/android-19/arch-x86/usr/include/rs/
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;
  /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));
  /external/chromium_org/v8/src/
sampler.h 18 // Sampler
20 // A sampler periodically samples the state of the VM and optionally
55 class Sampler {
57 // Initializes the Sampler support. Called once at VM startup.
61 // Initialize sampler.
62 Sampler(Isolate* isolate, int interval);
63 virtual ~Sampler();
71 // Start and stop sampler.
75 // Whether the sampling thread should use this Sampler for CPU profiling?
83 // Whether the sampler is running (that is, consumes resources)
    [all...]
sampler.cc 5 #include "src/sampler.h"
182 class Sampler::PlatformData : public PlatformDataCommon {
194 // Win32 profiler support. On Cygwin we use the same sampler implementation as
197 class Sampler::PlatformData : public PlatformDataCommon {
201 // going to use it in the sampler thread. Using GetThreadHandle() will
229 inline bool Init(Sampler* sampler, Isolate* isolate) {
344 Sampler* sampler = isolate->logger()->sampler();
537 Sampler* sampler = active_samplers_.at(i); local
    [all...]
  /external/llvm/lib/Target/R600/MCTargetDesc/
R600MCCodeEmitter.cpp 110 int64_t Sampler = MI.getOperand(14).getImm();
125 uint32_t Word2 = Sampler << 15 | SrcSelect[ELEMENT_X] << 20 |
  /frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
TestAppLoadingScreen.java 86 pfDefault.bindSampler(Sampler.CLAMP_LINEAR(mRS), 0);
  /external/chromium_org/third_party/skia/src/gpu/gl/
GrGLProgramEffects.h 42 * Assigns a texture unit to each sampler. It starts on *texUnitIdx and writes the next
117 struct Sampler {
118 SkDEBUGCODE(Sampler() : fTextureUnit(-1) {})
124 SkTArray<SkSTArray<4, Sampler, true> > fSamplers;
  /external/skia/src/gpu/gl/
GrGLProgramEffects.h 42 * Assigns a texture unit to each sampler. It starts on *texUnitIdx and writes the next
117 struct Sampler {
118 SkDEBUGCODE(Sampler() : fTextureUnit(-1) {})
124 SkTArray<SkSTArray<4, Sampler, true> > fSamplers;
  /frameworks/base/rs/java/android/renderscript/
Sampler.java 20 * Sampler object that defines how Allocations can be read as textures within a
24 * Any Allocation used with a Sampler must have been created with {@link
25 * android.renderscript.Allocation#USAGE_GRAPHICS_TEXTURE}; using a Sampler on
29 public class Sampler extends BaseObj {
52 Sampler(long id, RenderScript rs) {
57 * @return minification setting for the sampler
64 * @return magnification setting for the sampler
71 * @return S wrapping mode for the sampler
78 * @return T wrapping mode for the sampler
85 * @return anisotropy setting for the sampler
341 Sampler sampler = new Sampler(id, mRS); local
    [all...]

Completed in 991 milliseconds

1 2 3