Thread (5 messages) 5 messages, 3 authors, 2003-01-10

Re: const fb_{fillrect,copyarea,image}?

From: James Simmons <hidden>
Date: 2003-01-07 21:21:39

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).
Where is this exactly?
Of course this means that we have to modify the clipping code, which currently
just modifies the passed structure.
:-( That is done to prevent someone from passing data that is larger than 
the framebuffer.



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help