Home | History | Annotate | Download | only in svga

Lines Matching defs:color

115       uint32 color;
116 uint32 r = float_to_ubyte(svga->curr.blend_color.color[0]);
117 uint32 g = float_to_ubyte(svga->curr.blend_color.color[1]);
118 uint32 b = float_to_ubyte(svga->curr.blend_color.color[2]);
119 uint32 a = float_to_ubyte(svga->curr.blend_color.color[3]);
121 color = (a << 24) | (r << 16) | (g << 8) | b;
123 EMIT_RS( svga, color, BLENDCOLOR, fail );
264 /* XXX: we only look at the first color buffer's sRGB state */
365 blend_factor[3] = svga->curr.blend_color.color[3];
368 blend_factor[0] = svga->curr.blend_color.color[0];
369 blend_factor[1] = svga->curr.blend_color.color[1];
370 blend_factor[2] = svga->curr.blend_color.color[2];
371 blend_factor[3] = svga->curr.blend_color.color[3];