| 1 | #cxx . . $ `<file>/src/sna/sna_trapezoids.h`/include <stdbool.h> |
| 2 | |
| 3 | #ifndef SNA_TRAPEZOIDS_H |
| 4 | #define SNA_TRAPEZOIDS_Hcxx . . $ `src/sna/sna_trapezoids.h:4:9`! |
| 5 | |
| 6 | #define NO_ACCELcxx . . $ `src/sna/sna_trapezoids.h:6:9`! 0 |
| 7 | #define FORCE_FALLBACKcxx . . $ `src/sna/sna_trapezoids.h:7:9`! 0 |
| 8 | #define NO_ALIGNED_BOXEScxx . . $ `src/sna/sna_trapezoids.h:8:9`! 0 |
| 9 | #define NO_UNALIGNED_BOXEScxx . . $ `src/sna/sna_trapezoids.h:9:9`! 0 |
| 10 | #define NO_SCAN_CONVERTERcxx . . $ `src/sna/sna_trapezoids.h:10:9`! 0 |
| 11 | #define NO_GPU_THREADScxx . . $ `src/sna/sna_trapezoids.h:11:9`! 0 |
| 12 | |
| 13 | #define NO_IMPRECISEcxx . . $ `src/sna/sna_trapezoids.h:13:9`! 0 |
| 14 | #define NO_PRECISEcxx . . $ `src/sna/sna_trapezoids.h:14:9`! 0 |
| 15 | |
| 16 | #if 0 |
| 17 | #define __DBG DBG |
| 18 | #else |
| 19 | #define __DBGcxx . . $ `src/sna/sna_trapezoids.h:19:9`!(x) |
| 20 | #endif |
| 21 | |
| 22 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! |
| 23 | composite_aligned_boxescxx . . $ composite_aligned_boxes(ddd36e1a3e80d7e).(struct snacxx . . $ sna# *sna, |
| 24 | CARD8cxx . . $ CARD8# op, |
| 25 | PicturePtrcxx . . $ PicturePtr# src, |
| 26 | PicturePtrcxx . . $ PicturePtr# dst, |
| 27 | PictFormatPtrcxx . . $ PictFormatPtr# maskFormat, |
| 28 | INT16cxx . . $ INT16# src_x, INT16cxx . . $ INT16# src_y, |
| 29 | int ntrap, const xTrapezoidcxx . . $ xTrapezoid# *traps, |
| 30 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! force_fallback); |
| 31 | |
| 32 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! |
| 33 | composite_unaligned_boxescxx . . $ composite_unaligned_boxes(ddd36e1a3e80d7e).(struct snacxx . . $ sna# *sna, |
| 34 | CARD8cxx . . $ CARD8# op, |
| 35 | PicturePtrcxx . . $ PicturePtr# src, |
| 36 | PicturePtrcxx . . $ PicturePtr# dst, |
| 37 | PictFormatPtrcxx . . $ PictFormatPtr# maskFormat, |
| 38 | INT16cxx . . $ INT16# src_x, INT16cxx . . $ INT16# src_y, |
| 39 | int ntrap, const xTrapezoidcxx . . $ xTrapezoid# *traps, |
| 40 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! force_fallback); |
| 41 | |
| 42 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! |
| 43 | mono_trapezoids_span_convertercxx . . $ mono_trapezoids_span_converter(ea83a1c0962ccbd6).(struct snacxx . . $ sna# *sna, |
| 44 | CARD8cxx . . $ CARD8# op, PicturePtrcxx . . $ PicturePtr# src, PicturePtrcxx . . $ PicturePtr# dst, |
| 45 | INT16cxx . . $ INT16# src_x, INT16cxx . . $ INT16# src_y, |
| 46 | int ntrap, xTrapezoidcxx . . $ xTrapezoid# *traps); |
| 47 | |
| 48 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! |
| 49 | mono_trapezoid_span_inplacecxx . . $ mono_trapezoid_span_inplace(ea83a1c0962ccbd6).(struct snacxx . . $ sna# *sna, |
| 50 | CARD8cxx . . $ CARD8# op, |
| 51 | PicturePtrcxx . . $ PicturePtr# src, |
| 52 | PicturePtrcxx . . $ PicturePtr# dst, |
| 53 | INT16cxx . . $ INT16# src_x, INT16cxx . . $ INT16# src_y, |
| 54 | int ntrap, xTrapezoidcxx . . $ xTrapezoid# *traps); |
| 55 | |
| 56 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! |
| 57 | mono_triangles_span_convertercxx . . $ mono_triangles_span_converter(e17490d867513bc8).(struct snacxx . . $ sna# *sna, |
| 58 | CARD8cxx . . $ CARD8# op, PicturePtrcxx . . $ PicturePtr# src, PicturePtrcxx . . $ PicturePtr# dst, |
| 59 | INT16cxx . . $ INT16# src_x, INT16cxx . . $ INT16# src_y, |
| 60 | int count, xTrianglecxx . . $ xTriangle# *tri); |
| 61 | |
| 62 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! |
| 63 | imprecise_trapezoid_span_inplacecxx . . $ imprecise_trapezoid_span_inplace(163a8b00052c43b0).(struct snacxx . . $ sna# *sna, |
| 64 | CARD8cxx . . $ CARD8# op, PicturePtrcxx . . $ PicturePtr# src, PicturePtrcxx . . $ PicturePtr# dst, |
| 65 | PictFormatPtrcxx . . $ PictFormatPtr# maskFormat, unsigned flags, |
| 66 | INT16cxx . . $ INT16# src_x, INT16cxx . . $ INT16# src_y, |
| 67 | int ntrap, xTrapezoidcxx . . $ xTrapezoid# *traps, |
| 68 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! fallback); |
| 69 | |
| 70 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! |
| 71 | imprecise_trapezoid_span_convertercxx . . $ imprecise_trapezoid_span_converter(a67285f08a98579e).(struct snacxx . . $ sna# *sna, |
| 72 | CARD8cxx . . $ CARD8# op, PicturePtrcxx . . $ PicturePtr# src, PicturePtrcxx . . $ PicturePtr# dst, |
| 73 | PictFormatPtrcxx . . $ PictFormatPtr# maskFormat, unsigned int flags, |
| 74 | INT16cxx . . $ INT16# src_x, INT16cxx . . $ INT16# src_y, |
| 75 | int ntrap, xTrapezoidcxx . . $ xTrapezoid# *traps); |
| 76 | |
| 77 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! |
| 78 | imprecise_trapezoid_mask_convertercxx . . $ imprecise_trapezoid_mask_converter(5084879483bef6d).(CARD8cxx . . $ CARD8# op, PicturePtrcxx . . $ PicturePtr# src, PicturePtrcxx . . $ PicturePtr# dst, |
| 79 | PictFormatPtrcxx . . $ PictFormatPtr# maskFormat, unsigned flags, |
| 80 | INT16cxx . . $ INT16# src_x, INT16cxx . . $ INT16# src_y, |
| 81 | int ntrap, xTrapezoidcxx . . $ xTrapezoid# *traps); |
| 82 | |
| 83 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! |
| 84 | imprecise_trapezoid_span_fallbackcxx . . $ imprecise_trapezoid_span_fallback(5084879483bef6d).(CARD8cxx . . $ CARD8# op, PicturePtrcxx . . $ PicturePtr# src, PicturePtrcxx . . $ PicturePtr# dst, |
| 85 | PictFormatPtrcxx . . $ PictFormatPtr# maskFormat, unsigned flags, |
| 86 | INT16cxx . . $ INT16# src_x, INT16cxx . . $ INT16# src_y, |
| 87 | int ntrap, xTrapezoidcxx . . $ xTrapezoid# *traps); |
| 88 | |
| 89 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! |
| 90 | precise_trapezoid_span_inplacecxx . . $ precise_trapezoid_span_inplace(163a8b00052c43b0).(struct snacxx . . $ sna# *sna, |
| 91 | CARD8cxx . . $ CARD8# op, PicturePtrcxx . . $ PicturePtr# src, PicturePtrcxx . . $ PicturePtr# dst, |
| 92 | PictFormatPtrcxx . . $ PictFormatPtr# maskFormat, unsigned flags, |
| 93 | INT16cxx . . $ INT16# src_x, INT16cxx . . $ INT16# src_y, |
| 94 | int ntrap, xTrapezoidcxx . . $ xTrapezoid# *traps, |
| 95 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! fallback); |
| 96 | |
| 97 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! |
| 98 | precise_trapezoid_span_convertercxx . . $ precise_trapezoid_span_converter(a67285f08a98579e).(struct snacxx . . $ sna# *sna, |
| 99 | CARD8cxx . . $ CARD8# op, PicturePtrcxx . . $ PicturePtr# src, PicturePtrcxx . . $ PicturePtr# dst, |
| 100 | PictFormatPtrcxx . . $ PictFormatPtr# maskFormat, unsigned int flags, |
| 101 | INT16cxx . . $ INT16# src_x, INT16cxx . . $ INT16# src_y, |
| 102 | int ntrap, xTrapezoidcxx . . $ xTrapezoid# *traps); |
| 103 | |
| 104 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! |
| 105 | precise_trapezoid_mask_convertercxx . . $ precise_trapezoid_mask_converter(5084879483bef6d).(CARD8cxx . . $ CARD8# op, PicturePtrcxx . . $ PicturePtr# src, PicturePtrcxx . . $ PicturePtr# dst, |
| 106 | PictFormatPtrcxx . . $ PictFormatPtr# maskFormat, unsigned flags, |
| 107 | INT16cxx . . $ INT16# src_x, INT16cxx . . $ INT16# src_y, |
| 108 | int ntrap, xTrapezoidcxx . . $ xTrapezoid# *traps); |
| 109 | |
| 110 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! |
| 111 | precise_trapezoid_span_fallbackcxx . . $ precise_trapezoid_span_fallback(5084879483bef6d).(CARD8cxx . . $ CARD8# op, PicturePtrcxx . . $ PicturePtr# src, PicturePtrcxx . . $ PicturePtr# dst, |
| 112 | PictFormatPtrcxx . . $ PictFormatPtr# maskFormat, unsigned flags, |
| 113 | INT16cxx . . $ INT16# src_x, INT16cxx . . $ INT16# src_y, |
| 114 | int ntrap, xTrapezoidcxx . . $ xTrapezoid# *traps); |
| 115 | |
| 116 | static inline boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! is_monocxx . . $ is_mono(c85b09bd898fd3d4).(PicturePtrcxx . . $ PicturePtr# dst, PictFormatPtrcxx . . $ PictFormatPtr# mask) |
| 117 | { |
| 118 | return mask ? mask->depthcxx . . $ _PictFormat#depth. < 8 : dst->polyEdgecxx . . $ _Picture#polyEdge.==PolyEdgeSharpcxx . . $ `<external>/2369207440537731940/render.h:163:9`!; |
| 119 | } |
| 120 | |
| 121 | static inline boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! is_precisecxx . . $ is_precise(c85b09bd898fd3d4).(PicturePtrcxx . . $ PicturePtr# dst, PictFormatPtrcxx . . $ PictFormatPtr# mask) |
| 122 | { |
| 123 | return dst->polyModecxx . . $ _Picture#polyMode. == PolyModePrecisecxx . . $ `<external>/2369207440537731940/render.h:166:9`! && !is_monocxx . . $ is_mono(c85b09bd898fd3d4).(dst, mask); |
| 124 | } |
| 125 | |
| 126 | static inline boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! |
| 127 | trapezoid_span_inplacecxx . . $ trapezoid_span_inplace(163a8b00052c43b0).(struct snacxx . . $ sna# *sna, |
| 128 | CARD8cxx . . $ CARD8# op, PicturePtrcxx . . $ PicturePtr# src, PicturePtrcxx . . $ PicturePtr# dst, |
| 129 | PictFormatPtrcxx . . $ PictFormatPtr# maskFormat, unsigned flags, |
| 130 | INT16cxx . . $ INT16# src_x, INT16cxx . . $ INT16# src_y, |
| 131 | int ntrap, xTrapezoidcxx . . $ xTrapezoid# *traps, |
| 132 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! fallback) |
| 133 | { |
| 134 | if (NO_SCAN_CONVERTERcxx . . $ `src/sna/sna_trapezoids.h:10:9`!) |
| 135 | return falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 136 | |
| 137 | if (dst->alphaMapcxx . . $ _Picture#alphaMap.) { |
| 138 | DBGcxx . . $ `src/sna/debug.h:35:9`!(("%s: fallback -- dst alphamap\n", |
| 139 | __FUNCTION__)); |
| 140 | return falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 141 | } |
| 142 | |
| 143 | if (!fallback && is_gpucxx . . $ is_gpu(498366498b5b8c6e).(sna, dst->pDrawablecxx . . $ _Picture#pDrawable., PREFER_GPU_SPANScxx . . $ `src/sna/sna_render.h:236:9`!)) { |
| 144 | DBGcxx . . $ `src/sna/debug.h:35:9`!(("%s: fallback -- can not perform operation in place, destination busy\n", |
| 145 | __FUNCTION__)); |
| 146 | |
| 147 | return falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 148 | } |
| 149 | |
| 150 | if (is_monocxx . . $ is_mono(c85b09bd898fd3d4).(dst, maskFormat)) |
| 151 | return mono_trapezoid_span_inplacecxx . . $ mono_trapezoid_span_inplace(ea83a1c0962ccbd6).(sna, op, src, dst, src_x, src_y, ntrap, traps); |
| 152 | else if (is_precisecxx . . $ is_precise(c85b09bd898fd3d4).(dst, maskFormat)) |
| 153 | return precise_trapezoid_span_inplacecxx . . $ precise_trapezoid_span_inplace(163a8b00052c43b0).(sna, op, src, dst, maskFormat, flags, src_x, src_y, ntrap, traps, fallback); |
| 154 | else |
| 155 | return imprecise_trapezoid_span_inplacecxx . . $ imprecise_trapezoid_span_inplace(163a8b00052c43b0).(sna, op, src, dst, maskFormat, flags, src_x, src_y, ntrap, traps, fallback); |
| 156 | } |
| 157 | |
| 158 | static inline boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! |
| 159 | trapezoid_span_convertercxx . . $ trapezoid_span_converter(a67285f08a98579e).(struct snacxx . . $ sna# *sna, |
| 160 | CARD8cxx . . $ CARD8# op, PicturePtrcxx . . $ PicturePtr# src, PicturePtrcxx . . $ PicturePtr# dst, |
| 161 | PictFormatPtrcxx . . $ PictFormatPtr# maskFormat, unsigned int flags, |
| 162 | INT16cxx . . $ INT16# src_x, INT16cxx . . $ INT16# src_y, |
| 163 | int ntrap, xTrapezoidcxx . . $ xTrapezoid# *traps) |
| 164 | { |
| 165 | if (NO_SCAN_CONVERTERcxx . . $ `src/sna/sna_trapezoids.h:10:9`!) |
| 166 | return falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 167 | |
| 168 | if (is_monocxx . . $ is_mono(c85b09bd898fd3d4).(dst, maskFormat)) |
| 169 | return mono_trapezoids_span_convertercxx . . $ mono_trapezoids_span_converter(ea83a1c0962ccbd6).(sna, op, src, dst, src_x, src_y, ntrap, traps); |
| 170 | else if (is_precisecxx . . $ is_precise(c85b09bd898fd3d4).(dst, maskFormat)) |
| 171 | return precise_trapezoid_span_convertercxx . . $ precise_trapezoid_span_converter(a67285f08a98579e).(sna, op, src, dst, maskFormat, flags, src_x, src_y, ntrap, traps); |
| 172 | else |
| 173 | return imprecise_trapezoid_span_convertercxx . . $ imprecise_trapezoid_span_converter(a67285f08a98579e).(sna, op, src, dst, maskFormat, flags, src_x, src_y, ntrap, traps); |
| 174 | } |
| 175 | |
| 176 | static inline boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! |
| 177 | trapezoid_mask_convertercxx . . $ trapezoid_mask_converter(5084879483bef6d).(CARD8cxx . . $ CARD8# op, PicturePtrcxx . . $ PicturePtr# src, PicturePtrcxx . . $ PicturePtr# dst, |
| 178 | PictFormatPtrcxx . . $ PictFormatPtr# maskFormat, unsigned flags, |
| 179 | INT16cxx . . $ INT16# src_x, INT16cxx . . $ INT16# src_y, |
| 180 | int ntrap, xTrapezoidcxx . . $ xTrapezoid# *traps) |
| 181 | { |
| 182 | if (NO_SCAN_CONVERTERcxx . . $ `src/sna/sna_trapezoids.h:10:9`!) |
| 183 | return falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 184 | |
| 185 | if (is_precisecxx . . $ is_precise(c85b09bd898fd3d4).(dst, maskFormat)) |
| 186 | return precise_trapezoid_mask_convertercxx . . $ precise_trapezoid_mask_converter(5084879483bef6d).(op, src, dst, maskFormat, flags, src_x, src_y, ntrap, traps); |
| 187 | else |
| 188 | return imprecise_trapezoid_mask_convertercxx . . $ imprecise_trapezoid_mask_converter(5084879483bef6d).(op, src, dst, maskFormat, flags, src_x, src_y, ntrap, traps); |
| 189 | } |
| 190 | |
| 191 | static inline boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! |
| 192 | trapezoid_span_fallbackcxx . . $ trapezoid_span_fallback(5084879483bef6d).(CARD8cxx . . $ CARD8# op, PicturePtrcxx . . $ PicturePtr# src, PicturePtrcxx . . $ PicturePtr# dst, |
| 193 | PictFormatPtrcxx . . $ PictFormatPtr# maskFormat, unsigned flags, |
| 194 | INT16cxx . . $ INT16# src_x, INT16cxx . . $ INT16# src_y, |
| 195 | int ntrap, xTrapezoidcxx . . $ xTrapezoid# *traps) |
| 196 | { |
| 197 | if (NO_SCAN_CONVERTERcxx . . $ `src/sna/sna_trapezoids.h:10:9`!) |
| 198 | return falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 199 | |
| 200 | if (is_precisecxx . . $ is_precise(c85b09bd898fd3d4).(dst, maskFormat)) |
| 201 | return precise_trapezoid_span_fallbackcxx . . $ precise_trapezoid_span_fallback(5084879483bef6d).(op, src, dst, maskFormat, flags, src_x, src_y, ntrap, traps); |
| 202 | else |
| 203 | return imprecise_trapezoid_span_fallbackcxx . . $ imprecise_trapezoid_span_fallback(5084879483bef6d).(op, src, dst, maskFormat, flags, src_x, src_y, ntrap, traps); |
| 204 | } |
| 205 | |
| 206 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! |
| 207 | mono_trap_span_convertercxx . . $ mono_trap_span_converter(d9295e17c335489d).(struct snacxx . . $ sna# *sna, |
| 208 | PicturePtrcxx . . $ PicturePtr# dst, |
| 209 | INT16cxx . . $ INT16# x, INT16cxx . . $ INT16# y, |
| 210 | int ntrap, xTrapcxx . . $ xTrap# *traps); |
| 211 | |
| 212 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! |
| 213 | precise_trap_span_convertercxx . . $ precise_trap_span_converter(d9295e17c335489d).(struct snacxx . . $ sna# *sna, |
| 214 | PicturePtrcxx . . $ PicturePtr# dst, |
| 215 | INT16cxx . . $ INT16# src_x, INT16cxx . . $ INT16# src_y, |
| 216 | int ntrap, xTrapcxx . . $ xTrap# *trap); |
| 217 | |
| 218 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! |
| 219 | imprecise_trap_span_convertercxx . . $ imprecise_trap_span_converter(d9295e17c335489d).(struct snacxx . . $ sna# *sna, |
| 220 | PicturePtrcxx . . $ PicturePtr# dst, |
| 221 | INT16cxx . . $ INT16# src_x, INT16cxx . . $ INT16# src_y, |
| 222 | int ntrap, xTrapcxx . . $ xTrap# *trap); |
| 223 | |
| 224 | static inline boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! |
| 225 | trap_span_convertercxx . . $ trap_span_converter(d9295e17c335489d).(struct snacxx . . $ sna# *sna, |
| 226 | PicturePtrcxx . . $ PicturePtr# dst, |
| 227 | INT16cxx . . $ INT16# src_x, INT16cxx . . $ INT16# src_y, |
| 228 | int ntrap, xTrapcxx . . $ xTrap# *trap) |
| 229 | { |
| 230 | if (NO_SCAN_CONVERTERcxx . . $ `src/sna/sna_trapezoids.h:10:9`!) |
| 231 | return falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 232 | |
| 233 | if (dst->polyEdgecxx . . $ _Picture#polyEdge. == PolyEdgeSharpcxx . . $ `<external>/2369207440537731940/render.h:163:9`! || dst->pDrawablecxx . . $ _Picture#pDrawable.->depthcxx . . $ _Drawable#depth. < 8) |
| 234 | return mono_trap_span_convertercxx . . $ mono_trap_span_converter(d9295e17c335489d).(sna, dst, src_x, src_y, ntrap, trap); |
| 235 | else if (dst->polyModecxx . . $ _Picture#polyMode. == PolyModePrecisecxx . . $ `<external>/2369207440537731940/render.h:166:9`!) |
| 236 | return precise_trap_span_convertercxx . . $ precise_trap_span_converter(d9295e17c335489d).(sna, dst, src_x, src_y, ntrap, trap); |
| 237 | else |
| 238 | return imprecise_trap_span_convertercxx . . $ imprecise_trap_span_converter(d9295e17c335489d).(sna, dst, src_x, src_y, ntrap, trap); |
| 239 | } |
| 240 | |
| 241 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! |
| 242 | trap_mask_convertercxx . . $ trap_mask_converter(d9295e17c335489d).(struct snacxx . . $ sna# *sna, |
| 243 | PicturePtrcxx . . $ PicturePtr# picture, |
| 244 | INT16cxx . . $ INT16# x, INT16cxx . . $ INT16# y, |
| 245 | int ntrap, xTrapcxx . . $ xTrap# *trap); |
| 246 | |
| 247 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! |
| 248 | triangles_span_convertercxx . . $ triangles_span_converter(34d6e00c9947c922).(struct snacxx . . $ sna# *sna, |
| 249 | CARD8cxx . . $ CARD8# op, PicturePtrcxx . . $ PicturePtr# src, PicturePtrcxx . . $ PicturePtr# dst, |
| 250 | PictFormatPtrcxx . . $ PictFormatPtr# maskFormat, INT16cxx . . $ INT16# src_x, INT16cxx . . $ INT16# src_y, |
| 251 | int count, xTrianglecxx . . $ xTriangle# *tri); |
| 252 | |
| 253 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! |
| 254 | triangles_mask_convertercxx . . $ triangles_mask_converter(47d258fe103ebf3c).(CARD8cxx . . $ CARD8# op, PicturePtrcxx . . $ PicturePtr# src, PicturePtrcxx . . $ PicturePtr# dst, |
| 255 | PictFormatPtrcxx . . $ PictFormatPtr# maskFormat, INT16cxx . . $ INT16# src_x, INT16cxx . . $ INT16# src_y, |
| 256 | int count, xTrianglecxx . . $ xTriangle# *tri); |
| 257 | |
| 258 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! |
| 259 | mono_tristrip_span_convertercxx . . $ mono_tristrip_span_converter(b5b17683aeda8b88).(struct snacxx . . $ sna# *sna, |
| 260 | CARD8cxx . . $ CARD8# op, PicturePtrcxx . . $ PicturePtr# src, PicturePtrcxx . . $ PicturePtr# dst, |
| 261 | INT16cxx . . $ INT16# src_x, INT16cxx . . $ INT16# src_y, |
| 262 | int count, xPointFixedcxx . . $ xPointFixed# *points); |
| 263 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! |
| 264 | imprecise_tristrip_span_convertercxx . . $ imprecise_tristrip_span_converter(3370fc6869cd177b).(struct snacxx . . $ sna# *sna, |
| 265 | CARD8cxx . . $ CARD8# op, PicturePtrcxx . . $ PicturePtr# src, PicturePtrcxx . . $ PicturePtr# dst, |
| 266 | PictFormatPtrcxx . . $ PictFormatPtr# maskFormat, INT16cxx . . $ INT16# src_x, INT16cxx . . $ INT16# src_y, |
| 267 | int count, xPointFixedcxx . . $ xPointFixed# *points); |
| 268 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! |
| 269 | precise_tristrip_span_convertercxx . . $ precise_tristrip_span_converter(3370fc6869cd177b).(struct snacxx . . $ sna# *sna, |
| 270 | CARD8cxx . . $ CARD8# op, PicturePtrcxx . . $ PicturePtr# src, PicturePtrcxx . . $ PicturePtr# dst, |
| 271 | PictFormatPtrcxx . . $ PictFormatPtr# maskFormat, INT16cxx . . $ INT16# src_x, INT16cxx . . $ INT16# src_y, |
| 272 | int count, xPointFixedcxx . . $ xPointFixed# *points); |
| 273 | |
| 274 | static inline boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! |
| 275 | tristrip_span_convertercxx . . $ tristrip_span_converter(3370fc6869cd177b).(struct snacxx . . $ sna# *sna, |
| 276 | CARD8cxx . . $ CARD8# op, PicturePtrcxx . . $ PicturePtr# src, PicturePtrcxx . . $ PicturePtr# dst, |
| 277 | PictFormatPtrcxx . . $ PictFormatPtr# maskFormat, INT16cxx . . $ INT16# src_x, INT16cxx . . $ INT16# src_y, |
| 278 | int count, xPointFixedcxx . . $ xPointFixed# *points) |
| 279 | { |
| 280 | if (NO_SCAN_CONVERTERcxx . . $ `src/sna/sna_trapezoids.h:10:9`!) |
| 281 | return falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 282 | |
| 283 | if (is_monocxx . . $ is_mono(c85b09bd898fd3d4).(dst, maskFormat)) |
| 284 | return mono_tristrip_span_convertercxx . . $ mono_tristrip_span_converter(b5b17683aeda8b88).(sna, op, src, dst, src_x, src_y, count, points); |
| 285 | else if (is_precisecxx . . $ is_precise(c85b09bd898fd3d4).(dst, maskFormat)) |
| 286 | return precise_tristrip_span_convertercxx . . $ precise_tristrip_span_converter(3370fc6869cd177b).(sna, op, src, dst, maskFormat, src_x, src_y, count, points); |
| 287 | else |
| 288 | return imprecise_tristrip_span_convertercxx . . $ imprecise_tristrip_span_converter(3370fc6869cd177b).(sna, op, src, dst, maskFormat, src_x, src_y, count, points); |
| 289 | } |
| 290 | |
| 291 | inline static void trapezoid_origincxx . . $ trapezoid_origin(8b25c708ed16fcd4).(const xLineFixedcxx . . $ xLineFixed# *l, int16_tcxx . . $ int16_t# *x, int16_tcxx . . $ int16_t# *y) |
| 292 | { |
| 293 | if (l->p1cxx . . $ $anonymous_type_d4be3316d06f2656_8#p1..ycxx . . $ $anonymous_type_d4be3316d06f2656_7#y. < l->p2cxx . . $ $anonymous_type_d4be3316d06f2656_8#p2..ycxx . . $ $anonymous_type_d4be3316d06f2656_7#y.) { |
| 294 | *x = pixman_fixed_to_intcxx . . $ `<external>/17639638556090915931/pixman.h:129:9`!(l->p1.x); |
| 295 | *y = pixman_fixed_to_intcxx . . $ `<external>/17639638556090915931/pixman.h:129:9`!(l->p1.y); |
| 296 | } else { |
| 297 | *x = pixman_fixed_to_intcxx . . $ `<external>/17639638556090915931/pixman.h:129:9`!(l->p2.x); |
| 298 | *y = pixman_fixed_to_intcxx . . $ `<external>/17639638556090915931/pixman.h:129:9`!(l->p2.y); |
| 299 | } |
| 300 | } |
| 301 | |
| 302 | #define ONE_HALFcxx . . $ `src/sna/sna_trapezoids.h:302:9`! 0x7f |
| 303 | #define RB_MASKcxx . . $ `src/sna/sna_trapezoids.h:303:9`! 0x00ff00ff |
| 304 | #define RB_ONE_HALFcxx . . $ `src/sna/sna_trapezoids.h:304:9`! 0x007f007f |
| 305 | #define RB_MASK_PLUS_ONEcxx . . $ `src/sna/sna_trapezoids.h:305:9`! 0x01000100 |
| 306 | #define G_SHIFTcxx . . $ `src/sna/sna_trapezoids.h:306:9`! 8 |
| 307 | |
| 308 | static force_inlinecxx . . $ `src/sna/compiler.h:35:9`! uint32_tcxx . . $ uint32_t# |
| 309 | mul8x2_8cxx . . $ mul8x2_8(8b98654af71362dd). (uint32_tcxx . . $ uint32_t# a, uint8_tcxx . . $ uint8_t# b) |
| 310 | { |
| 311 | uint32_tcxx . . $ uint32_t# t = (a & RB_MASKcxx . . $ `src/sna/sna_trapezoids.h:303:9`!) * b + RB_ONE_HALFcxx . . $ `src/sna/sna_trapezoids.h:304:9`!; |
| 312 | return ((t + ((t >> G_SHIFTcxx . . $ `src/sna/sna_trapezoids.h:306:9`!) & RB_MASKcxx . . $ `src/sna/sna_trapezoids.h:303:9`!)) >> G_SHIFTcxx . . $ `src/sna/sna_trapezoids.h:306:9`!) & RB_MASKcxx . . $ `src/sna/sna_trapezoids.h:303:9`!; |
| 313 | } |
| 314 | |
| 315 | static force_inlinecxx . . $ `src/sna/compiler.h:35:9`! uint32_tcxx . . $ uint32_t# |
| 316 | add8x2_8x2cxx . . $ add8x2_8x2(83f10ac8959d5577).(uint32_tcxx . . $ uint32_t# a, uint32_tcxx . . $ uint32_t# b) |
| 317 | { |
| 318 | uint32_tcxx . . $ uint32_t# t = a + b; |
| 319 | t |= RB_MASK_PLUS_ONEcxx . . $ `src/sna/sna_trapezoids.h:305:9`! - ((t >> G_SHIFTcxx . . $ `src/sna/sna_trapezoids.h:306:9`!) & RB_MASKcxx . . $ `src/sna/sna_trapezoids.h:303:9`!); |
| 320 | return t & RB_MASKcxx . . $ `src/sna/sna_trapezoids.h:303:9`!; |
| 321 | } |
| 322 | |
| 323 | static force_inlinecxx . . $ `src/sna/compiler.h:35:9`! uint32_tcxx . . $ uint32_t# |
| 324 | lerp8x4cxx . . $ lerp8x4(778cb19cfda193d0).(uint32_tcxx . . $ uint32_t# src, uint8_tcxx . . $ uint8_t# a, uint32_tcxx . . $ uint32_t# dst) |
| 325 | { |
| 326 | return (add8x2_8x2cxx . . $ add8x2_8x2(83f10ac8959d5577).(mul8x2_8cxx . . $ mul8x2_8(8b98654af71362dd).(src, a), |
| 327 | mul8x2_8cxx . . $ mul8x2_8(8b98654af71362dd).(dst, ~a)) | |
| 328 | add8x2_8x2cxx . . $ add8x2_8x2(83f10ac8959d5577).(mul8x2_8cxx . . $ mul8x2_8(8b98654af71362dd).(src >> G_SHIFTcxx . . $ `src/sna/sna_trapezoids.h:306:9`!, a), |
| 329 | mul8x2_8cxx . . $ mul8x2_8(8b98654af71362dd).(dst >> G_SHIFTcxx . . $ `src/sna/sna_trapezoids.h:306:9`!, ~a)) << G_SHIFTcxx . . $ `src/sna/sna_trapezoids.h:306:9`!); |
| 330 | } |
| 331 | |
| 332 | static force_inlinecxx . . $ `src/sna/compiler.h:35:9`! uint8_tcxx . . $ uint8_t# |
| 333 | mul_8_8cxx . . $ mul_8_8(777233acce9323bd).(uint8_tcxx . . $ uint8_t# a, uint8_tcxx . . $ uint8_t# b) |
| 334 | { |
| 335 | uint16_tcxx . . $ uint16_t# t = a * (uint16_tcxx . . $ uint16_t#)b + 0x7f; |
| 336 | return ((t >> 8) + t) >> 8; |
| 337 | } |
| 338 | |
| 339 | static inline uint32_tcxx . . $ uint32_t# multacxx . . $ multa(617238d7d2679d72).(uint32_tcxx . . $ uint32_t# s, uint8_tcxx . . $ uint8_t# a, int shift) |
| 340 | { |
| 341 | return mul_8_8cxx . . $ mul_8_8(777233acce9323bd).((s >> shift) & 0xff, a) << shift; |
| 342 | } |
| 343 | |
| 344 | static inline uint32_tcxx . . $ uint32_t# mul_4x8_8cxx . . $ mul_4x8_8(8b98654af71362dd).(uint32_tcxx . . $ uint32_t# color, uint8_tcxx . . $ uint8_t# alpha) |
| 345 | { |
| 346 | uint32_tcxx . . $ uint32_t# v; |
| 347 | |
| 348 | v = 0; |
| 349 | v |= multacxx . . $ multa(617238d7d2679d72).(color, alpha, 24); |
| 350 | v |= multacxx . . $ multa(617238d7d2679d72).(color, alpha, 16); |
| 351 | v |= multacxx . . $ multa(617238d7d2679d72).(color, alpha, 8); |
| 352 | v |= multacxx . . $ multa(617238d7d2679d72).(color, alpha, 0); |
| 353 | |
| 354 | return v; |
| 355 | } |
| 356 | |
| 357 | static inline boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! |
| 358 | xTriangleValidcxx . . $ xTriangleValid(f1508c94b59345de).(const xTrianglecxx . . $ xTriangle# *t) |
| 359 | { |
| 360 | xPointFixedcxx . . $ xPointFixed# v1, v2; |
| 361 | |
| 362 | v1.xcxx . . $ $anonymous_type_d4be3316d06f2656_7#x. = t->p2cxx . . $ $anonymous_type_d4be3316d06f2656_9#p2..xcxx . . $ $anonymous_type_d4be3316d06f2656_7#x. - t->p1cxx . . $ $anonymous_type_d4be3316d06f2656_9#p1..xcxx . . $ $anonymous_type_d4be3316d06f2656_7#x.; |
| 363 | v1.ycxx . . $ $anonymous_type_d4be3316d06f2656_7#y. = t->p2cxx . . $ $anonymous_type_d4be3316d06f2656_9#p2..ycxx . . $ $anonymous_type_d4be3316d06f2656_7#y. - t->p1cxx . . $ $anonymous_type_d4be3316d06f2656_9#p1..ycxx . . $ $anonymous_type_d4be3316d06f2656_7#y.; |
| 364 | |
| 365 | v2.xcxx . . $ $anonymous_type_d4be3316d06f2656_7#x. = t->p3cxx . . $ $anonymous_type_d4be3316d06f2656_9#p3..xcxx . . $ $anonymous_type_d4be3316d06f2656_7#x. - t->p1cxx . . $ $anonymous_type_d4be3316d06f2656_9#p1..xcxx . . $ $anonymous_type_d4be3316d06f2656_7#x.; |
| 366 | v2.ycxx . . $ $anonymous_type_d4be3316d06f2656_7#y. = t->p3cxx . . $ $anonymous_type_d4be3316d06f2656_9#p3..ycxx . . $ $anonymous_type_d4be3316d06f2656_7#y. - t->p1cxx . . $ $anonymous_type_d4be3316d06f2656_9#p1..ycxx . . $ $anonymous_type_d4be3316d06f2656_7#y.; |
| 367 | |
| 368 | /* if the length of any edge is zero, the area must be zero */ |
| 369 | if (v1.xcxx . . $ $anonymous_type_d4be3316d06f2656_7#x. == 0 && v1.ycxx . . $ $anonymous_type_d4be3316d06f2656_7#y. == 0) |
| 370 | return falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 371 | if (v2.xcxx . . $ $anonymous_type_d4be3316d06f2656_7#x. == 0 && v2.ycxx . . $ $anonymous_type_d4be3316d06f2656_7#y. == 0) |
| 372 | return falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 373 | |
| 374 | /* if the cross-product is zero, so it the size */ |
| 375 | return v2.ycxx . . $ $anonymous_type_d4be3316d06f2656_7#y. * v1.xcxx . . $ $anonymous_type_d4be3316d06f2656_7#x. != v1.ycxx . . $ $anonymous_type_d4be3316d06f2656_7#y. * v2.xcxx . . $ $anonymous_type_d4be3316d06f2656_7#x.; |
| 376 | } |
| 377 | |
| 378 | #define SAMPLES_Xcxx . . $ `src/sna/sna_trapezoids.h:378:9`! 17 |
| 379 | #define SAMPLES_Ycxx . . $ `src/sna/sna_trapezoids.h:379:9`! 15 |
| 380 | |
| 381 | #define FAST_SAMPLES_shiftcxx . . $ `src/sna/sna_trapezoids.h:381:9`! 2 |
| 382 | #define FAST_SAMPLES_Xcxx . . $ `src/sna/sna_trapezoids.h:382:9`! (1<<FAST_SAMPLES_shift) |
| 383 | #define FAST_SAMPLES_Ycxx . . $ `src/sna/sna_trapezoids.h:383:9`! (1<<FAST_SAMPLES_shift) |
| 384 | #define FAST_SAMPLES_maskcxx . . $ `src/sna/sna_trapezoids.h:384:9`! ((1<<FAST_SAMPLES_shiftcxx . . $ `src/sna/sna_trapezoids.h:381:9`!)-1) |
| 385 | |
| 386 | #define pixman_fixed_integer_floorcxx . . $ `src/sna/sna_trapezoids.h:386:9`!(V) pixman_fixed_to_intcxx . . $ `<external>/17639638556090915931/pixman.h:129:9`!(V) |
| 387 | #define pixman_fixed_integer_ceilcxx . . $ `src/sna/sna_trapezoids.h:387:9`!(V) pixman_fixed_to_intcxx . . $ `<external>/17639638556090915931/pixman.h:129:9`!(pixman_fixed_ceilcxx . . $ `<external>/17639638556090915931/pixman.h:135:9`!(V)) |
| 388 | |
| 389 | static inline int pixman_fixed_to_fastcxx . . $ pixman_fixed_to_fast(7864480464b09eea).(pixman_fixed_tcxx . . $ pixman_fixed_t# v) |
| 390 | { |
| 391 | return (v + (1<<(16-FAST_SAMPLES_shiftcxx . . $ `src/sna/sna_trapezoids.h:381:9`!-1))) >> (16 - FAST_SAMPLES_shiftcxx . . $ `src/sna/sna_trapezoids.h:381:9`!); |
| 392 | } |
| 393 | |
| 394 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! trapezoids_boundscxx . . $ trapezoids_bounds(62af1b300b1e57d8).(int n, const xTrapezoidcxx . . $ xTrapezoid# *t, BoxPtrcxx . . $ BoxPtr# box); |
| 395 | |
| 396 | #define TOR_INPLACE_SIZEcxx . . $ `src/sna/sna_trapezoids.h:396:9`! 128 |
| 397 | |
| 398 | #endif /* SNA_TRAPEZOIDS_H */ |