/GUIX-v6.2.1/common/src/ |
D | gx_display_driver_simple_line_alpha_draw.c | 89 INT decision; in _gx_display_driver_simple_line_alpha_draw() local 152 … for (curx = xstart, cury = ystart, decision = (dx >> 1); curx < mid_point.gx_point_x; in _gx_display_driver_simple_line_alpha_draw() 153 curx++, decision += dy) in _gx_display_driver_simple_line_alpha_draw() 155 if (decision >= dx) in _gx_display_driver_simple_line_alpha_draw() 157 decision -= dx; in _gx_display_driver_simple_line_alpha_draw() 169 curx++, decision += dy) in _gx_display_driver_simple_line_alpha_draw() 171 if (decision >= dx) in _gx_display_driver_simple_line_alpha_draw() 173 decision -= dx; in _gx_display_driver_simple_line_alpha_draw() 179 for (nextx = xend, nexty = yend, decision = (dx >> 1); nextx > mid_point.gx_point_x; in _gx_display_driver_simple_line_alpha_draw() 180 nextx--, decision += dy) in _gx_display_driver_simple_line_alpha_draw() [all …]
|
D | gx_display_driver_32bpp_simple_line_draw.c | 82 INT decision; in _gx_display_driver_32bpp_simple_line_draw() local 170 … for (curx = xstart, cury = ystart, decision = (dx >> 1); curx < mid_point.gx_point_x; in _gx_display_driver_32bpp_simple_line_draw() 171 curx++, decision += dy) in _gx_display_driver_32bpp_simple_line_draw() 173 if (decision >= dx) in _gx_display_driver_32bpp_simple_line_draw() 175 decision -= dx; in _gx_display_driver_32bpp_simple_line_draw() 189 curx++, decision += dy) in _gx_display_driver_32bpp_simple_line_draw() 191 if (decision >= dx) in _gx_display_driver_32bpp_simple_line_draw() 193 decision -= dx; in _gx_display_driver_32bpp_simple_line_draw() 200 for (nextx = xend, nexty = yend, decision = (dx >> 1); nextx > mid_point.gx_point_x; in _gx_display_driver_32bpp_simple_line_draw() 201 nextx--, decision += dy) in _gx_display_driver_32bpp_simple_line_draw() [all …]
|
D | gx_display_driver_8bpp_simple_line_draw.c | 89 INT decision; in _gx_display_driver_8bpp_simple_line_draw() local 183 … for (curx = xstart, cury = ystart, decision = (dx >> 1); curx < mid_point.gx_point_x; in _gx_display_driver_8bpp_simple_line_draw() 184 curx++, decision += dy) in _gx_display_driver_8bpp_simple_line_draw() 186 if (decision >= dx) in _gx_display_driver_8bpp_simple_line_draw() 188 decision -= dx; in _gx_display_driver_8bpp_simple_line_draw() 202 curx++, decision += dy) in _gx_display_driver_8bpp_simple_line_draw() 204 if (decision >= dx) in _gx_display_driver_8bpp_simple_line_draw() 206 decision -= dx; in _gx_display_driver_8bpp_simple_line_draw() 213 for (nextx = xend, nexty = yend, decision = (dx >> 1); nextx > mid_point.gx_point_x; in _gx_display_driver_8bpp_simple_line_draw() 214 nextx--, decision += dy) in _gx_display_driver_8bpp_simple_line_draw() [all …]
|
D | gx_display_driver_16bpp_simple_line_draw.c | 86 INT decision; in _gx_display_driver_16bpp_simple_line_draw() local 174 … for (curx = xstart, cury = ystart, decision = (dx >> 1); curx < mid_point.gx_point_x; in _gx_display_driver_16bpp_simple_line_draw() 175 curx++, decision += dy) in _gx_display_driver_16bpp_simple_line_draw() 177 if (decision >= dx) in _gx_display_driver_16bpp_simple_line_draw() 179 decision -= dx; in _gx_display_driver_16bpp_simple_line_draw() 193 curx++, decision += dy) in _gx_display_driver_16bpp_simple_line_draw() 195 if (decision >= dx) in _gx_display_driver_16bpp_simple_line_draw() 197 decision -= dx; in _gx_display_driver_16bpp_simple_line_draw() 204 for (nextx = xend, nexty = yend, decision = (dx >> 1); nextx > mid_point.gx_point_x; in _gx_display_driver_16bpp_simple_line_draw() 205 nextx--, decision += dy) in _gx_display_driver_16bpp_simple_line_draw() [all …]
|
D | gx_display_driver_1bpp_simple_line_draw.c | 90 INT decision; in _gx_display_driver_1bpp_simple_line_draw() local 171 … for (curx = xstart, cury = ystart, decision = (dx >> 1); curx < mid_point.gx_point_x; in _gx_display_driver_1bpp_simple_line_draw() 172 curx++, decision += dy) in _gx_display_driver_1bpp_simple_line_draw() 174 if (decision >= dx) in _gx_display_driver_1bpp_simple_line_draw() 176 decision -= dx; in _gx_display_driver_1bpp_simple_line_draw() 191 curx++, decision += dy) in _gx_display_driver_1bpp_simple_line_draw() 193 if (decision >= dx) in _gx_display_driver_1bpp_simple_line_draw() 195 decision -= dx; in _gx_display_driver_1bpp_simple_line_draw() 212 for (nextx = xend, nexty = yend, decision = (dx >> 1); nextx > mid_point.gx_point_x; in _gx_display_driver_1bpp_simple_line_draw() 213 nextx--, decision += dy) in _gx_display_driver_1bpp_simple_line_draw() [all …]
|
D | gx_display_driver_8bpp_rotated_simple_line_draw.c | 84 INT decision; in _gx_display_driver_8bpp_rotated_simple_line_draw() local 186 … for (curx = xstart, cury = ystart, decision = (dx >> 1); curx < mid_point.gx_point_x; in _gx_display_driver_8bpp_rotated_simple_line_draw() 187 curx++, decision += dy) in _gx_display_driver_8bpp_rotated_simple_line_draw() 189 if (decision >= dx) in _gx_display_driver_8bpp_rotated_simple_line_draw() 191 decision -= dx; in _gx_display_driver_8bpp_rotated_simple_line_draw() 205 curx++, decision += dy) in _gx_display_driver_8bpp_rotated_simple_line_draw() 207 if (decision >= dx) in _gx_display_driver_8bpp_rotated_simple_line_draw() 209 decision -= dx; in _gx_display_driver_8bpp_rotated_simple_line_draw() 216 for (nextx = xend, nexty = yend, decision = (dx >> 1); nextx > mid_point.gx_point_x; in _gx_display_driver_8bpp_rotated_simple_line_draw() 217 nextx--, decision += dy) in _gx_display_driver_8bpp_rotated_simple_line_draw() [all …]
|
D | gx_display_driver_32bpp_rotated_simple_line_draw.c | 80 INT decision; in _gx_display_driver_32bpp_rotated_simple_line_draw() local 198 … for (curx = xstart, cury = ystart, decision = (dx >> 1); curx < mid_point.gx_point_x; in _gx_display_driver_32bpp_rotated_simple_line_draw() 199 curx++, decision += dy) in _gx_display_driver_32bpp_rotated_simple_line_draw() 201 if (decision >= dx) in _gx_display_driver_32bpp_rotated_simple_line_draw() 203 decision -= dx; in _gx_display_driver_32bpp_rotated_simple_line_draw() 217 curx++, decision += dy) in _gx_display_driver_32bpp_rotated_simple_line_draw() 219 if (decision >= dx) in _gx_display_driver_32bpp_rotated_simple_line_draw() 221 decision -= dx; in _gx_display_driver_32bpp_rotated_simple_line_draw() 228 for (nextx = xend, nexty = yend, decision = (dx >> 1); nextx > mid_point.gx_point_x; in _gx_display_driver_32bpp_rotated_simple_line_draw() 229 nextx--, decision += dy) in _gx_display_driver_32bpp_rotated_simple_line_draw() [all …]
|
D | gx_display_driver_16bpp_rotated_simple_line_draw.c | 83 INT decision; in _gx_display_driver_16bpp_rotated_simple_line_draw() local 204 … for (curx = xstart, cury = ystart, decision = (dx >> 1); curx < mid_point.gx_point_x; in _gx_display_driver_16bpp_rotated_simple_line_draw() 205 curx++, decision += dy) in _gx_display_driver_16bpp_rotated_simple_line_draw() 207 if (decision >= dx) in _gx_display_driver_16bpp_rotated_simple_line_draw() 209 decision -= dx; in _gx_display_driver_16bpp_rotated_simple_line_draw() 223 curx++, decision += dy) in _gx_display_driver_16bpp_rotated_simple_line_draw() 225 if (decision >= dx) in _gx_display_driver_16bpp_rotated_simple_line_draw() 227 decision -= dx; in _gx_display_driver_16bpp_rotated_simple_line_draw() 234 for (nextx = xend, nexty = yend, decision = (dx >> 1); nextx > mid_point.gx_point_x; in _gx_display_driver_16bpp_rotated_simple_line_draw() 235 nextx--, decision += dy) in _gx_display_driver_16bpp_rotated_simple_line_draw() [all …]
|
D | gx_display_driver_4bpp_simple_line_draw.c | 90 INT decision; in _gx_display_driver_4bpp_simple_line_draw() local 170 … for (curx = xstart, cury = ystart, decision = (dx >> 1); curx < mid_point.gx_point_x; in _gx_display_driver_4bpp_simple_line_draw() 171 curx++, decision += dy) in _gx_display_driver_4bpp_simple_line_draw() 173 if (decision >= dx) in _gx_display_driver_4bpp_simple_line_draw() 175 decision -= dx; in _gx_display_driver_4bpp_simple_line_draw() 190 curx++, decision += dy) in _gx_display_driver_4bpp_simple_line_draw() 192 if (decision >= dx) in _gx_display_driver_4bpp_simple_line_draw() 194 decision -= dx; in _gx_display_driver_4bpp_simple_line_draw() 213 for (nextx = xend, nexty = yend, decision = (dx >> 1); nextx > mid_point.gx_point_x; in _gx_display_driver_4bpp_simple_line_draw() 214 nextx--, decision += dy) in _gx_display_driver_4bpp_simple_line_draw() [all …]
|
D | gx_display_driver_generic_rotated_wide_line_fill.c | 103 INT decision; in _gx_display_driver_generic_rotated_wide_line_fill() local 195 decision = (y_fraction * dx - x_fraction * dy) / GX_FIXED_VAL_ONE; in _gx_display_driver_generic_rotated_wide_line_fill() 197 if (decision < 0) in _gx_display_driver_generic_rotated_wide_line_fill() 199 decision += dx; in _gx_display_driver_generic_rotated_wide_line_fill() 212 decision += dy; in _gx_display_driver_generic_rotated_wide_line_fill() 230 decision += dy; in _gx_display_driver_generic_rotated_wide_line_fill() 233 decision += (dx >> 1); in _gx_display_driver_generic_rotated_wide_line_fill() 234 if (decision >= dx) in _gx_display_driver_generic_rotated_wide_line_fill() 236 decision -= dx; in _gx_display_driver_generic_rotated_wide_line_fill() 241 for (curx = xstart; curx <= xend; curx++, decision += dy) in _gx_display_driver_generic_rotated_wide_line_fill() [all …]
|
D | gx_display_driver_generic_wide_line_fill.c | 105 INT decision; in _gx_display_driver_generic_wide_line_fill() local 197 decision = (y_fraction * dx - x_fraction * dy) / GX_FIXED_VAL_ONE; in _gx_display_driver_generic_wide_line_fill() 199 if (decision < 0) in _gx_display_driver_generic_wide_line_fill() 201 decision += dx; in _gx_display_driver_generic_wide_line_fill() 214 decision += dy; in _gx_display_driver_generic_wide_line_fill() 232 decision += dy; in _gx_display_driver_generic_wide_line_fill() 235 decision += (dx >> 1); in _gx_display_driver_generic_wide_line_fill() 236 if (decision >= dx) in _gx_display_driver_generic_wide_line_fill() 238 decision -= dx; in _gx_display_driver_generic_wide_line_fill() 243 for (curx = xstart; curx <= xend; curx++, decision += dy) in _gx_display_driver_generic_wide_line_fill() [all …]
|
D | gx_display_driver_generic_filled_circle_draw.c | 91 INT decision; in _gx_display_driver_generic_filled_circle_draw() local 118 decision = 256 - r; in _gx_display_driver_generic_filled_circle_draw() 122 decision = (x >> half_shift) * (x >> half_shift); in _gx_display_driver_generic_filled_circle_draw() 123 … decision += ((y - GX_FIXED_VAL_HALF) >> half_shift) * ((y - GX_FIXED_VAL_HALF) >> half_shift); in _gx_display_driver_generic_filled_circle_draw() 124 decision -= ((r >> half_shift) * (r >> half_shift)); in _gx_display_driver_generic_filled_circle_draw() 129 if (decision < 0) in _gx_display_driver_generic_filled_circle_draw() 131 decision += 2 * x + GX_FIXED_VAL_ONE; in _gx_display_driver_generic_filled_circle_draw() 135 decision += 2 * (x - y) + GX_FIXED_VAL_MAKE(3); in _gx_display_driver_generic_filled_circle_draw() 185 decision = 256 - r; in _gx_display_driver_generic_filled_circle_draw() 189 … decision = (((x - GX_FIXED_VAL_HALF) >> half_shift) * ((x - GX_FIXED_VAL_HALF) >> half_shift)); in _gx_display_driver_generic_filled_circle_draw() [all …]
|
D | gx_display_driver_generic_aliased_fixed_point_line_draw.c | 103 INT decision; in _gx_display_driver_generic_aliased_fixed_point_line_draw() local 166 decision = (y_fraction * dx - x_fraction * dy) / GX_FIXED_VAL_ONE; in _gx_display_driver_generic_aliased_fixed_point_line_draw() 170 if (decision < 0) in _gx_display_driver_generic_aliased_fixed_point_line_draw() 172 decision += dx; in _gx_display_driver_generic_aliased_fixed_point_line_draw() 197 decision = (x_fraction * dy - y_fraction * dx) / GX_FIXED_VAL_ONE; in _gx_display_driver_generic_aliased_fixed_point_line_draw() 201 if (decision < 0) in _gx_display_driver_generic_aliased_fixed_point_line_draw() 203 decision += dy; in _gx_display_driver_generic_aliased_fixed_point_line_draw() 218 for (curx = point.gx_point_x; curx <= point2.gx_point_x; curx++, decision += dy) in _gx_display_driver_generic_aliased_fixed_point_line_draw() 220 if (decision >= dx) in _gx_display_driver_generic_aliased_fixed_point_line_draw() 222 decision -= dx; in _gx_display_driver_generic_aliased_fixed_point_line_draw() [all …]
|
D | gx_display_driver_generic_aliased_line_draw.c | 95 INT decision; in _gx_display_driver_generic_aliased_line_draw() local 203 decision = 0; curx <= nextx; curx++, nextx--, in _gx_display_driver_generic_aliased_line_draw() 204 decision += dy) in _gx_display_driver_generic_aliased_line_draw() 206 if (decision >= dx) in _gx_display_driver_generic_aliased_line_draw() 208 decision -= dx; in _gx_display_driver_generic_aliased_line_draw() 213 back_alpha = ((decision << 8) / dx); in _gx_display_driver_generic_aliased_line_draw() 233 decision = 0; cury <= nexty; cury++, nexty--, in _gx_display_driver_generic_aliased_line_draw() 234 decision += dx) in _gx_display_driver_generic_aliased_line_draw() 236 if (decision >= dy) in _gx_display_driver_generic_aliased_line_draw() 238 decision -= dy; in _gx_display_driver_generic_aliased_line_draw() [all …]
|
D | gx_display_driver_generic_simple_pie_fill.c | 121 INT decision; in _gx_display_driver_generic_simple_pie_fill() local 234 decision = 5 - (INT)(4 * r); in _gx_display_driver_generic_simple_pie_fill() 283 if (decision < 0) in _gx_display_driver_generic_simple_pie_fill() 285 decision += 8 * curx + 12; in _gx_display_driver_generic_simple_pie_fill() 289 decision += 8 * (curx - cury) + 20; in _gx_display_driver_generic_simple_pie_fill() 386 decision = (dx >> 1); curx <= nextx; curx++, nextx--, in _gx_display_driver_generic_simple_pie_fill() 387 decision += dy) in _gx_display_driver_generic_simple_pie_fill() 389 if (decision >= dx) in _gx_display_driver_generic_simple_pie_fill() 391 decision -= dx; in _gx_display_driver_generic_simple_pie_fill() 430 decision = (dy >> 1); cury <= nexty; cury++, nexty--, in _gx_display_driver_generic_simple_pie_fill() [all …]
|
D | gx_display_driver_generic_arc_fill.c | 116 INT decision; in _gx_display_driver_generic_arc_fill() local 268 decision = (INT)(5 - 4 * r); in _gx_display_driver_generic_arc_fill() 323 if (decision < 0) in _gx_display_driver_generic_arc_fill() 325 decision += 8 * curx + 12; in _gx_display_driver_generic_arc_fill() 329 decision += 8 * (curx - cury) + 20; in _gx_display_driver_generic_arc_fill() 387 decision = (dx >> 1); curx <= nextx; curx++, nextx--, in _gx_display_driver_generic_arc_fill() 388 decision += dy) in _gx_display_driver_generic_arc_fill() 390 if (decision >= dx) in _gx_display_driver_generic_arc_fill() 392 decision -= dx; in _gx_display_driver_generic_arc_fill() 431 decision = (dy >> 1); cury <= nexty; cury++, nexty--, in _gx_display_driver_generic_arc_fill() [all …]
|
D | gx_display_driver_generic_rotated_arc_fill.c | 113 INT decision; in _gx_display_driver_generic_rotated_arc_fill() local 237 decision = (INT)(5 - 4 * r); in _gx_display_driver_generic_rotated_arc_fill() 292 if (decision < 0) in _gx_display_driver_generic_rotated_arc_fill() 294 decision += 8 * curx + 12; in _gx_display_driver_generic_rotated_arc_fill() 298 decision += 8 * (curx - cury) + 20; in _gx_display_driver_generic_rotated_arc_fill() 355 decision = (dx >> 1); curx <= nextx; curx++, nextx--, in _gx_display_driver_generic_rotated_arc_fill() 356 decision += dy) in _gx_display_driver_generic_rotated_arc_fill() 358 if (decision >= dx) in _gx_display_driver_generic_rotated_arc_fill() 360 decision -= dx; in _gx_display_driver_generic_rotated_arc_fill() 399 decision = (dy >> 1); cury <= nexty; cury++, nexty--, in _gx_display_driver_generic_rotated_arc_fill() [all …]
|
D | gx_display_driver_generic_rotated_pie_fill.c | 122 INT decision; in _gx_display_driver_generic_rotated_simple_pie_fill() local 216 decision = 5 - (INT)(4 * r); in _gx_display_driver_generic_rotated_simple_pie_fill() 265 if (decision < 0) in _gx_display_driver_generic_rotated_simple_pie_fill() 267 decision += 8 * curx + 12; in _gx_display_driver_generic_rotated_simple_pie_fill() 271 decision += 8 * (curx - cury) + 20; in _gx_display_driver_generic_rotated_simple_pie_fill() 344 decision = (dx >> 1); curx <= nextx; curx++, nextx--, in _gx_display_driver_generic_rotated_simple_pie_fill() 345 decision += dy) in _gx_display_driver_generic_rotated_simple_pie_fill() 347 if (decision >= dx) in _gx_display_driver_generic_rotated_simple_pie_fill() 349 decision -= dx; in _gx_display_driver_generic_rotated_simple_pie_fill() 411 decision = (dy >> 1); cury <= nexty; cury++, nexty--, in _gx_display_driver_generic_rotated_simple_pie_fill() [all …]
|
D | gx_display_driver_generic_wide_arc_draw.c | 114 INT decision; in _gx_display_driver_generic_simple_wide_arc_draw() local 222 decision = 5 - (INT)(4 * r); in _gx_display_driver_generic_simple_wide_arc_draw() 271 if (decision < 0) in _gx_display_driver_generic_simple_wide_arc_draw() 273 decision += 8 * curx + 12; in _gx_display_driver_generic_simple_wide_arc_draw() 277 decision += 8 * (curx - cury) + 20; in _gx_display_driver_generic_simple_wide_arc_draw() 357 decision = (dx >> 1); curx <= nextx; curx++, nextx--, in _gx_display_driver_generic_simple_wide_arc_draw() 358 decision += dy) in _gx_display_driver_generic_simple_wide_arc_draw() 360 if (decision >= dx) in _gx_display_driver_generic_simple_wide_arc_draw() 362 decision -= dx; in _gx_display_driver_generic_simple_wide_arc_draw() 401 decision = (dy >> 1); cury <= nexty; cury++, nexty--, in _gx_display_driver_generic_simple_wide_arc_draw() [all …]
|
D | gx_display_driver_generic_aliased_wide_arc_draw.c | 120 INT decision; in _gx_display_driver_generic_simple_aliased_wide_arc_draw() local 528 decision = 0; curx <= nextx; curx++, nextx--, in _gx_display_driver_generic_simple_aliased_wide_arc_draw() 529 decision += dy) in _gx_display_driver_generic_simple_aliased_wide_arc_draw() 531 if (decision >= dx) in _gx_display_driver_generic_simple_aliased_wide_arc_draw() 533 decision -= dx; in _gx_display_driver_generic_simple_aliased_wide_arc_draw() 586 decision = 0; cury <= nexty; cury++, nexty--, in _gx_display_driver_generic_simple_aliased_wide_arc_draw() 587 decision += dx) in _gx_display_driver_generic_simple_aliased_wide_arc_draw() 589 if (decision >= dy) in _gx_display_driver_generic_simple_aliased_wide_arc_draw() 591 decision -= dy; in _gx_display_driver_generic_simple_aliased_wide_arc_draw()
|