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.c108 span.red = ChanToFixed(vert->color[0]); in sprite_point()
109 span.green = ChanToFixed(vert->color[1]); in sprite_point()
110 span.blue = ChanToFixed(vert->color[2]); in sprite_point()
111 span.alpha = ChanToFixed(vert->color[3]); in sprite_point()
281 span.red = ChanToFixed(vert->color[0]); in smooth_point()
282 span.green = ChanToFixed(vert->color[1]); in smooth_point()
283 span.blue = ChanToFixed(vert->color[2]); in smooth_point()
284 span.alpha = ChanToFixed(vert->color[3]); in smooth_point()
385 span.red = ChanToFixed(vert->color[0]); in large_point()
386 span.green = ChanToFixed(vert->color[1]); in large_point()
[all …]
Ds_tritemp.h647 rLeft = (GLint)(ChanToFixed(vLower->color[RCOMP]) in NAME()
650 gLeft = (GLint)(ChanToFixed(vLower->color[GCOMP]) in NAME()
653 bLeft = (GLint)(ChanToFixed(vLower->color[BCOMP]) in NAME()
663 aLeft = (GLint)(ChanToFixed(vLower->color[ACOMP]) in NAME()
672 rLeft = ChanToFixed(v2->color[RCOMP]); in NAME()
673 gLeft = ChanToFixed(v2->color[GCOMP]); in NAME()
674 bLeft = ChanToFixed(v2->color[BCOMP]); in NAME()
677 aLeft = ChanToFixed(v2->color[ACOMP]); in NAME()
Ds_context.h456 #define ChanToFixed(X) (X) macro
459 #define ChanToFixed(X) IntToFixed(X) macro
Ds_triangle.c84 span.red = ChanToFixed(v2->color[0]); \
85 span.green = ChanToFixed(v2->color[1]); \
86 span.blue = ChanToFixed(v2->color[2]); \
87 span.alpha = ChanToFixed(v2->color[3]); \