Re: clipping
flat view
From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2003-01-08 09:56:51
On Tue, 7 Jan 2003, James Simmons wrote:
quoted
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.
And what if you use fbset to reduce the resolution below what's needed to
accomodate the current console size?
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com