<gunnar.sletta <at> nokia.com> writes:

> A default constructed pixmap is opaque by default and will not have a mask 
> and 
will not have an alpha channel.
> X11 is the only platform where we make a distinction between mask and alpha 
channel as Mac OS X, Windows and
> the Qt 5 lighthouse platforms use QImage with mask baked into the alpha 
channel. opacity = 0 means mask is 1.
> 
> You need to fill a QPixmap with Qt::transparent or some other non-opaque 
> color 
for it to get an alpha channel.

Hi Gunnar,

thanks for the reply, I have made the QBlittablePlatformPixmap figure out
if the underlying graphic memory should have an alpha channel or not. I
understand why being conservative for QPixmap makes sense...

I have pushed the fixes to my qtbase branch, once the other directfb
patches get unstuck I can file a merge request.

thanks for your feedback

   holger



_______________________________________________
Qt5-feedback mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback

Reply via email to