On Wed, Sep 03, 2003 at 06:26:32AM +0000, [EMAIL PROTECTED] wrote:
> 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.

Since you've programmed the bes to 1024x768 you must use at least that
resolution. Otherwise you'll be downscaling and it's likely that the
rectangle won't be visible.

> 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??

No this is different. BES is mainly used for video playback. I'm not sure
what the 24+8 mode is normally used for. matroxfb doesn't program the
hardware for this mode so you'd have to do it from DirectFB (and hope
matroxfb won't reset it back :) Also DirectFB's drawing routines would
probably overwrite your overlay data in an instant. Adding a new
pixelformat could solve that but then I'm not sure how to decide which
part of the pixel we're drawing to...

-- 
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.

Reply via email to