linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: fb_imageblit semantic
@ 2003-03-17 12:25 Petr Vandrovec
  2003-03-17 12:40 ` Geert Uytterhoeven
  2003-03-17 13:02 ` Antonino Daplas
  0 siblings, 2 replies; 9+ messages in thread
From: Petr Vandrovec @ 2003-03-17 12:25 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: James Simmons, Linux Frame Buffer Device Development, adaplas

On 17 Mar 03 at 13:18, Geert Uytterhoeven wrote:
> 
> That depends... How do we draw the monochrome penguin? Using image->depth is 1
> or 8? The latter (current method) is slower, since we need to expand the
> monochrome logo to 8-bit first, and (usually) compress it to 1-bit in the fbdev
> driver afterwards.

As far as I can see, it gets monochromatic logo and converts it to
8bpp format ;-) (fb_set_logo, needs_logo = 1 or ~1) And then imageblit
converts it back to 1bpp.
 
> And perhaps we may want to draw 32-bit ARGB images later?
> 
> So I see the following possible valid values for image->depth:
>   - 8 (logo with up to 256 colors and LUT)
>   - optional 1 (monochrome logo, if we don't want to expand?)
>   - optional 32 (ARGB image, dithering left to the driver?)

I still do not understand 'if we don't want to expand'. This forces too
much knowledge on upper layer, as far as I can tell.
                                                    Petr Vandrovec
                                                    



-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en

^ permalink raw reply	[flat|nested] 9+ messages in thread
[parent not found: <3E7759E5.8300.528C610@localhost>]

end of thread, other threads:[~2003-03-19 19:42 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-17 12:25 fb_imageblit semantic Petr Vandrovec
2003-03-17 12:40 ` Geert Uytterhoeven
2003-03-17 13:02 ` Antonino Daplas
2003-03-17 13:47   ` Geert Uytterhoeven
2003-03-17 14:24     ` Antonino Daplas
2003-03-17 14:46       ` Geert Uytterhoeven
2003-03-18 21:46       ` Detecting if the mode can be changed? Kendall Bennett
2003-03-18 23:50         ` Enumerating available display modes? Kendall Bennett
     [not found] <3E7759E5.8300.528C610@localhost>
     [not found] ` <20030319020755.45526.qmail@web14904.mail.yahoo.com>
2003-03-19 19:42   ` Kendall Bennett

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).