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