blob: 78a984839b73d38c3c791a44b451d57346219289 [file] [log] [blame]
Jason Sams41371c72015-03-26 20:46:57 +00001/*
2 * Copyright (C) 2015 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
17// Don't edit this file! It is auto-generated by frameworks/rs/api/gen_runtime.
18
19/*
20 * rs_program.rsh: Program object routines
21 *
22 */
23#ifndef RENDERSCRIPT_RS_PROGRAM_RSH
24#define RENDERSCRIPT_RS_PROGRAM_RSH
25
26/*
27 * Get program raster cull mode
28 *
29 * Parameters:
30 * pr program raster to query
31 */
32#if (defined(RS_VERSION) && (RS_VERSION >= 16))
33extern rs_cull_mode __attribute__((overloadable))
34 rsgProgramRasterGetCullMode(rs_program_raster pr);
35#endif
36
37/*
38 * Get program raster point sprite state
39 *
40 * Parameters:
41 * pr program raster to query
42 */
43#if (defined(RS_VERSION) && (RS_VERSION >= 16))
44extern bool __attribute__((overloadable))
45 rsgProgramRasterIsPointSpriteEnabled(rs_program_raster pr);
46#endif
47
48/*
49 * Get program store blend destination function
50 *
51 * Parameters:
52 * ps program store to query
53 */
54#if (defined(RS_VERSION) && (RS_VERSION >= 16))
55extern rs_blend_dst_func __attribute__((overloadable))
56 rsgProgramStoreGetBlendDstFunc(rs_program_store ps);
57#endif
58
59/*
60 * Get program store blend source function
61 *
62 * Parameters:
63 * ps program store to query
64 */
65#if (defined(RS_VERSION) && (RS_VERSION >= 16))
66extern rs_blend_src_func __attribute__((overloadable))
67 rsgProgramStoreGetBlendSrcFunc(rs_program_store ps);
68#endif
69
70/*
71 * Get program store depth function
72 *
73 * Parameters:
74 * ps program store to query
75 */
76#if (defined(RS_VERSION) && (RS_VERSION >= 16))
77extern rs_depth_func __attribute__((overloadable))
78 rsgProgramStoreGetDepthFunc(rs_program_store ps);
79#endif
80
81/*
82 * Get program store alpha component color mask
83 *
84 * Parameters:
85 * ps program store to query
86 */
87#if (defined(RS_VERSION) && (RS_VERSION >= 16))
88extern bool __attribute__((overloadable))
89 rsgProgramStoreIsColorMaskAlphaEnabled(rs_program_store ps);
90#endif
91
92/*
93 * Get program store blur component color mask
94 *
95 * Parameters:
96 * ps program store to query
97 */
98#if (defined(RS_VERSION) && (RS_VERSION >= 16))
99extern bool __attribute__((overloadable))
100 rsgProgramStoreIsColorMaskBlueEnabled(rs_program_store ps);
101#endif
102
103/*
104 * Get program store green component color mask
105 *
106 * Parameters:
107 * ps program store to query
108 */
109#if (defined(RS_VERSION) && (RS_VERSION >= 16))
110extern bool __attribute__((overloadable))
111 rsgProgramStoreIsColorMaskGreenEnabled(rs_program_store ps);
112#endif
113
114/*
115 * Get program store red component color mask
116 *
117 * Parameters:
118 * ps program store to query
119 */
120#if (defined(RS_VERSION) && (RS_VERSION >= 16))
121extern bool __attribute__((overloadable))
122 rsgProgramStoreIsColorMaskRedEnabled(rs_program_store ps);
123#endif
124
125/*
126 * Get program store depth mask
127 *
128 * Parameters:
129 * ps program store to query
130 */
131#if (defined(RS_VERSION) && (RS_VERSION >= 16))
132extern bool __attribute__((overloadable))
133 rsgProgramStoreIsDepthMaskEnabled(rs_program_store ps);
134#endif
135
136/*
137 * Get program store dither state
138 *
139 * Parameters:
140 * ps program store to query
141 */
142#if (defined(RS_VERSION) && (RS_VERSION >= 16))
143extern bool __attribute__((overloadable))
144 rsgProgramStoreIsDitherEnabled(rs_program_store ps);
145#endif
146
147#endif // RENDERSCRIPT_RS_PROGRAM_RSH