Jason Sams | 41371c7 | 2015-03-26 20:46:57 +0000 | [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: |
| 18 | summary: Program object routines |
| 19 | description: |
| 20 | end: |
| 21 | |
| 22 | function: rsgProgramRasterGetCullMode |
| 23 | version: 16 |
| 24 | ret: rs_cull_mode |
| 25 | arg: rs_program_raster pr, "program raster to query" |
| 26 | summary: |
| 27 | description: |
| 28 | Get program raster cull mode |
| 29 | test: none |
| 30 | end: |
| 31 | |
| 32 | function: rsgProgramRasterIsPointSpriteEnabled |
| 33 | version: 16 |
| 34 | ret: bool |
| 35 | arg: rs_program_raster pr, "program raster to query" |
| 36 | summary: |
| 37 | description: |
| 38 | Get program raster point sprite state |
| 39 | test: none |
| 40 | end: |
| 41 | |
| 42 | function: rsgProgramStoreGetBlendDstFunc |
| 43 | version: 16 |
| 44 | ret: rs_blend_dst_func |
| 45 | arg: rs_program_store ps, "program store to query" |
| 46 | summary: |
| 47 | description: |
| 48 | Get program store blend destination function |
| 49 | test: none |
| 50 | end: |
| 51 | |
| 52 | function: rsgProgramStoreGetBlendSrcFunc |
| 53 | version: 16 |
| 54 | ret: rs_blend_src_func |
| 55 | arg: rs_program_store ps, "program store to query" |
| 56 | summary: |
| 57 | description: |
| 58 | Get program store blend source function |
| 59 | test: none |
| 60 | end: |
| 61 | |
| 62 | function: rsgProgramStoreGetDepthFunc |
| 63 | version: 16 |
| 64 | ret: rs_depth_func |
| 65 | arg: rs_program_store ps, "program store to query" |
| 66 | summary: |
| 67 | description: |
| 68 | Get program store depth function |
| 69 | test: none |
| 70 | end: |
| 71 | |
| 72 | function: rsgProgramStoreIsColorMaskAlphaEnabled |
| 73 | version: 16 |
| 74 | ret: bool |
| 75 | arg: rs_program_store ps, "program store to query" |
| 76 | summary: |
| 77 | description: |
| 78 | Get program store alpha component color mask |
| 79 | test: none |
| 80 | end: |
| 81 | |
| 82 | function: rsgProgramStoreIsColorMaskBlueEnabled |
| 83 | version: 16 |
| 84 | ret: bool |
| 85 | arg: rs_program_store ps, "program store to query" |
| 86 | summary: |
| 87 | description: |
| 88 | Get program store blur component color mask |
| 89 | test: none |
| 90 | end: |
| 91 | |
| 92 | function: rsgProgramStoreIsColorMaskGreenEnabled |
| 93 | version: 16 |
| 94 | ret: bool |
| 95 | arg: rs_program_store ps, "program store to query" |
| 96 | summary: |
| 97 | description: |
| 98 | Get program store green component color mask |
| 99 | test: none |
| 100 | end: |
| 101 | |
| 102 | function: rsgProgramStoreIsColorMaskRedEnabled |
| 103 | version: 16 |
| 104 | ret: bool |
| 105 | arg: rs_program_store ps, "program store to query" |
| 106 | summary: |
| 107 | description: |
| 108 | Get program store red component color mask |
| 109 | test: none |
| 110 | end: |
| 111 | |
| 112 | function: rsgProgramStoreIsDepthMaskEnabled |
| 113 | version: 16 |
| 114 | ret: bool |
| 115 | arg: rs_program_store ps, "program store to query" |
| 116 | summary: |
| 117 | description: |
| 118 | Get program store depth mask |
| 119 | test: none |
| 120 | end: |
| 121 | |
| 122 | function: rsgProgramStoreIsDitherEnabled |
| 123 | version: 16 |
| 124 | ret: bool |
| 125 | arg: rs_program_store ps, "program store to query" |
| 126 | summary: |
| 127 | description: |
| 128 | Get program store dither state |
| 129 | test: none |
| 130 | end: |