Quote:> My question is what problems will we face trying to blt the 256 colour
> bitmap into the 16-bit buffer?
To my knowledge, it is possible that the hardware implementation could
provide such a feature, but DirectDraw will not fall back to software blit
methods if the hardware fails to support it. Instead, your blit will
Quote:> Also, I have heard that there is a problem with 16-bit surfaces on
> For example, on Windows95 machines it resolve to 5-5-5,
> and on WindowsNT, it will go to 5-6-5.
In my experience most displays (but not all) will be 5-6-5 under both.
5-5-5 is the other * format though, and you would be well advised to
account for it as well.
Quote:> Is this true?
> If so, what are the possible solutions?
I would highly suggest that you examine the display you create and compose
your 8-bit images as the proper 5-5-5 or 5-6-5 format in a prephase (either
construct them quickly as it boots or pregenerate them completely before
hand). It's the only reliable way I know of to get your imagery there and
utilize the speed which makes DirectDraw useful. (You could, of course,
write your own 8-bit to 16-bit blitting function or use the GDI calls, but
this would seem suboptimal.)
Shawn L. Baird (Scarrow)