Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 1 | # |
| 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 | header: |
Jean-Luc Brouillet | 20b27d6 | 2015-04-03 14:39:53 -0700 | [diff] [blame] | 18 | summary: Graphics Functions and Types |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 19 | description: |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 20 | The graphics subsystem of RenderScript was removed at API level 23. |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 21 | include: |
| 22 | #ifdef __LP64__ |
| 23 | // TODO We need to fix some of the builds before enabling this error: |
| 24 | // #error "RenderScript graphics is deprecated and not supported in 64bit mode." |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 25 | #endif |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 26 | |
| 27 | // TODO we seem to assume order for the other headers too. |
| 28 | #include "rs_object_types.rsh" |
| 29 | end: |
| 30 | |
| 31 | type: rs_blend_src_func |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 32 | version: 16 22 |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 33 | size: 32 |
| 34 | enum: |
Jean-Luc Brouillet | 20b27d6 | 2015-04-03 14:39:53 -0700 | [diff] [blame] | 35 | value: RS_BLEND_SRC_ZERO = 0 |
| 36 | value: RS_BLEND_SRC_ONE = 1 |
| 37 | value: RS_BLEND_SRC_DST_COLOR = 2 |
| 38 | value: RS_BLEND_SRC_ONE_MINUS_DST_COLOR = 3 |
| 39 | value: RS_BLEND_SRC_SRC_ALPHA = 4 |
| 40 | value: RS_BLEND_SRC_ONE_MINUS_SRC_ALPHA = 5 |
| 41 | value: RS_BLEND_SRC_DST_ALPHA = 6 |
| 42 | value: RS_BLEND_SRC_ONE_MINUS_DST_ALPHA = 7 |
| 43 | value: RS_BLEND_SRC_SRC_ALPHA_SATURATE = 8 |
| 44 | value: RS_BLEND_SRC_INVALID = 100 |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 45 | deprecated: 22 |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 46 | summary: Blend source function |
| 47 | description: |
| 48 | end: |
| 49 | |
| 50 | type: rs_blend_dst_func |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 51 | version: 16 22 |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 52 | size: 32 |
| 53 | enum: |
Jean-Luc Brouillet | 20b27d6 | 2015-04-03 14:39:53 -0700 | [diff] [blame] | 54 | value: RS_BLEND_DST_ZERO = 0 |
| 55 | value: RS_BLEND_DST_ONE = 1 |
| 56 | value: RS_BLEND_DST_SRC_COLOR = 2 |
| 57 | value: RS_BLEND_DST_ONE_MINUS_SRC_COLOR = 3 |
| 58 | value: RS_BLEND_DST_SRC_ALPHA = 4 |
| 59 | value: RS_BLEND_DST_ONE_MINUS_SRC_ALPHA = 5 |
| 60 | value: RS_BLEND_DST_DST_ALPHA = 6 |
| 61 | value: RS_BLEND_DST_ONE_MINUS_DST_ALPHA = 7 |
| 62 | value: RS_BLEND_DST_INVALID = 100 |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 63 | deprecated: 22 |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 64 | summary: Blend destination function |
| 65 | description: |
| 66 | end: |
| 67 | |
| 68 | type: rs_cull_mode |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 69 | version: 16 22 |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 70 | size: 32 |
| 71 | enum: |
Jean-Luc Brouillet | 20b27d6 | 2015-04-03 14:39:53 -0700 | [diff] [blame] | 72 | value: RS_CULL_BACK = 0 |
| 73 | value: RS_CULL_FRONT = 1 |
| 74 | value: RS_CULL_NONE = 2 |
| 75 | value: RS_CULL_INVALID = 100 |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 76 | deprecated: 22 |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 77 | summary: Culling mode |
| 78 | description: |
| 79 | end: |
| 80 | |
| 81 | type: rs_depth_func |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 82 | version: 16 22 |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 83 | size: 32 |
| 84 | enum: |
Jean-Luc Brouillet | 20b27d6 | 2015-04-03 14:39:53 -0700 | [diff] [blame] | 85 | value: RS_DEPTH_FUNC_ALWAYS = 0, "Always drawn" |
| 86 | value: RS_DEPTH_FUNC_LESS = 1, "Drawn if the incoming depth value is less than that in the depth buffer" |
| 87 | value: RS_DEPTH_FUNC_LEQUAL = 2, "Drawn if the incoming depth value is less or equal to that in the depth buffer" |
| 88 | value: RS_DEPTH_FUNC_GREATER = 3, "Drawn if the incoming depth value is greater than that in the depth buffer" |
| 89 | value: RS_DEPTH_FUNC_GEQUAL = 4, "Drawn if the incoming depth value is greater or equal to that in the depth buffer" |
| 90 | value: RS_DEPTH_FUNC_EQUAL = 5, "Drawn if the incoming depth value is equal to that in the depth buffer" |
| 91 | value: RS_DEPTH_FUNC_NOTEQUAL = 6, "Drawn if the incoming depth value is not equal to that in the depth buffer" |
| 92 | value: RS_DEPTH_FUNC_INVALID = 100, "Invalid depth function" |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 93 | deprecated: 22 |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 94 | summary: Depth function |
| 95 | description: |
| 96 | Specifies conditional drawing depending on the comparison of the incoming |
| 97 | depth to that found in the depth buffer. |
| 98 | end: |
| 99 | |
| 100 | type: rs_primitive |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 101 | version: 16 22 |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 102 | size: 32 |
| 103 | enum: |
| 104 | value: RS_PRIMITIVE_POINT = 0, "Vertex data will be rendered as a series of points" |
| 105 | value: RS_PRIMITIVE_LINE = 1, "Vertex pairs will be rendered as lines" |
| 106 | value: RS_PRIMITIVE_LINE_STRIP = 2, "Vertex data will be rendered as a connected line strip" |
| 107 | value: RS_PRIMITIVE_TRIANGLE = 3, "Vertices will be rendered as individual triangles" |
| 108 | value: RS_PRIMITIVE_TRIANGLE_STRIP = 4, "Vertices will be rendered as a connected triangle strip defined by the first three vertices with each additional triangle defined by a new vertex" |
| 109 | value: RS_PRIMITIVE_TRIANGLE_FAN = 5, "Vertices will be rendered as a sequence of triangles that all share first vertex as the origin" |
| 110 | value: RS_PRIMITIVE_INVALID = 100, "Invalid primitive" |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 111 | deprecated: 22 |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 112 | summary: How to intepret mesh vertex data |
| 113 | description: |
| 114 | Describes the way mesh vertex data is interpreted when rendering |
| 115 | end: |
| 116 | |
| 117 | type: rs_font |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 118 | version: 9 22 |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 119 | size: 32 |
Stephen Hines | ca51c78 | 2015-08-25 23:43:34 -0700 | [diff] [blame^] | 120 | rs_object: |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 121 | deprecated: 22 |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 122 | summary: Handle to a Font |
| 123 | description: |
| 124 | Opaque handle to a RenderScript font object. |
| 125 | See: android.renderscript.Font |
| 126 | end: |
| 127 | |
| 128 | |
| 129 | type: rs_mesh |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 130 | version: 9 22 |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 131 | size: 32 |
Stephen Hines | ca51c78 | 2015-08-25 23:43:34 -0700 | [diff] [blame^] | 132 | rs_object: |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 133 | deprecated: 22 |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 134 | summary: Handle to a Mesh |
| 135 | description: |
| 136 | Opaque handle to a RenderScript mesh object. |
| 137 | See: android.renderscript.Mesh |
| 138 | end: |
| 139 | |
| 140 | type: rs_program_fragment |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 141 | version: 9 22 |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 142 | size: 32 |
Stephen Hines | ca51c78 | 2015-08-25 23:43:34 -0700 | [diff] [blame^] | 143 | rs_object: |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 144 | deprecated: 22 |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 145 | summary: Handle to a ProgramFragment |
| 146 | description: |
| 147 | Opaque handle to a RenderScript ProgramFragment object. |
| 148 | See: android.renderscript.ProgramFragment |
| 149 | end: |
| 150 | |
| 151 | type: rs_program_vertex |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 152 | version: 9 22 |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 153 | size: 32 |
Stephen Hines | ca51c78 | 2015-08-25 23:43:34 -0700 | [diff] [blame^] | 154 | rs_object: |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 155 | deprecated: 22 |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 156 | summary: Handle to a ProgramVertex |
| 157 | description: |
| 158 | Opaque handle to a RenderScript ProgramVertex object. |
| 159 | See: android.renderscript.ProgramVertex |
| 160 | end: |
| 161 | |
| 162 | type: rs_program_raster |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 163 | version: 9 22 |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 164 | size: 32 |
Stephen Hines | ca51c78 | 2015-08-25 23:43:34 -0700 | [diff] [blame^] | 165 | rs_object: |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 166 | deprecated: 22 |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 167 | summary: Handle to a ProgramRaster |
| 168 | description: |
| 169 | Opaque handle to a RenderScript ProgramRaster object. |
| 170 | See: android.renderscript.ProgramRaster |
| 171 | end: |
| 172 | |
| 173 | type: rs_program_store |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 174 | version: 9 22 |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 175 | size: 32 |
Stephen Hines | ca51c78 | 2015-08-25 23:43:34 -0700 | [diff] [blame^] | 176 | rs_object: |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 177 | deprecated: 22 |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 178 | summary: Handle to a ProgramStore |
| 179 | description: |
| 180 | Opaque handle to a RenderScript ProgramStore object. |
| 181 | See: android.renderscript.ProgramStore |
| 182 | end: |
| 183 | |
| 184 | function: rsClearObject |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 185 | version: 9 22 |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 186 | size: 32 |
| 187 | t: rs_mesh, rs_program_fragment, rs_program_vertex, rs_program_raster, rs_program_store, rs_font |
| 188 | ret: void |
| 189 | arg: #1* dst |
| 190 | test: none |
| 191 | end: |
| 192 | |
| 193 | function: rsIsObject |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 194 | version: 9 22 |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 195 | size: 32 |
| 196 | t: rs_mesh, rs_program_fragment, rs_program_vertex, rs_program_raster, rs_program_store, rs_font |
| 197 | ret: bool |
| 198 | arg: #1 v |
| 199 | test: none |
| 200 | end: |
| 201 | |
| 202 | function: rsSetObject |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 203 | version: 9 22 |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 204 | size: 32 |
| 205 | t: rs_mesh, rs_program_fragment, rs_program_vertex, rs_program_raster, rs_program_store, rs_font |
| 206 | ret: void |
| 207 | arg: #1* dst |
| 208 | arg: #1 src |
| 209 | test: none |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 210 | end: |
| 211 | |
| 212 | function: rsgAllocationSyncAll |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 213 | version: 9 22 |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 214 | size: 32 |
| 215 | ret: void |
| 216 | arg: rs_allocation alloc |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 217 | deprecated: 22 |
Jean-Luc Brouillet | 20b27d6 | 2015-04-03 14:39:53 -0700 | [diff] [blame] | 218 | summary: Sync the contents of an allocation |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 219 | description: |
| 220 | Sync the contents of an allocation. |
| 221 | |
| 222 | If the source is specified, sync from memory space specified by source. |
| 223 | |
| 224 | If the source is not specified, sync from its SCRIPT memory space to its HW |
| 225 | memory spaces. |
| 226 | test: none |
| 227 | end: |
| 228 | |
| 229 | function: rsgAllocationSyncAll |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 230 | version: 14 22 |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 231 | size: 32 |
| 232 | ret: void |
| 233 | arg: rs_allocation alloc |
| 234 | arg: rs_allocation_usage_type source |
| 235 | test: none |
| 236 | end: |
| 237 | |
| 238 | function: rsgBindColorTarget |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 239 | version: 14 22 |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 240 | size: 32 |
| 241 | ret: void |
| 242 | arg: rs_allocation colorTarget |
| 243 | arg: uint slot |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 244 | deprecated: 22 |
Jean-Luc Brouillet | 20b27d6 | 2015-04-03 14:39:53 -0700 | [diff] [blame] | 245 | summary: Set the color target |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 246 | description: |
| 247 | Set the color target used for all subsequent rendering calls |
| 248 | test: none |
| 249 | end: |
| 250 | |
| 251 | function: rsgBindConstant |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 252 | version: 9 22 |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 253 | size: 32 |
| 254 | ret: void |
| 255 | arg: rs_program_fragment ps, "program fragment object" |
| 256 | arg: uint slot, "index of the constant buffer on the program" |
| 257 | arg: rs_allocation c, "constants to bind" |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 258 | deprecated: 22 |
Jean-Luc Brouillet | 20b27d6 | 2015-04-03 14:39:53 -0700 | [diff] [blame] | 259 | summary: Bind a constant allocation |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 260 | description: |
| 261 | Bind a new Allocation object to a ProgramFragment or ProgramVertex. |
| 262 | The Allocation must be a valid constant input for the Program. |
| 263 | test: none |
| 264 | end: |
| 265 | |
| 266 | function: rsgBindConstant |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 267 | version: 9 22 |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 268 | size: 32 |
| 269 | ret: void |
| 270 | arg: rs_program_vertex pv, "program vertex object" |
| 271 | arg: uint slot |
| 272 | arg: rs_allocation c |
| 273 | test: none |
| 274 | end: |
| 275 | |
| 276 | function: rsgBindDepthTarget |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 277 | version: 14 22 |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 278 | size: 32 |
| 279 | ret: void |
| 280 | arg: rs_allocation depthTarget |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 281 | deprecated: 22 |
Jean-Luc Brouillet | 20b27d6 | 2015-04-03 14:39:53 -0700 | [diff] [blame] | 282 | summary: Set the depth target |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 283 | description: |
| 284 | Set the depth target used for all subsequent rendering calls |
| 285 | test: none |
| 286 | end: |
| 287 | |
| 288 | function: rsgBindFont |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 289 | version: 9 22 |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 290 | size: 32 |
| 291 | ret: void |
| 292 | arg: rs_font font, "object to bind" |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 293 | deprecated: 22 |
Jean-Luc Brouillet | 20b27d6 | 2015-04-03 14:39:53 -0700 | [diff] [blame] | 294 | summary: Bind a font object |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 295 | description: |
| 296 | Binds the font object to be used for all subsequent font rendering calls |
| 297 | test: none |
| 298 | end: |
| 299 | |
| 300 | function: rsgBindProgramFragment |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 301 | version: 9 22 |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 302 | size: 32 |
| 303 | ret: void |
| 304 | arg: rs_program_fragment pf |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 305 | deprecated: 22 |
Jean-Luc Brouillet | 20b27d6 | 2015-04-03 14:39:53 -0700 | [diff] [blame] | 306 | summary: Bind a ProgramFragment |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 307 | description: |
| 308 | Bind a new ProgramFragment to the rendering context. |
| 309 | test: none |
| 310 | end: |
| 311 | |
| 312 | function: rsgBindProgramRaster |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 313 | version: 9 22 |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 314 | size: 32 |
| 315 | ret: void |
| 316 | arg: rs_program_raster pr |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 317 | deprecated: 22 |
Jean-Luc Brouillet | 20b27d6 | 2015-04-03 14:39:53 -0700 | [diff] [blame] | 318 | summary: Bind a ProgramRaster |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 319 | description: |
| 320 | Bind a new ProgramRaster to the rendering context. |
| 321 | test: none |
| 322 | end: |
| 323 | |
| 324 | function: rsgBindProgramStore |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 325 | version: 9 22 |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 326 | size: 32 |
| 327 | ret: void |
| 328 | arg: rs_program_store ps |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 329 | deprecated: 22 |
Jean-Luc Brouillet | 20b27d6 | 2015-04-03 14:39:53 -0700 | [diff] [blame] | 330 | summary: Bind a ProgramStore |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 331 | description: |
| 332 | Bind a new ProgramStore to the rendering context. |
| 333 | test: none |
| 334 | end: |
| 335 | |
| 336 | function: rsgBindProgramVertex |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 337 | version: 9 22 |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 338 | size: 32 |
| 339 | ret: void |
| 340 | arg: rs_program_vertex pv |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 341 | deprecated: 22 |
Jean-Luc Brouillet | 20b27d6 | 2015-04-03 14:39:53 -0700 | [diff] [blame] | 342 | summary: Bind a ProgramVertex |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 343 | description: |
| 344 | Bind a new ProgramVertex to the rendering context. |
| 345 | test: none |
| 346 | end: |
| 347 | |
| 348 | function: rsgBindSampler |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 349 | version: 9 22 |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 350 | size: 32 |
| 351 | ret: void |
| 352 | arg: rs_program_fragment fragment |
| 353 | arg: uint slot |
| 354 | arg: rs_sampler sampler |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 355 | deprecated: 22 |
Jean-Luc Brouillet | 20b27d6 | 2015-04-03 14:39:53 -0700 | [diff] [blame] | 356 | summary: Bind a sampler |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 357 | description: |
| 358 | Bind a new Sampler object to a ProgramFragment. The sampler will |
| 359 | operate on the texture bound at the matching slot. |
| 360 | test: none |
| 361 | end: |
| 362 | |
| 363 | function: rsgBindTexture |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 364 | version: 9 22 |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 365 | size: 32 |
| 366 | ret: void |
| 367 | arg: rs_program_fragment v |
| 368 | arg: uint slot |
| 369 | arg: rs_allocation alloc |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 370 | deprecated: 22 |
Jean-Luc Brouillet | 20b27d6 | 2015-04-03 14:39:53 -0700 | [diff] [blame] | 371 | summary: Bind a texture allocation |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 372 | description: |
| 373 | Bind a new Allocation object to a ProgramFragment. The |
| 374 | Allocation must be a valid texture for the Program. The sampling |
| 375 | of the texture will be controled by the Sampler bound at the |
| 376 | matching slot. |
| 377 | test: none |
| 378 | end: |
| 379 | |
| 380 | function: rsgClearAllRenderTargets |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 381 | version: 14 22 |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 382 | size: 32 |
| 383 | ret: void |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 384 | deprecated: 22 |
Jean-Luc Brouillet | 20b27d6 | 2015-04-03 14:39:53 -0700 | [diff] [blame] | 385 | summary: Clear all color and depth targets |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 386 | description: |
| 387 | Clear all color and depth targets and resume rendering into |
| 388 | the framebuffer |
| 389 | test: none |
| 390 | end: |
| 391 | |
| 392 | function: rsgClearColor |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 393 | version: 9 22 |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 394 | size: 32 |
| 395 | ret: void |
| 396 | arg: float r |
| 397 | arg: float g |
| 398 | arg: float b |
| 399 | arg: float a |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 400 | deprecated: 22 |
Jean-Luc Brouillet | 20b27d6 | 2015-04-03 14:39:53 -0700 | [diff] [blame] | 401 | summary: Clear the specified color from the surface |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 402 | description: |
| 403 | Clears the rendering surface to the specified color. |
| 404 | test: none |
| 405 | end: |
| 406 | |
| 407 | function: rsgClearColorTarget |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 408 | version: 14 22 |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 409 | size: 32 |
| 410 | ret: void |
| 411 | arg: uint slot |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 412 | deprecated: 22 |
Jean-Luc Brouillet | 20b27d6 | 2015-04-03 14:39:53 -0700 | [diff] [blame] | 413 | summary: Clear the color target |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 414 | description: |
| 415 | Clear the previously set color target |
| 416 | test: none |
| 417 | end: |
| 418 | |
| 419 | function: rsgClearDepth |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 420 | version: 9 22 |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 421 | size: 32 |
| 422 | ret: void |
| 423 | arg: float value |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 424 | deprecated: 22 |
Jean-Luc Brouillet | 20b27d6 | 2015-04-03 14:39:53 -0700 | [diff] [blame] | 425 | summary: Clear the depth surface |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 426 | description: |
| 427 | Clears the depth suface to the specified value. |
| 428 | test: none |
| 429 | end: |
| 430 | |
| 431 | function: rsgClearDepthTarget |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 432 | version: 14 22 |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 433 | size: 32 |
| 434 | ret: void |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 435 | deprecated: 22 |
Jean-Luc Brouillet | 20b27d6 | 2015-04-03 14:39:53 -0700 | [diff] [blame] | 436 | summary: Clear the depth target |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 437 | description: |
| 438 | Clear the previously set depth target |
| 439 | test: none |
| 440 | end: |
| 441 | |
| 442 | function: rsgDrawMesh |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 443 | version: 9 22 |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 444 | size: 32 |
| 445 | ret: void |
| 446 | arg: rs_mesh ism, "mesh object to render" |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 447 | deprecated: 22 |
Jean-Luc Brouillet | 20b27d6 | 2015-04-03 14:39:53 -0700 | [diff] [blame] | 448 | summary: Draw a mesh |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 449 | description: |
| 450 | Draw a mesh using the current context state. |
| 451 | |
| 452 | If primitiveIndex is specified, draw part of a mesh using the current context state. |
| 453 | |
| 454 | If start and len are also specified, draw specified index range of part of a mesh using the current context state. |
| 455 | |
| 456 | Otherwise the whole mesh is rendered. |
| 457 | test: none |
| 458 | end: |
| 459 | |
| 460 | function: rsgDrawMesh |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 461 | version: 9 22 |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 462 | size: 32 |
| 463 | ret: void |
| 464 | arg: rs_mesh ism |
| 465 | arg: uint primitiveIndex, "for meshes that contain multiple primitive groups this parameter specifies the index of the group to draw." |
| 466 | test: none |
| 467 | end: |
| 468 | |
| 469 | function: rsgDrawMesh |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 470 | version: 9 22 |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 471 | size: 32 |
| 472 | ret: void |
| 473 | arg: rs_mesh ism |
| 474 | arg: uint primitiveIndex |
| 475 | arg: uint start, "starting index in the range" |
| 476 | arg: uint len, "number of indices to draw" |
| 477 | test: none |
| 478 | end: |
| 479 | |
| 480 | function: rsgDrawQuad |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 481 | version: 9 22 |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 482 | size: 32 |
| 483 | ret: void |
| 484 | arg: float x1 |
| 485 | arg: float y1 |
| 486 | arg: float z1 |
| 487 | arg: float x2 |
| 488 | arg: float y2 |
| 489 | arg: float z2 |
| 490 | arg: float x3 |
| 491 | arg: float y3 |
| 492 | arg: float z3 |
| 493 | arg: float x4 |
| 494 | arg: float y4 |
| 495 | arg: float z4 |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 496 | deprecated: 22 |
Jean-Luc Brouillet | 20b27d6 | 2015-04-03 14:39:53 -0700 | [diff] [blame] | 497 | summary: Draw a quad |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 498 | description: |
| 499 | Low performance utility function for drawing a simple quad. Not intended for |
| 500 | drawing large quantities of geometry. |
| 501 | test: none |
| 502 | end: |
| 503 | |
| 504 | function: rsgDrawQuadTexCoords |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 505 | version: 9 22 |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 506 | size: 32 |
| 507 | ret: void |
| 508 | arg: float x1 |
| 509 | arg: float y1 |
| 510 | arg: float z1 |
| 511 | arg: float u1 |
| 512 | arg: float v1 |
| 513 | arg: float x2 |
| 514 | arg: float y2 |
| 515 | arg: float z2 |
| 516 | arg: float u2 |
| 517 | arg: float v2 |
| 518 | arg: float x3 |
| 519 | arg: float y3 |
| 520 | arg: float z3 |
| 521 | arg: float u3 |
| 522 | arg: float v3 |
| 523 | arg: float x4 |
| 524 | arg: float y4 |
| 525 | arg: float z4 |
| 526 | arg: float u4 |
| 527 | arg: float v4 |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 528 | deprecated: 22 |
Jean-Luc Brouillet | 20b27d6 | 2015-04-03 14:39:53 -0700 | [diff] [blame] | 529 | summary: Draw a textured quad |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 530 | description: |
| 531 | Low performance utility function for drawing a textured quad. Not intended |
| 532 | for drawing large quantities of geometry. |
| 533 | test: none |
| 534 | end: |
| 535 | |
| 536 | function: rsgDrawRect |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 537 | version: 9 22 |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 538 | size: 32 |
| 539 | ret: void |
| 540 | arg: float x1 |
| 541 | arg: float y1 |
| 542 | arg: float x2 |
| 543 | arg: float y2 |
| 544 | arg: float z |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 545 | deprecated: 22 |
Jean-Luc Brouillet | 20b27d6 | 2015-04-03 14:39:53 -0700 | [diff] [blame] | 546 | summary: Draw a rectangle |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 547 | description: |
| 548 | Low performance utility function for drawing a simple rectangle. Not |
| 549 | intended for drawing large quantities of geometry. |
| 550 | test: none |
| 551 | end: |
| 552 | |
| 553 | function: rsgDrawSpriteScreenspace |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 554 | version: 9 22 |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 555 | size: 32 |
| 556 | ret: void |
| 557 | arg: float x |
| 558 | arg: float y |
| 559 | arg: float z |
| 560 | arg: float w |
| 561 | arg: float h |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 562 | deprecated: 22 |
Jean-Luc Brouillet | 20b27d6 | 2015-04-03 14:39:53 -0700 | [diff] [blame] | 563 | summary: Draw rectangles in screenspace |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 564 | description: |
| 565 | Low performance function for drawing rectangles in screenspace. This |
| 566 | function uses the default passthough ProgramVertex. Any bound ProgramVertex |
| 567 | is ignored. This function has considerable overhead and should not be used |
| 568 | for drawing in shipping applications. |
| 569 | test: none |
| 570 | end: |
| 571 | |
| 572 | function: rsgDrawText |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 573 | version: 9 22 |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 574 | size: 32 |
| 575 | ret: void |
| 576 | arg: const char* text |
| 577 | arg: int x |
| 578 | arg: int y |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 579 | deprecated: 22 |
Jean-Luc Brouillet | 20b27d6 | 2015-04-03 14:39:53 -0700 | [diff] [blame] | 580 | summary: Draw a text string |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 581 | description: |
| 582 | Draws text given a string and location |
| 583 | test: none |
| 584 | end: |
| 585 | |
| 586 | function: rsgDrawText |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 587 | version: 9 22 |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 588 | size: 32 |
| 589 | ret: void |
| 590 | arg: rs_allocation alloc |
| 591 | arg: int x |
| 592 | arg: int y |
| 593 | test: none |
| 594 | end: |
| 595 | |
| 596 | function: rsgFinish |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 597 | version: 14 22 |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 598 | size: 32 |
| 599 | ret: uint |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 600 | deprecated: 22 |
Jean-Luc Brouillet | 20b27d6 | 2015-04-03 14:39:53 -0700 | [diff] [blame] | 601 | summary: End rendering commands |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 602 | description: |
| 603 | Force RenderScript to finish all rendering commands |
| 604 | test: none |
| 605 | end: |
| 606 | |
| 607 | function: rsgFontColor |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 608 | version: 9 22 |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 609 | size: 32 |
| 610 | ret: void |
| 611 | arg: float r, "red component" |
| 612 | arg: float g, "green component" |
| 613 | arg: float b, "blue component" |
| 614 | arg: float a, "alpha component" |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 615 | deprecated: 22 |
Jean-Luc Brouillet | 20b27d6 | 2015-04-03 14:39:53 -0700 | [diff] [blame] | 616 | summary: Set the font color |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 617 | description: |
| 618 | Sets the font color for all subsequent rendering calls |
| 619 | test: none |
| 620 | end: |
| 621 | |
| 622 | function: rsgGetHeight |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 623 | version: 9 22 |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 624 | size: 32 |
| 625 | ret: uint |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 626 | deprecated: 22 |
Jean-Luc Brouillet | 20b27d6 | 2015-04-03 14:39:53 -0700 | [diff] [blame] | 627 | summary: Get the surface height |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 628 | description: |
| 629 | Get the height of the current rendering surface. |
| 630 | test: none |
| 631 | end: |
| 632 | |
| 633 | function: rsgGetWidth |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 634 | version: 9 22 |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 635 | size: 32 |
| 636 | ret: uint |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 637 | deprecated: 22 |
Jean-Luc Brouillet | 20b27d6 | 2015-04-03 14:39:53 -0700 | [diff] [blame] | 638 | summary: Get the surface width |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 639 | description: |
| 640 | Get the width of the current rendering surface. |
| 641 | test: none |
| 642 | end: |
| 643 | |
| 644 | function: rsgMeasureText |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 645 | version: 9 22 |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 646 | size: 32 |
| 647 | ret: void |
| 648 | arg: const char* text |
| 649 | arg: int* left |
| 650 | arg: int* right |
| 651 | arg: int* top |
| 652 | arg: int* bottom |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 653 | deprecated: 22 |
Jean-Luc Brouillet | 20b27d6 | 2015-04-03 14:39:53 -0700 | [diff] [blame] | 654 | summary: Get the bounding box for a text string |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 655 | description: |
| 656 | Returns the bounding box of the text relative to (0, 0) |
| 657 | Any of left, right, top, bottom could be NULL |
| 658 | test: none |
| 659 | end: |
| 660 | |
| 661 | function: rsgMeasureText |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 662 | version: 9 22 |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 663 | size: 32 |
| 664 | ret: void |
| 665 | arg: rs_allocation alloc |
| 666 | arg: int* left |
| 667 | arg: int* right |
| 668 | arg: int* top |
| 669 | arg: int* bottom |
| 670 | test: none |
| 671 | end: |
| 672 | |
| 673 | function: rsgMeshComputeBoundingBox |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 674 | version: 9 22 |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 675 | size: 32 |
| 676 | ret: void |
| 677 | arg: rs_mesh mesh |
| 678 | arg: float* minX |
| 679 | arg: float* minY |
| 680 | arg: float* min |
| 681 | arg: float* maxX |
| 682 | arg: float* maxY |
| 683 | arg: float* maxZ |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 684 | deprecated: 22 |
Jean-Luc Brouillet | 20b27d6 | 2015-04-03 14:39:53 -0700 | [diff] [blame] | 685 | summary: Compute a bounding box |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 686 | description: |
| 687 | Computes an axis aligned bounding box of a mesh object |
| 688 | test: none |
| 689 | end: |
| 690 | |
| 691 | function: rsgMeshComputeBoundingBox |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 692 | version: 9 22 |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 693 | size: 32 |
| 694 | attrib: always_inline |
| 695 | ret: void |
| 696 | arg: rs_mesh mesh |
| 697 | arg: float3* bBoxMin |
| 698 | arg: float3* bBoxMax |
| 699 | inline: |
| 700 | float x1, y1, z1, x2, y2, z2; |
| 701 | rsgMeshComputeBoundingBox(mesh, &x1, &y1, &z1, &x2, &y2, &z2); |
| 702 | bBoxMin->x = x1; |
| 703 | bBoxMin->y = y1; |
| 704 | bBoxMin->z = z1; |
| 705 | bBoxMax->x = x2; |
| 706 | bBoxMax->y = y2; |
| 707 | bBoxMax->z = z2; |
| 708 | test: none |
| 709 | end: |
| 710 | |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 711 | function: rsgMeshGetIndexAllocation |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 712 | version: 16 22 |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 713 | size: 32 |
| 714 | ret: rs_allocation, "allocation containing index data" |
| 715 | arg: rs_mesh m, "mesh to get data from" |
| 716 | arg: uint32_t index, "index of the index allocation" |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 717 | deprecated: 22 |
Jean-Luc Brouillet | 20b27d6 | 2015-04-03 14:39:53 -0700 | [diff] [blame] | 718 | summary: Return an allocation containing index data |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 719 | description: |
| 720 | Returns an allocation containing index data or a null |
| 721 | allocation if only the primitive is specified |
| 722 | test: none |
| 723 | end: |
| 724 | |
| 725 | function: rsgMeshGetPrimitive |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 726 | version: 16 22 |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 727 | size: 32 |
| 728 | ret: rs_primitive, "primitive describing how the mesh is rendered" |
| 729 | arg: rs_mesh m, "mesh to get data from" |
| 730 | arg: uint32_t index, "index of the primitive" |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 731 | deprecated: 22 |
Jean-Luc Brouillet | 20b27d6 | 2015-04-03 14:39:53 -0700 | [diff] [blame] | 732 | summary: Return the primitive |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 733 | description: |
| 734 | Returns the primitive describing how a part of the mesh is |
| 735 | rendered |
| 736 | test: none |
| 737 | end: |
| 738 | |
| 739 | function: rsgMeshGetPrimitiveCount |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 740 | version: 16 22 |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 741 | size: 32 |
| 742 | ret: uint32_t, "number of primitive groups in the mesh. This would include simple primitives as well as allocations containing index data" |
| 743 | arg: rs_mesh m, "mesh to get data from" |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 744 | deprecated: 22 |
Jean-Luc Brouillet | 20b27d6 | 2015-04-03 14:39:53 -0700 | [diff] [blame] | 745 | summary: Return the number of index sets |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 746 | description: |
| 747 | Meshes could have multiple index sets, this function returns |
| 748 | the number. |
| 749 | test: none |
| 750 | end: |
| 751 | |
| 752 | function: rsgMeshGetVertexAllocation |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 753 | version: 16 22 |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 754 | size: 32 |
| 755 | ret: rs_allocation, "allocation containing vertex data" |
| 756 | arg: rs_mesh m, "mesh to get data from" |
| 757 | arg: uint32_t index, "index of the vertex allocation" |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 758 | deprecated: 22 |
Jean-Luc Brouillet | 20b27d6 | 2015-04-03 14:39:53 -0700 | [diff] [blame] | 759 | summary: Return a vertex allocation |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 760 | description: |
| 761 | Returns an allocation that is part of the mesh and contains |
| 762 | vertex data, e.g. positions, normals, texcoords |
| 763 | test: none |
| 764 | end: |
| 765 | |
| 766 | function: rsgMeshGetVertexAllocationCount |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 767 | version: 16 22 |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 768 | size: 32 |
| 769 | ret: uint32_t, "number of allocations in the mesh that contain vertex data" |
| 770 | arg: rs_mesh m, "mesh to get data from" |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 771 | deprecated: 22 |
Jean-Luc Brouillet | 20b27d6 | 2015-04-03 14:39:53 -0700 | [diff] [blame] | 772 | summary: Return the number of vertex allocations |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 773 | description: |
| 774 | Returns the number of allocations in the mesh that contain |
| 775 | vertex data |
| 776 | test: none |
| 777 | end: |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 778 | |
| 779 | function: rsgProgramFragmentConstantColor |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 780 | version: 9 22 |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 781 | size: 32 |
| 782 | ret: void |
| 783 | arg: rs_program_fragment pf |
| 784 | arg: float r |
| 785 | arg: float g |
| 786 | arg: float b |
| 787 | arg: float a |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 788 | deprecated: 22 |
Jean-Luc Brouillet | 20b27d6 | 2015-04-03 14:39:53 -0700 | [diff] [blame] | 789 | summary: Set the constant color for a fixed function emulation program |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 790 | description: |
| 791 | Set the constant color for a fixed function emulation program. |
| 792 | test: none |
| 793 | end: |
| 794 | |
| 795 | function: rsgProgramVertexGetProjectionMatrix |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 796 | version: 9 22 |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 797 | size: 32 |
| 798 | ret: void |
| 799 | arg: rs_matrix4x4* proj, "matrix to store the current projection matrix into" |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 800 | deprecated: 22 |
Jean-Luc Brouillet | 20b27d6 | 2015-04-03 14:39:53 -0700 | [diff] [blame] | 801 | summary: Get the projection matrix for a fixed function vertex program |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 802 | description: |
| 803 | Get the projection matrix for a currently bound fixed function |
| 804 | vertex program. Calling this function with a custom vertex shader |
| 805 | would result in an error. |
| 806 | test: none |
| 807 | end: |
| 808 | |
| 809 | function: rsgProgramVertexLoadModelMatrix |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 810 | version: 9 22 |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 811 | size: 32 |
| 812 | ret: void |
| 813 | arg: const rs_matrix4x4* model, "model matrix" |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 814 | deprecated: 22 |
Jean-Luc Brouillet | 20b27d6 | 2015-04-03 14:39:53 -0700 | [diff] [blame] | 815 | summary: Load the model matrix for a bound fixed function vertex program |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 816 | description: |
| 817 | Load the model matrix for a currently bound fixed function |
| 818 | vertex program. Calling this function with a custom vertex shader |
| 819 | would result in an error. |
| 820 | test: none |
| 821 | end: |
| 822 | |
| 823 | function: rsgProgramVertexLoadProjectionMatrix |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 824 | version: 9 22 |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 825 | size: 32 |
| 826 | ret: void |
| 827 | arg: const rs_matrix4x4* proj, "projection matrix" |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 828 | deprecated: 22 |
Jean-Luc Brouillet | 20b27d6 | 2015-04-03 14:39:53 -0700 | [diff] [blame] | 829 | summary: Load the projection matrix for a bound fixed function vertex program |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 830 | description: |
| 831 | Load the projection matrix for a currently bound fixed function |
| 832 | vertex program. Calling this function with a custom vertex shader |
| 833 | would result in an error. |
| 834 | test: none |
| 835 | end: |
| 836 | |
| 837 | function: rsgProgramVertexLoadTextureMatrix |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 838 | version: 9 22 |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 839 | size: 32 |
| 840 | ret: void |
| 841 | arg: const rs_matrix4x4* tex, "texture matrix" |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 842 | deprecated: 22 |
Jean-Luc Brouillet | 20b27d6 | 2015-04-03 14:39:53 -0700 | [diff] [blame] | 843 | summary: Load the texture matrix for a bound fixed function vertex program |
Jean-Luc Brouillet | c5184e2 | 2015-03-13 13:51:24 -0700 | [diff] [blame] | 844 | description: |
| 845 | Load the texture matrix for a currently bound fixed function |
| 846 | vertex program. Calling this function with a custom vertex shader |
| 847 | would result in an error. |
| 848 | test: none |
| 849 | end: |
| 850 | |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 851 | function: rsgProgramRasterGetCullMode |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 852 | version: 16 22 |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 853 | size: 32 |
| 854 | ret: rs_cull_mode |
| 855 | arg: rs_program_raster pr, "program raster to query" |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 856 | deprecated: 22 |
Jean-Luc Brouillet | 20b27d6 | 2015-04-03 14:39:53 -0700 | [diff] [blame] | 857 | summary: Get program raster cull mode |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 858 | description: |
| 859 | Get program raster cull mode |
| 860 | test: none |
| 861 | end: |
| 862 | |
| 863 | function: rsgProgramRasterIsPointSpriteEnabled |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 864 | version: 16 22 |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 865 | size: 32 |
| 866 | ret: bool |
| 867 | arg: rs_program_raster pr, "program raster to query" |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 868 | deprecated: 22 |
Jean-Luc Brouillet | 20b27d6 | 2015-04-03 14:39:53 -0700 | [diff] [blame] | 869 | summary: Get program raster point sprite state |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 870 | description: |
| 871 | Get program raster point sprite state |
| 872 | test: none |
| 873 | end: |
| 874 | |
| 875 | function: rsgProgramStoreGetBlendDstFunc |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 876 | version: 16 22 |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 877 | size: 32 |
| 878 | ret: rs_blend_dst_func |
| 879 | arg: rs_program_store ps, "program store to query" |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 880 | deprecated: 22 |
Jean-Luc Brouillet | 20b27d6 | 2015-04-03 14:39:53 -0700 | [diff] [blame] | 881 | summary: Get program store blend destination function |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 882 | description: |
| 883 | Get program store blend destination function |
| 884 | test: none |
| 885 | end: |
| 886 | |
| 887 | function: rsgProgramStoreGetBlendSrcFunc |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 888 | version: 16 22 |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 889 | size: 32 |
| 890 | ret: rs_blend_src_func |
| 891 | arg: rs_program_store ps, "program store to query" |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 892 | deprecated: 22 |
Jean-Luc Brouillet | 20b27d6 | 2015-04-03 14:39:53 -0700 | [diff] [blame] | 893 | summary: Get program store blend source function |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 894 | description: |
| 895 | Get program store blend source function |
| 896 | test: none |
| 897 | end: |
| 898 | |
| 899 | function: rsgProgramStoreGetDepthFunc |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 900 | version: 16 22 |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 901 | size: 32 |
| 902 | ret: rs_depth_func |
| 903 | arg: rs_program_store ps, "program store to query" |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 904 | deprecated: 22 |
Jean-Luc Brouillet | 20b27d6 | 2015-04-03 14:39:53 -0700 | [diff] [blame] | 905 | summary: Get program store depth function |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 906 | description: |
| 907 | Get program store depth function |
| 908 | test: none |
| 909 | end: |
| 910 | |
| 911 | function: rsgProgramStoreIsColorMaskAlphaEnabled |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 912 | version: 16 22 |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 913 | size: 32 |
| 914 | ret: bool |
| 915 | arg: rs_program_store ps, "program store to query" |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 916 | deprecated: 22 |
Jean-Luc Brouillet | 20b27d6 | 2015-04-03 14:39:53 -0700 | [diff] [blame] | 917 | summary: Get program store alpha component color mask |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 918 | description: |
| 919 | Get program store alpha component color mask |
| 920 | test: none |
| 921 | end: |
| 922 | |
| 923 | function: rsgProgramStoreIsColorMaskBlueEnabled |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 924 | version: 16 22 |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 925 | size: 32 |
| 926 | ret: bool |
| 927 | arg: rs_program_store ps, "program store to query" |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 928 | deprecated: 22 |
Jean-Luc Brouillet | 20b27d6 | 2015-04-03 14:39:53 -0700 | [diff] [blame] | 929 | summary: Get program store blur component color mask |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 930 | description: |
| 931 | Get program store blur component color mask |
| 932 | test: none |
| 933 | end: |
| 934 | |
| 935 | function: rsgProgramStoreIsColorMaskGreenEnabled |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 936 | version: 16 22 |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 937 | size: 32 |
| 938 | ret: bool |
| 939 | arg: rs_program_store ps, "program store to query" |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 940 | deprecated: 22 |
Jean-Luc Brouillet | 20b27d6 | 2015-04-03 14:39:53 -0700 | [diff] [blame] | 941 | summary: Get program store green component color mask |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 942 | description: |
| 943 | Get program store green component color mask |
| 944 | test: none |
| 945 | end: |
| 946 | |
| 947 | function: rsgProgramStoreIsColorMaskRedEnabled |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 948 | version: 16 22 |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 949 | size: 32 |
| 950 | ret: bool |
| 951 | arg: rs_program_store ps, "program store to query" |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 952 | deprecated: 22 |
Jean-Luc Brouillet | 20b27d6 | 2015-04-03 14:39:53 -0700 | [diff] [blame] | 953 | summary: Get program store red component color mask |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 954 | description: |
| 955 | Get program store red component color mask |
| 956 | test: none |
| 957 | end: |
| 958 | |
| 959 | function: rsgProgramStoreIsDepthMaskEnabled |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 960 | version: 16 22 |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 961 | size: 32 |
| 962 | ret: bool |
| 963 | arg: rs_program_store ps, "program store to query" |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 964 | deprecated: 22 |
Jean-Luc Brouillet | 20b27d6 | 2015-04-03 14:39:53 -0700 | [diff] [blame] | 965 | summary: Get program store depth mask |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 966 | description: |
| 967 | Get program store depth mask |
| 968 | test: none |
| 969 | end: |
| 970 | |
| 971 | function: rsgProgramStoreIsDitherEnabled |
Jean-Luc Brouillet | 67923a9 | 2015-05-12 15:38:27 -0700 | [diff] [blame] | 972 | version: 16 22 |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 973 | size: 32 |
| 974 | ret: bool |
| 975 | arg: rs_program_store ps, "program store to query" |
Jean-Luc Brouillet | 36e2be5 | 2015-04-30 14:41:24 -0700 | [diff] [blame] | 976 | deprecated: 22 |
Jean-Luc Brouillet | 20b27d6 | 2015-04-03 14:39:53 -0700 | [diff] [blame] | 977 | summary: Get program store dither state |
Jean-Luc Brouillet | be21638 | 2015-03-22 12:44:27 -0700 | [diff] [blame] | 978 | description: |
| 979 | Get program store dither state |
| 980 | test: none |
| 981 | end: |