linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* clipping
@ 2002-12-29 21:21 Geert Uytterhoeven
  2003-01-03 10:36 ` clipping Antonino Daplas
  0 siblings, 1 reply; 17+ messages in thread
From: Geert Uytterhoeven @ 2002-12-29 21:21 UTC (permalink / raw)
  To: Linux Frame Buffer Device Development


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

^ permalink raw reply	[flat|nested] 17+ messages in thread
[parent not found: <1042172278.933.145.camel@localhost.localdomain>]
[parent not found: <Pine.LNX.4.44.0301102030310.30522-100000@phoenix.infradead.org>]

end of thread, other threads:[~2003-01-11  5:23 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-29 21:21 clipping Geert Uytterhoeven
2003-01-03 10:36 ` clipping Antonino Daplas
2003-01-07 21:08   ` clipping Geert Uytterhoeven
2003-01-07 22:13     ` clipping James Simmons
2003-01-08  9:54       ` clipping Geert Uytterhoeven
2003-01-08 16:26         ` clipping Antonino Daplas
2003-01-09 21:24           ` clipping James Simmons
2003-01-09 21:46             ` clipping Geert Uytterhoeven
2003-01-10 13:55               ` [RESEND] clipping Antonino Daplas
2003-01-10 19:39               ` clipping James Simmons
2003-01-10 19:48                 ` clipping Geert Uytterhoeven
2003-01-11  5:12                 ` clipping Antonino Daplas
2003-01-10 10:27             ` clipping Antonino Daplas
2003-01-10 10:45               ` clipping Geert Uytterhoeven
2003-01-09 21:09         ` clipping James Simmons
     [not found] <1042172278.933.145.camel@localhost.localdomain>
2003-01-10 10:49 ` clipping Geert Uytterhoeven
     [not found] <Pine.LNX.4.44.0301102030310.30522-100000@phoenix.infradead.org>
2003-01-11  5:12 ` clipping Antonino Daplas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).