Quoting Sarfraz Nawaz: > On Tue, 9 Sep 2003 22:43:17 +0200 Denis Oliver Kropp wrote: > > > Quoting Sarfraz Nawaz: > > > On Tue, 2 Sep 2003 13:11:11 +0300 Ville Syrj?l? wrote: > > > > To get access to the BES you need to use IDirectFB::GetDisplayLayer(). > > > > BES's default layer ID is 1. > > > > Then you need to se the layer's cooperative level to exclusive > > and set the > > > > configuration you want. If you're planning to use DirectFB's drawing > > > > functions you should probably set the layer to RGB mode because > > drawing to > > > > YUV surfaces isn't fully implemented. Note that in RGB32 mode the BES > > > > doesn't support horizontal scaling at all. Also in RGB modes > > scaling isn't > > > > filtered :( > > > > After you're done with the configuration use > > > > IDirectFBDisplayLayer::GetSurface() and start drawing. > > > > > > > I've proceeded as you suggested but I am not able to see what I draw on > > > the BES layer. I think I am not doing something (I am only a novice with > > > directfb). I am attaching the code. What is wrong with it. I'll > > > appreciate the help. > > > > I don't know if the color 0x00, 0x0f, 0x00 would be easily visible. > > So what should I set the color to make it visible. I just want a single > color with which I want to draw rectangles and lines on BES layer.
Try 0x00, 0xff, 0x00. -- Best regards, Denis Oliver Kropp .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" Convergence GmbH -- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe directfb-users" as subject.
