On Dec 7, 6:48 am, mattschinkel <[email protected]> wrote:
> I reviewed the GLCD common library, and I propose some changes. This
> would affect libraries and samples for ks0108 and nokia3310.
>
> Currently, GLCD common library is only setup for 2 color displays. I
> believe it can be setup to work with 2 color and 65535 color displays
> with constants, otherwise will will have duplicate procedures. Please
> let me know what you think.
>
> 1. All procedures should have a color bit

no.

I've done many graphics libraries
1 bit is quite different from
8 bit palette which is quite different from
high color (16bit/no palette/65K colour)
High Colour and True Colour are similar, and can use same library but
some penalty, but overall treating High Colour as RGB with 8 bits per
colour is better.
32 bit (Alpha Blend / transparency) is quite different and a lot more
overhead
Libraries with Z plane (4,8 or 16bits for distance are possible)
48 bit allows alpha & Z plane.

So leave the 1 bit mono libraries as is. I will  have my update Colour
GLCD with Widgets and Touch support which will use a RGB layer API and
then choice of High Colour or True Colour low level panel specific
drivers..



-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en.

Reply via email to