[U-Boot-Users] [PATCH] LOGO: Adds LCD color map 565 support.

Wolfgang Grandegger
2007-05-30T07:50:55Z

Hi Rodolfo,

sorry for the late answer.

Rodolfo Giometti wrote:
> On Fri, May 25, 2007 at 06:53:52PM +0200, Wolfgang Denk wrote:
>> What about lcd_display_bitmap() and the color map it uses?
>
> This is used for the splash screen... to be honest I don't know which
> is the difference against the logo but so it is...
>
>> Why do we have two functions lcd_display_bitmap() and bitmap_plot(*)
>> in the first place? I feel both do very similar things? Maybe only
>> one function is needed?
>
> I think so...

Yes, it should be possible handle both with one drawing function.

>> [Please negotiate this also with Wolfgang Grandegger!]
>
> Ok. Currently I only used bitmap_plot() since, in my opinion, is more
> easy to manage...

One limitation of bitmap_plot, and also display_bitmap is, that it does
not work for back&white displays, even if the latter function is used
somehow for black&white display, e.g. with ugly hacks for MCC200. I
would like to have generic drawing functions for 1, 8 and 16 bpp.

Wolfgang.