[Scummvm-devel] ScummVM-PS2 Mysteries #2: createPixelFormat<555> vs <1555>
sunmax at libero.it
sunmax at libero.it
Sat Jan 25 19:09:17 CET 2014
Hi there Team,
starting from 1.5.0 (I didn't have a chance to trace the specific commit yet)
the Launcher GUI (when you use Classic theme) and also the GMM in the games,
will have a blue-ish tint in the transparency on PS2.
This appears related to createPixelFormat<1555> in getOverlayFormat.
We can get the GUI Launcher to look good with Classic theme using
createPixelFormat<555> ("555" in place of "1555") but then the color ot the
games will be broken...
On the other hand, we can still getting this to work fine by creating the
overlayFormat by hand (see _overlyFormat in Gs2dScreen.cpp:203) and specify it
is as "555". Interestingly enough the "555" specified by hand, works where
createPixelFormat<555> appears to be broken.
I can't understand:
- why if we create the format by hand as 555 works fine (vs
createPixelFormat<555>)
- why it always worked as 1555 and now requires 555
Did we change the way we interpret the "1-bit" alpha ?
See the pic attached to get an idea of the issue.
If anyone could spread some light would be greatly appreciated!
Thanks,
-max
-------------- next part --------------
A non-text attachment was scrubbed...
Name: launcher_got_the_blues_.jpg
Type: image/jpeg
Size: 51960 bytes
Desc: not available
URL: <http://lists.scummvm.org/pipermail/scummvm-devel/attachments/20140125/80197f21/attachment.jpg>
More information about the Scummvm-devel
mailing list