Lines Matching defs:rect
305 void fbcon_sis_fillrect(struct fb_info *info, const struct fb_fillrect *rect)
318 cfb_fillrect(info, rect);
322 if(!rect->width || !rect->height || rect->dx >= vxres || rect->dy >= vyres)
326 width = ((rect->dx + rect->width) > vxres) ? (vxres - rect->dx) : rect->width;
327 height = ((rect->dy + rect->height) > vyres) ? (vyres - rect->dy) : rect->height;
330 case 8: col = rect->color;
333 case 32: col = ((u32 *)(info->pseudo_palette))[rect->color];
340 SiS300SetupForSolidFill(ivideo, col, myrops[rect->rop]);
341 SiS300SubsequentSolidFillRect(ivideo, rect->dx, rect->dy, width, height);
347 SiS310SetupForSolidFill(ivideo, col, myrops[rect->rop]);
348 SiS310SubsequentSolidFillRect(ivideo, rect->dx, rect->dy, width, height);