Denis Oliver Kropp wrote:
Sourath Roy wrote:
Thanks a lot!
By doing SetConfiguration with DLOP_ALPHACHANNEL option for the
primary layer I can see the variation of color with alpha values.
But to set that I need to set the COOPERATIVELEVEL for layer as
ADMINISTRATIVE. Does this have side effects?
Also I see I can't use the FULLSCREEN mode IDirectFB while doing
this.. With NORMAL COOPERATIVELEVEL I get a blue colored display, can
I avoid this?
You should simply ignore the cooperative level of IDirectFB and use:
- IDirectFB::GetDisplayLayer()
- IDirectFBDisplayLayer::SetCooperativeLevel(EXCLUSIVE)
- IDirectFBDisplayLayer::SetConfiguration()
- IDirectFBDisplayLayer::GetSurface()
You should also not use CreateSurface(PRIMARY) with this. You'll get
your "primary" from the layer (GetSurface).
--
Best regards,
Denis Oliver Kropp
.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/ |
"------------------------------------------"
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users