Re: [AD] Component ordering and mixing color depths

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Grzegorz Adam Hankiewicz wrote:
Yes, I remember Shawn saying that the default ordering when no
graphic mode has been set is one which on most video cards comes
wrong. After all, setting 16bpp doesn't tell you anything about
the ordering of other color depths.

Yes, this is the problem.

Maybe this is solved if you first set all the color depths you will
be using, IIRC Eric made byte ordering of video modes not being
reset with mode changes in some previous WIP.

It won't work if the video card uses RGB in 32-bpp but BGR in 16-bpp. It also won't work if I am unable to set a 32-bpp mode for some reason. Finally, I'm going to have to write 2 versions of each blender: one blender for RGB <-> RGB and BGR <-> BGR, and one blender for RGB <-> BGR and BGR <-> RGB.


Certainly another problem to be solved with a5.

I haven't come up with any solid solution to that problem for a5. Suggestions?


> Please don't send me CC of your public replies, I'm already on the ml.

Sorry, but hte list is configured such that by default I only reply to you. Can someone (whoever manages the lists) change it so that replys are sent to the list? Thanks.


--
- Robert Jr Ohannessian
http://bob.allegronetwork.com/
The peer will come and reset your connection. RUN WHILE YOU STILL CAN!





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/