Lines Matching refs:modded
55 struct fb_fillrect modded;
70 memcpy(&modded, region, sizeof(struct fb_fillrect));
72 if(!modded.width || !modded.height ||
73 modded.dx >= vxres || modded.dy >= vyres)
76 if(modded.dx + modded.width > vxres) modded.width = vxres - modded.dx;
77 if(modded.dy + modded.height > vyres) modded.height = vyres - modded.dy;
79 radeonfb_prim_fillrect(rinfo, &modded);
122 struct fb_copyarea modded;
124 modded.sx = area->sx;
125 modded.sy = area->sy;
126 modded.dx = area->dx;
127 modded.dy = area->dy;
128 modded.width = area->width;
129 modded.height = area->height;
143 if(!modded.width || !modded.height ||
144 modded.sx >= vxres || modded.sy >= vyres ||
145 modded.dx >= vxres || modded.dy >= vyres)
148 if(modded.sx + modded.width > vxres) modded.width = vxres - modded.sx;
149 if(modded.dx + modded.width > vxres) modded.width = vxres - modded.dx;
150 if(modded.sy + modded.height > vyres) modded.height = vyres - modded.sy;
151 if(modded.dy + modded.height > vyres) modded.height = vyres - modded.dy;
153 radeonfb_prim_copyarea(rinfo, &modded);