Home | History | Annotate | Download | only in cpp

Lines Matching refs:Sampler

46 class Sampler;
214 sp<const Element> SAMPLER;
237 sp<const Sampler> CLAMP_NEAREST;
238 sp<const Sampler> CLAMP_LINEAR;
239 sp<const Sampler> CLAMP_LINEAR_MIP_LINEAR;
240 sp<const Sampler> WRAP_NEAREST;
241 sp<const Sampler> WRAP_LINEAR;
242 sp<const Sampler> WRAP_LINEAR_MIP_LINEAR;
243 sp<const Sampler> MIRRORED_REPEAT_NEAREST;
244 sp<const Sampler> MIRRORED_REPEAT_LINEAR;
245 sp<const Sampler> MIRRORED_REPEAT_LINEAR_MIP_LINEAR;
247 friend class Sampler;
281 * Sampler. A developer must synchronize across these different usages using
284 * used as the output of one kernel and as Sampler input in a later kernel, a
572 * Sampler. Note that Allocation objects with DataKind USER cannot be used as
573 * input for a Sampler. In general, Allocation objects that are intended for
574 * use with a Sampler should use bitmap-derived Elements such as
741 * Utility function for returning an Element containing a single Sampler.
745 static sp<const Element> SAMPLER(sp<RS> rs);
1860 * Sampler object that defines how Allocations can be read as textures
1864 * Any Allocation used with a Sampler must have been created with
1865 * RS_ALLOCATION_USAGE_GRAPHICS_TEXTURE; using a Sampler on an
1869 class Sampler : public BaseObj {
1871 Sampler(sp<RS> rs, void* id);
1881 * Creates a non-standard Sampler.
1889 static sp<Sampler> create(sp<RS> rs, RsSamplerValue min, RsSamplerValue mag, RsSamplerValue wrapS, RsSamplerValue wrapT, float anisotropy);
1892 * @return minification setting for the sampler
1896 * @return magnification setting for the sampler
1900 * @return S wrapping mode for the sampler
1904 * @return T wrapping mode for the sampler
1908 * @return anisotropy setting for the sampler
1913 * Retrieve a sampler with min and mag set to nearest and wrap modes set to
1916 * @param rs Context to which the sampler will belong.
1918 * @return Sampler
1920 sp<const Sampler> CLAMP_NEAREST(sp<RS> rs);
1922 * Retrieve a sampler with min and mag set to linear and wrap modes set to
1925 * @param rs Context to which the sampler will belong.
1927 * @return Sampler
1929 sp<const Sampler> CLAMP_LINEAR(sp<RS> rs);
1931 * Retrieve a sampler with mag set to linear, min linear mipmap linear, and
1934 * @param rs Context to which the sampler will belong.
1936 * @return Sampler
1938 sp<const Sampler> CLAMP_LINEAR_MIP_LINEAR(sp<RS> rs);
1940 * Retrieve a sampler with min and mag set to nearest and wrap modes set to
1943 * @param rs Context to which the sampler will belong.
1945 * @return Sampler
1947 sp<const Sampler> WRAP_NEAREST(sp<RS> rs);
1949 * Retrieve a sampler with min and mag set to linear and wrap modes set to
1952 * @param rs Context to which the sampler will belong.
1954 * @return Sampler
1956 sp<const Sampler> WRAP_LINEAR(sp<RS> rs);
1958 * Retrieve a sampler with mag set to linear, min linear mipmap linear, and
1961 * @param rs Context to which the sampler will belong.
1963 * @return Sampler
1965 sp<const Sampler> WRAP_LINEAR_MIP_LINEAR(sp<RS> rs);
1967 * Retrieve a sampler with min and mag set to nearest and wrap modes set to
1970 * @param rs Context to which the sampler will belong.
1972 * @return Sampler
1974 sp<const Sampler> MIRRORED_REPEAT_NEAREST(sp<RS> rs);
1976 * Retrieve a sampler with min and mag set to linear and wrap modes set to
1979 * @param rs Context to which the sampler will belong.
1981 * @return Sampler
1983 sp<const Sampler> MIRRORED_REPEAT_LINEAR(sp<RS> rs);
1985 * Retrieve a sampler with min and mag set to linear and wrap modes set to
1988 * @param rs Context to which the sampler will belong.
1990 * @return Sampler
1992 sp<const Sampler> MIRRORED_REPEAT_LINEAR_MIP_LINEAR(sp<RS> rs);