Re: clipping
flat view
From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2003-01-07 21:09:37
On 3 Jan 2003, Antonino Daplas wrote:
On Mon, 2002-12-30 at 05:21, Geert Uytterhoeven wrote:quoted
cfb_imageblit() takes care of clipping, but forgets to update fb_image.data if fb_image.d[xy] was changed. 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?
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