Lines Matching defs:modded
71 struct fb_fillrect modded;
86 memcpy(&modded, region, sizeof(struct fb_fillrect));
88 if(!modded.width || !modded.height ||
89 modded.dx >= vxres || modded.dy >= vyres)
92 if(modded.dx + modded.width > vxres) modded.width = vxres - modded.dx;
93 if(modded.dy + modded.height > vyres) modded.height = vyres - modded.dy;
95 radeonfb_prim_fillrect(rinfo, &modded);
138 struct fb_copyarea modded;
140 modded.sx = area->sx;
141 modded.sy = area->sy;
142 modded.dx = area->dx;
143 modded.dy = area->dy;
144 modded.width = area->width;
145 modded.height = area->height;
159 if(!modded.width || !modded.height ||
160 modded.sx >= vxres || modded.sy >= vyres ||
161 modded.dx >= vxres || modded.dy >= vyres)
164 if(modded.sx + modded.width > vxres) modded.width = vxres - modded.sx;
165 if(modded.dx + modded.width > vxres) modded.width = vxres - modded.dx;
166 if(modded.sy + modded.height > vyres) modded.height = vyres - modded.sy;
167 if(modded.dy + modded.height > vyres) modded.height = vyres - modded.dy;
169 radeonfb_prim_copyarea(rinfo, &modded);