[SDL] How to make libsdl support 18bpp?

Stephane Marchesin stephane.marchesin at wanadoo.fr
Sat Jan 5 08:34:16 PST 2008


On 1/5/08, Mxdyd <mxdyd at yahoo.cn> wrote:
>
> Hello,
> I'm trying to port the libsdl onto  arm-linux,but my  LCD is  18bpp.Howcan I make it  support  18bpp?Which  file should  I  modify?



Usually, although displays advertise an accuracy of 18bpp, they are driven
either in 16bpp mode or in 24/32bpp mode, and the hw does the conversion
(likewise, a fair amount of flat panels are actually 18bpp in accuracy, and
do the 16->18 or 24->18 conversion on hardware). Are you sure your hw
exposes 18 bpp and not the more standard 16/24/32 ? I have a hard time
believing that.

Stephane
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20080105/bd83af1e/attachment.htm 


More information about the SDL mailing list