linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* const fb_{fillrect,copyarea,image}?
@ 2002-12-30 10:31 Geert Uytterhoeven
  2003-01-07 21:21 ` James Simmons
  0 siblings, 1 reply; 5+ messages in thread
From: Geert Uytterhoeven @ 2002-12-30 10:31 UTC (permalink / raw)
  To: Linux Frame Buffer Device Development


Wouldn't it make sense to make the fb_{fillrect,copyarea,image} parameters of
the fb_ops.fb_{fillrect,copyarea,image}() operations const? This would protect
us against side effects when reusing the fb_{fillrect,copyarea,image} structs
without reinitializing their contents (as is currently done by the logo drawing
code in fbcon_show_logo() on SMP).

Of course this means that we have to modify the clipping code, which currently
just modifies the passed structure.

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] 5+ messages in thread

end of thread, other threads:[~2003-01-10 10:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-30 10:31 const fb_{fillrect,copyarea,image}? Geert Uytterhoeven
2003-01-07 21:21 ` James Simmons
2003-01-07 21:31   ` Geert Uytterhoeven
2003-01-09 18:16     ` James Simmons
2003-01-10 10:28       ` 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).