Re: clipping
flat view
From: James Simmons <hidden>
Date: 2003-01-07 22:13:38
quoted
quoted
BTW, do we really need clipping in fb_ops.fb_{fillrect,copyarea,imageblit}()?Personally, I don't think we need clipping. I tried removing it before (circa linux-2.5.30+), but the console segfaults whenever I decrease var->yres_virtual. I haven't tried this again with the newest framebuffer framework though.Any definitive answer on this? What happens if you resize the VT to such a large size that columns*fontwidth > xres_virtual or rows*fontheight > yres_virtual? I guess clipping prevents a crash there?
Correct. Actually fbcon_resize checks to make sure the user doesn't do something stupid like this. So we might not needed. Hm. ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com