blob: c8948c77aa199104cb74966b34a954a5ac194877 [file] [log] [blame]
Alex Sakhartchouk14607a62012-03-21 09:58:15 -07001/*
2 * Copyright (C) 2012 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
Alex Sakhartchouk14607a62012-03-21 09:58:15 -070017/** @file rs_sampler.rsh
18 * \brief Sampler routines
19 *
20 *
21 */
22
23#ifndef __RS_SAMPLER_RSH__
24#define __RS_SAMPLER_RSH__
25
Alex Sakhartchouk3c0c6062012-03-22 16:59:38 -070026#if (defined(RS_VERSION) && (RS_VERSION >= 16))
27
Alex Sakhartchouk14607a62012-03-21 09:58:15 -070028/**
29 * @hide
30 * Get sampler minification value
31 *
32 * @param pr
33 */
34extern rs_sampler_value __attribute__((overloadable))
35 rsSamplerGetMinification(rs_sampler s);
36
37/**
38 * @hide
39 * Get sampler magnification value
40 *
41 * @param pr
42 */
43extern rs_sampler_value __attribute__((overloadable))
44 rsSamplerGetMagnification(rs_sampler s);
45
46/**
47 * @hide
48 * Get sampler wrap S value
49 *
50 * @param pr
51 */
52extern rs_sampler_value __attribute__((overloadable))
53 rsSamplerGetWrapS(rs_sampler s);
54
55/**
56 * @hide
57 * Get sampler wrap T value
58 *
59 * @param pr
60 */
61extern rs_sampler_value __attribute__((overloadable))
62 rsSamplerGetWrapT(rs_sampler s);
63
64/**
65 * @hide
66 * Get sampler anisotropy
67 *
68 * @param pr
69 */
70extern float __attribute__((overloadable))
71 rsSamplerGetAnisotropy(rs_sampler s);
72
Alex Sakhartchouk3c0c6062012-03-22 16:59:38 -070073#endif // (defined(RS_VERSION) && (RS_VERSION >= 16))
74
Alex Sakhartchouk14607a62012-03-21 09:58:15 -070075#endif // __RS_SAMPLER_RSH__
76