On Tue, 2 Sep 2003 20:02:31 +0300 Ville Syrj�l� wrote:

> On Tue, Sep 02, 2003 at 01:22:28PM +0000, Sarfraz Nawaz wrote:
> > 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.
> 
> You code is ok. The problem is that BES doesn't support filtering with
> RGB modes so it drops some of the data when downscaling. You happened to 
> choose the rectangle coordinates just right for the BES to drop the whole
> rectangle :) If you change the coordinates a bit you should see at least 
> part of the recntangle. If you call
> IDirectFBDisplayLayer::SetScreenLocation() to scale the overlay to a
> bigger size you should see the rectangle even with your original
> coordinates.
> 
> -- 
> Ville Syrj�l�
> [EMAIL PROTECTED]
> http://www.sci.fi/~syrjala/
> 
> 
> -- 
> Info: To unsubscribe send a mail to [EMAIL PROTECTED] with 
> "unsubscribe directfb-users" as subject.
> 
> 

I've changed the coordinates of rectangle, but no success. I've also used 
SetScreenLocation( 0.0, 0.0, 1.0, 1.0 ) and SetScreenLocation (0.0, 0.0,
-1.0, 1.0 ) but I can't see the rectangle drawn on BES layer. All I want
to do is to use the hardware overlay function of G450 to achieve speed.
Besides, is it the same thing that is mentioned in chip specs of G450 as
24 + 8 bit mode. 24 bit base image and 8 bit hardware overlay??

Regards



This message powered by EMUmail.  http://EMUmail.com


����칻�&ޱ��jf���q���b��-}�+����칻�&�v*�r�ۺǫ��,���r

Reply via email to