Thread (15 messages) 15 messages, 3 authors, 2003-01-11
  • clipping · Geert Uytterhoeven <geert@linux-m68k.org> · 2002-12-29
  • Re: clipping · Antonino Daplas <hidden> · 2003-01-03
  • Re: clipping · Geert Uytterhoeven <geert@linux-m68k.org> · 2003-01-07
  • Re: clipping · James Simmons <hidden> · 2003-01-07
  • Re: clipping · Geert Uytterhoeven <geert@linux-m68k.org> · 2003-01-08
  • Re: clipping · Antonino Daplas <hidden> · 2003-01-08
  • Re: clipping · James Simmons <hidden> · 2003-01-09
  • Re: clipping · Geert Uytterhoeven <geert@linux-m68k.org> · 2003-01-09
  • Re: [RESEND] clipping · Antonino Daplas <hidden> · 2003-01-10
  • Re: clipping · James Simmons <hidden> · 2003-01-10
  • Re: clipping · Geert Uytterhoeven <geert@linux-m68k.org> · 2003-01-10
  • Re: clipping · Antonino Daplas <hidden> · 2003-01-11
  • Re: clipping · Antonino Daplas <hidden> · 2003-01-10
  • Re: clipping · Geert Uytterhoeven <geert@linux-m68k.org> · 2003-01-10
  • Re: clipping · James Simmons <hidden> · 2003-01-09

clipping

From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2002-12-29 21:21:52

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}()?

If these calls are accessible from user space through ioctl() (if anyone really
wants to do that?!?), I guess the answer is yes. For calls from kernel space,
I'd say it's not necessary since calling them with out-of-range parameters is a
bug anyway.
So we could move the clipping to the generic ioctl() handling in fbmem.c, if we
ever want to provide that functionality. Or is there a too high speed penalty
for graphics chips that do implement clipping in hardware?

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:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help