1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> 5 6 <title>/usr/local/google/home/srhines/android_trees/jb-mr2-dev/frameworks/rs/scriptc/rs_program.rsh File Reference</title> 7 <link href="tabs.css" rel="stylesheet" type="text/css"/> 8 <link href="doxygen.css" rel="stylesheet" type="text/css" /> 9 10 11 12 </head> 13 <body> 14 <div id="top"><!-- do not remove this div! --> 15 16 17 <!-- Generated by Doxygen 1.7.5.1 --> 18 <div id="navrow1" class="tabs"> 19 <ul class="tablist"> 20 <li><a href="index.html"><span>Overview</span></a></li> 21 <li class="current"><a href="globals.html"><span>Globals</span></a></li> 22 <li><a href="annotated.html"><span>Structs</span></a></li> 23 </ul> 24 </div> 25 </div> 26 <div class="header"> 27 <div class="summary"> 28 <a href="#func-members">Functions</a> </div> 29 <div class="headertitle"> 30 <div class="title">/usr/local/google/home/srhines/android_trees/jb-mr2-dev/frameworks/rs/scriptc/rs_program.rsh File Reference</div> </div> 31 </div> 32 <div class="contents"> 33 <table class="memberdecls"> 34 <tr><td colspan="2"><h2><a name="func-members"></a> 35 Functions</h2></td></tr> 36 <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="rs__types_8rsh.html#a03e91ad8ebfc283ba20f7443dea4a4bf">rs_depth_func</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="rs__program_8rsh.html#a6a9c06c54d230f61edc0667a091aac77">rsgProgramStoreGetDepthFunc</a> (<a class="el" href="structrs__program__store.html">rs_program_store</a> ps)</td></tr> 37 <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="rs__program_8rsh.html#afa27fa6103c9e29f5e098e2d99663f0b">rsgProgramStoreIsDepthMaskEnabled</a> (<a class="el" href="structrs__program__store.html">rs_program_store</a> ps)</td></tr> 38 <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="rs__program_8rsh.html#a4a50df1d2495567536dd6f394d38ee5d">rsgProgramStoreIsColorMaskRedEnabled</a> (<a class="el" href="structrs__program__store.html">rs_program_store</a> ps)</td></tr> 39 <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="rs__program_8rsh.html#a1a57f706bc42ce49b545021c8403964c">rsgProgramStoreIsColorMaskGreenEnabled</a> (<a class="el" href="structrs__program__store.html">rs_program_store</a> ps)</td></tr> 40 <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="rs__program_8rsh.html#a279ad1b4611aca268053337f6719a22c">rsgProgramStoreIsColorMaskBlueEnabled</a> (<a class="el" href="structrs__program__store.html">rs_program_store</a> ps)</td></tr> 41 <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="rs__program_8rsh.html#ab038edb7399044a3ea96ebb17d7b6601">rsgProgramStoreIsColorMaskAlphaEnabled</a> (<a class="el" href="structrs__program__store.html">rs_program_store</a> ps)</td></tr> 42 <tr><td class="memItemLeft" align="right" valign="top">rs_blend_src_func </td><td class="memItemRight" valign="bottom"><a class="el" href="rs__program_8rsh.html#afb38256c5804cdb9b410419c43ce03ab">rsgProgramStoreGetBlendSrcFunc</a> (<a class="el" href="structrs__program__store.html">rs_program_store</a> ps)</td></tr> 43 <tr><td class="memItemLeft" align="right" valign="top">rs_blend_dst_func </td><td class="memItemRight" valign="bottom"><a class="el" href="rs__program_8rsh.html#a0ad38d595e35712f24c384ef20b69025">rsgProgramStoreGetBlendDstFunc</a> (<a class="el" href="structrs__program__store.html">rs_program_store</a> ps)</td></tr> 44 <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="rs__program_8rsh.html#abe7c55547a72dd291e0996de050bb749">rsgProgramStoreIsDitherEnabled</a> (<a class="el" href="structrs__program__store.html">rs_program_store</a> ps)</td></tr> 45 <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="rs__program_8rsh.html#a86aeccd846ed2cd2c9498ab57e2535f3">rsgProgramRasterIsPointSpriteEnabled</a> (<a class="el" href="structrs__program__raster.html">rs_program_raster</a> pr)</td></tr> 46 <tr><td class="memItemLeft" align="right" valign="top">rs_cull_mode </td><td class="memItemRight" valign="bottom"><a class="el" href="rs__program_8rsh.html#a633d6dbdec98ef89c2b70c92ea707502">rsgProgramRasterGetCullMode</a> (<a class="el" href="structrs__program__raster.html">rs_program_raster</a> pr)</td></tr> 47 </table> 48 <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> 49 <div class="textblock"><p>Program object routines. </p> 50 51 <p>Definition in file <a class="el" href="rs__program_8rsh_source.html">rs_program.rsh</a>.</p> 52 </div><hr/><h2>Function Documentation</h2> 53 <a class="anchor" id="a633d6dbdec98ef89c2b70c92ea707502"></a><!-- doxytag: member="rs_program.rsh::rsgProgramRasterGetCullMode" ref="a633d6dbdec98ef89c2b70c92ea707502" args="(rs_program_raster pr)" --> 54 <div class="memitem"> 55 <div class="memproto"> 56 <table class="memname"> 57 <tr> 58 <td class="memname">rs_cull_mode rsgProgramRasterGetCullMode </td> 59 <td>(</td> 60 <td class="paramtype"><a class="el" href="structrs__program__raster.html">rs_program_raster</a> </td> 61 <td class="paramname"><em>pr</em></td><td>)</td> 62 <td></td> 63 </tr> 64 </table> 65 </div> 66 <div class="memdoc"> 67 <p>Get program raster cull mode</p> 68 <dl><dt><b>Parameters:</b></dt><dd> 69 <table class="params"> 70 <tr><td class="paramname">pr</td><td>program raster to query </td></tr> 71 </table> 72 </dd> 73 </dl> 74 75 </div> 76 </div> 77 <a class="anchor" id="a86aeccd846ed2cd2c9498ab57e2535f3"></a><!-- doxytag: member="rs_program.rsh::rsgProgramRasterIsPointSpriteEnabled" ref="a86aeccd846ed2cd2c9498ab57e2535f3" args="(rs_program_raster pr)" --> 78 <div class="memitem"> 79 <div class="memproto"> 80 <table class="memname"> 81 <tr> 82 <td class="memname">bool rsgProgramRasterIsPointSpriteEnabled </td> 83 <td>(</td> 84 <td class="paramtype"><a class="el" href="structrs__program__raster.html">rs_program_raster</a> </td> 85 <td class="paramname"><em>pr</em></td><td>)</td> 86 <td></td> 87 </tr> 88 </table> 89 </div> 90 <div class="memdoc"> 91 <p>Get program raster point sprite state</p> 92 <dl><dt><b>Parameters:</b></dt><dd> 93 <table class="params"> 94 <tr><td class="paramname">pr</td><td>program raster to query </td></tr> 95 </table> 96 </dd> 97 </dl> 98 99 </div> 100 </div> 101 <a class="anchor" id="a0ad38d595e35712f24c384ef20b69025"></a><!-- doxytag: member="rs_program.rsh::rsgProgramStoreGetBlendDstFunc" ref="a0ad38d595e35712f24c384ef20b69025" args="(rs_program_store ps)" --> 102 <div class="memitem"> 103 <div class="memproto"> 104 <table class="memname"> 105 <tr> 106 <td class="memname">rs_blend_dst_func rsgProgramStoreGetBlendDstFunc </td> 107 <td>(</td> 108 <td class="paramtype"><a class="el" href="structrs__program__store.html">rs_program_store</a> </td> 109 <td class="paramname"><em>ps</em></td><td>)</td> 110 <td></td> 111 </tr> 112 </table> 113 </div> 114 <div class="memdoc"> 115 <p>Get program store blend destination function</p> 116 <dl><dt><b>Parameters:</b></dt><dd> 117 <table class="params"> 118 <tr><td class="paramname">ps</td><td>program store to query </td></tr> 119 </table> 120 </dd> 121 </dl> 122 123 </div> 124 </div> 125 <a class="anchor" id="afb38256c5804cdb9b410419c43ce03ab"></a><!-- doxytag: member="rs_program.rsh::rsgProgramStoreGetBlendSrcFunc" ref="afb38256c5804cdb9b410419c43ce03ab" args="(rs_program_store ps)" --> 126 <div class="memitem"> 127 <div class="memproto"> 128 <table class="memname"> 129 <tr> 130 <td class="memname">rs_blend_src_func rsgProgramStoreGetBlendSrcFunc </td> 131 <td>(</td> 132 <td class="paramtype"><a class="el" href="structrs__program__store.html">rs_program_store</a> </td> 133 <td class="paramname"><em>ps</em></td><td>)</td> 134 <td></td> 135 </tr> 136 </table> 137 </div> 138 <div class="memdoc"> 139 <p>Get program store blend source function</p> 140 <dl><dt><b>Parameters:</b></dt><dd> 141 <table class="params"> 142 <tr><td class="paramname">ps</td><td>program store to query </td></tr> 143 </table> 144 </dd> 145 </dl> 146 147 </div> 148 </div> 149 <a class="anchor" id="a6a9c06c54d230f61edc0667a091aac77"></a><!-- doxytag: member="rs_program.rsh::rsgProgramStoreGetDepthFunc" ref="a6a9c06c54d230f61edc0667a091aac77" args="(rs_program_store ps)" --> 150 <div class="memitem"> 151 <div class="memproto"> 152 <table class="memname"> 153 <tr> 154 <td class="memname"><a class="el" href="rs__types_8rsh.html#a03e91ad8ebfc283ba20f7443dea4a4bf">rs_depth_func</a> rsgProgramStoreGetDepthFunc </td> 155 <td>(</td> 156 <td class="paramtype"><a class="el" href="structrs__program__store.html">rs_program_store</a> </td> 157 <td class="paramname"><em>ps</em></td><td>)</td> 158 <td></td> 159 </tr> 160 </table> 161 </div> 162 <div class="memdoc"> 163 <p>Get program store depth function</p> 164 <dl><dt><b>Parameters:</b></dt><dd> 165 <table class="params"> 166 <tr><td class="paramname">ps</td><td>program store to query </td></tr> 167 </table> 168 </dd> 169 </dl> 170 171 </div> 172 </div> 173 <a class="anchor" id="ab038edb7399044a3ea96ebb17d7b6601"></a><!-- doxytag: member="rs_program.rsh::rsgProgramStoreIsColorMaskAlphaEnabled" ref="ab038edb7399044a3ea96ebb17d7b6601" args="(rs_program_store ps)" --> 174 <div class="memitem"> 175 <div class="memproto"> 176 <table class="memname"> 177 <tr> 178 <td class="memname">bool rsgProgramStoreIsColorMaskAlphaEnabled </td> 179 <td>(</td> 180 <td class="paramtype"><a class="el" href="structrs__program__store.html">rs_program_store</a> </td> 181 <td class="paramname"><em>ps</em></td><td>)</td> 182 <td></td> 183 </tr> 184 </table> 185 </div> 186 <div class="memdoc"> 187 <p>Get program store alpha component color mask</p> 188 <dl><dt><b>Parameters:</b></dt><dd> 189 <table class="params"> 190 <tr><td class="paramname">ps</td><td>program store to query </td></tr> 191 </table> 192 </dd> 193 </dl> 194 195 </div> 196 </div> 197 <a class="anchor" id="a279ad1b4611aca268053337f6719a22c"></a><!-- doxytag: member="rs_program.rsh::rsgProgramStoreIsColorMaskBlueEnabled" ref="a279ad1b4611aca268053337f6719a22c" args="(rs_program_store ps)" --> 198 <div class="memitem"> 199 <div class="memproto"> 200 <table class="memname"> 201 <tr> 202 <td class="memname">bool rsgProgramStoreIsColorMaskBlueEnabled </td> 203 <td>(</td> 204 <td class="paramtype"><a class="el" href="structrs__program__store.html">rs_program_store</a> </td> 205 <td class="paramname"><em>ps</em></td><td>)</td> 206 <td></td> 207 </tr> 208 </table> 209 </div> 210 <div class="memdoc"> 211 <p>Get program store blur component color mask</p> 212 <dl><dt><b>Parameters:</b></dt><dd> 213 <table class="params"> 214 <tr><td class="paramname">ps</td><td>program store to query </td></tr> 215 </table> 216 </dd> 217 </dl> 218 219 </div> 220 </div> 221 <a class="anchor" id="a1a57f706bc42ce49b545021c8403964c"></a><!-- doxytag: member="rs_program.rsh::rsgProgramStoreIsColorMaskGreenEnabled" ref="a1a57f706bc42ce49b545021c8403964c" args="(rs_program_store ps)" --> 222 <div class="memitem"> 223 <div class="memproto"> 224 <table class="memname"> 225 <tr> 226 <td class="memname">bool rsgProgramStoreIsColorMaskGreenEnabled </td> 227 <td>(</td> 228 <td class="paramtype"><a class="el" href="structrs__program__store.html">rs_program_store</a> </td> 229 <td class="paramname"><em>ps</em></td><td>)</td> 230 <td></td> 231 </tr> 232 </table> 233 </div> 234 <div class="memdoc"> 235 <p>Get program store green component color mask</p> 236 <dl><dt><b>Parameters:</b></dt><dd> 237 <table class="params"> 238 <tr><td class="paramname">ps</td><td>program store to query </td></tr> 239 </table> 240 </dd> 241 </dl> 242 243 </div> 244 </div> 245 <a class="anchor" id="a4a50df1d2495567536dd6f394d38ee5d"></a><!-- doxytag: member="rs_program.rsh::rsgProgramStoreIsColorMaskRedEnabled" ref="a4a50df1d2495567536dd6f394d38ee5d" args="(rs_program_store ps)" --> 246 <div class="memitem"> 247 <div class="memproto"> 248 <table class="memname"> 249 <tr> 250 <td class="memname">bool rsgProgramStoreIsColorMaskRedEnabled </td> 251 <td>(</td> 252 <td class="paramtype"><a class="el" href="structrs__program__store.html">rs_program_store</a> </td> 253 <td class="paramname"><em>ps</em></td><td>)</td> 254 <td></td> 255 </tr> 256 </table> 257 </div> 258 <div class="memdoc"> 259 <p>Get program store red component color mask</p> 260 <dl><dt><b>Parameters:</b></dt><dd> 261 <table class="params"> 262 <tr><td class="paramname">ps</td><td>program store to query </td></tr> 263 </table> 264 </dd> 265 </dl> 266 267 </div> 268 </div> 269 <a class="anchor" id="afa27fa6103c9e29f5e098e2d99663f0b"></a><!-- doxytag: member="rs_program.rsh::rsgProgramStoreIsDepthMaskEnabled" ref="afa27fa6103c9e29f5e098e2d99663f0b" args="(rs_program_store ps)" --> 270 <div class="memitem"> 271 <div class="memproto"> 272 <table class="memname"> 273 <tr> 274 <td class="memname">bool rsgProgramStoreIsDepthMaskEnabled </td> 275 <td>(</td> 276 <td class="paramtype"><a class="el" href="structrs__program__store.html">rs_program_store</a> </td> 277 <td class="paramname"><em>ps</em></td><td>)</td> 278 <td></td> 279 </tr> 280 </table> 281 </div> 282 <div class="memdoc"> 283 <p>Get program store depth mask</p> 284 <dl><dt><b>Parameters:</b></dt><dd> 285 <table class="params"> 286 <tr><td class="paramname">ps</td><td>program store to query </td></tr> 287 </table> 288 </dd> 289 </dl> 290 291 </div> 292 </div> 293 <a class="anchor" id="abe7c55547a72dd291e0996de050bb749"></a><!-- doxytag: member="rs_program.rsh::rsgProgramStoreIsDitherEnabled" ref="abe7c55547a72dd291e0996de050bb749" args="(rs_program_store ps)" --> 294 <div class="memitem"> 295 <div class="memproto"> 296 <table class="memname"> 297 <tr> 298 <td class="memname">bool rsgProgramStoreIsDitherEnabled </td> 299 <td>(</td> 300 <td class="paramtype"><a class="el" href="structrs__program__store.html">rs_program_store</a> </td> 301 <td class="paramname"><em>ps</em></td><td>)</td> 302 <td></td> 303 </tr> 304 </table> 305 </div> 306 <div class="memdoc"> 307 <p>Get program store dither state</p> 308 <dl><dt><b>Parameters:</b></dt><dd> 309 <table class="params"> 310 <tr><td class="paramname">ps</td><td>program store to query </td></tr> 311 </table> 312 </dd> 313 </dl> 314 315 </div> 316 </div> 317 </div> 318 319 </body> 320 </html> 321