Lines Matching refs:SAMPLER
50 class Sampler;
498 sp<const Element> SAMPLER;
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;
531 friend class Sampler;
566 * Sampler. A developer must synchronize across these different usages using
569 * used as the output of one kernel and as Sampler input in a later kernel, a
918 * Sampler. Note that Allocation objects with DataKind USER cannot be used as
919 * input for a Sampler. In general, Allocation objects that are intended for
920 * use with a Sampler should use bitmap-derived Elements such as
1093 * Utility function for returning an Element containing a single Sampler.
1097 static sp<const Element> SAMPLER(sp<RS> rs);
4217 * Sampler object that defines how Allocations can be read as textures
4221 * Any Allocation used with a Sampler must have been created with
4222 * RS_ALLOCATION_USAGE_GRAPHICS_TEXTURE; using a Sampler on an
4226 class Sampler : public BaseObj {
4228 Sampler(sp<RS> rs, void* id);
4229 Sampler(sp<RS> rs, void* id, RsSamplerValue min, RsSamplerValue mag,
4239 * Creates a non-standard Sampler.
4247 static sp<Sampler> create(sp<RS> rs, RsSamplerValue min, RsSamplerValue mag, RsSamplerValue wrapS, RsSamplerValue wrapT, float anisotropy);
4250 * @return minification setting for the sampler
4254 * @return magnification setting for the sampler
4258 * @return S wrapping mode for the sampler
4262 * @return T wrapping mode for the sampler
4266 * @return anisotropy setting for the sampler
4271 * Retrieve a sampler with min and mag set to nearest and wrap modes set to
4274 * @param rs Context to which the sampler will belong.
4276 * @return Sampler
4278 static sp<const Sampler> CLAMP_NEAREST(sp<RS> rs);
4280 * Retrieve a sampler with min and mag set to linear and wrap modes set to
4283 * @param rs Context to which the sampler will belong.
4285 * @return Sampler
4287 static sp<const Sampler> CLAMP_LINEAR(sp<RS> rs);
4289 * Retrieve a sampler with mag set to linear, min linear mipmap linear, and
4292 * @param rs Context to which the sampler will belong.
4294 * @return Sampler
4296 static sp<const Sampler> CLAMP_LINEAR_MIP_LINEAR(sp<RS> rs);
4298 * Retrieve a sampler with min and mag set to nearest and wrap modes set to
4301 * @param rs Context to which the sampler will belong.
4303 * @return Sampler
4305 static sp<const Sampler> WRAP_NEAREST(sp<RS> rs);
4307 * Retrieve a sampler with min and mag set to linear and wrap modes set to
4310 * @param rs Context to which the sampler will belong.
4312 * @return Sampler
4314 static sp<const Sampler> WRAP_LINEAR(sp<RS> rs);
4316 * Retrieve a sampler with mag set to linear, min linear mipmap linear, and
4319 * @param rs Context to which the sampler will belong.
4321 * @return Sampler
4323 static sp<const Sampler> WRAP_LINEAR_MIP_LINEAR(sp<RS> rs);
4325 * Retrieve a sampler with min and mag set to nearest and wrap modes set to
4328 * @param rs Context to which the sampler will belong.
4330 * @return Sampler
4332 static sp<const Sampler> MIRRORED_REPEAT_NEAREST(sp<RS> rs);
4334 * Retrieve a sampler with min and mag set to linear and wrap modes set to
4337 * @param rs Context to which the sampler will belong.
4339 * @return Sampler
4341 static sp<const Sampler> MIRRORED_REPEAT_LINEAR(sp<RS> rs);
4343 * Retrieve a sampler with min and mag set to linear and wrap modes set to
4346 * @param rs Context to which the sampler will belong.
4348 * @return Sampler
4350 static sp<const Sampler> MIRRORED_REPEAT_LINEAR_MIP_LINEAR(sp<RS> rs);