Home
last modified time | relevance | path

Searched refs:ChanToFixed (Results 1 – 5 of 5) sorted by relevance

/external/mesa3d/src/mesa/swrast/
Ds_linetemp.h225 span.red = ChanToFixed(vert0->color[0]); in NAME()
226 span.green = ChanToFixed(vert0->color[1]); in NAME()
227 span.blue = ChanToFixed(vert0->color[2]); in NAME()
228 span.alpha = ChanToFixed(vert0->color[3]); in NAME()
229 span.redStep = (ChanToFixed(vert1->color[0]) - span.red ) / numPixels; in NAME()
230 span.greenStep = (ChanToFixed(vert1->color[1]) - span.green) / numPixels; in NAME()
231 span.blueStep = (ChanToFixed(vert1->color[2]) - span.blue ) / numPixels; in NAME()
232 span.alphaStep = (ChanToFixed(vert1->color[3]) - span.alpha) / numPixels; in NAME()
235 span.red = ChanToFixed(vert1->color[0]); in NAME()
236 span.green = ChanToFixed(vert1->color[1]); in NAME()
[all …]
Ds_points.c109 span.red = ChanToFixed(vert->color[0]); in sprite_point()
110 span.green = ChanToFixed(vert->color[1]); in sprite_point()
111 span.blue = ChanToFixed(vert->color[2]); in sprite_point()
112 span.alpha = ChanToFixed(vert->color[3]); in sprite_point()
282 span.red = ChanToFixed(vert->color[0]); in smooth_point()
283 span.green = ChanToFixed(vert->color[1]); in smooth_point()
284 span.blue = ChanToFixed(vert->color[2]); in smooth_point()
285 span.alpha = ChanToFixed(vert->color[3]); in smooth_point()
386 span.red = ChanToFixed(vert->color[0]); in large_point()
387 span.green = ChanToFixed(vert->color[1]); in large_point()
[all …]
Ds_tritemp.h641 rLeft = (GLint)(ChanToFixed(vLower->color[RCOMP]) in NAME()
644 gLeft = (GLint)(ChanToFixed(vLower->color[GCOMP]) in NAME()
647 bLeft = (GLint)(ChanToFixed(vLower->color[BCOMP]) in NAME()
657 aLeft = (GLint)(ChanToFixed(vLower->color[ACOMP]) in NAME()
666 rLeft = ChanToFixed(v2->color[RCOMP]); in NAME()
667 gLeft = ChanToFixed(v2->color[GCOMP]); in NAME()
668 bLeft = ChanToFixed(v2->color[BCOMP]); in NAME()
671 aLeft = ChanToFixed(v2->color[ACOMP]); in NAME()
Ds_context.h436 #define ChanToFixed(X) (X) macro
439 #define ChanToFixed(X) IntToFixed(X) macro
Ds_triangle.c83 span.red = ChanToFixed(v2->color[0]); \
84 span.green = ChanToFixed(v2->color[1]); \
85 span.blue = ChanToFixed(v2->color[2]); \
86 span.alpha = ChanToFixed(v2->color[3]); \