With the help of this mailing list I wrote a directfb app for the
Syabas NMT family that has been working quite well for several users
for months.  I am trying something new but I have run into a situation
where with component 1280x720 output a Clear(0,0,0,0) doesn't do
anything. The code is simply

DFBCHECK (primary->Clear(primary,0,0,0,0));
DFBCHECK (primary->Flip(primary,NULL, DSFLIP_WAITFORSYNC));
DFBCHECK (primary->Clear(primary,0,0,0,0));

and no errors are returned.   I have checked the clipping region and
it still returns a DFBRegion of 0 0 1279 719.  Since I can hear audio
I believe the MainVideo layer would show if I could clear layer 0
somehow and it does  works in PAL and NTSC resolution.

Any ideas or tips on things to try?

Here are the layers

    Layer (00) OSD                             (primary layer)
       Type:    GRAPHICS
       Caps:    SURFACE ALPHACHANNEL FLICKER_FILTERING SRC_COLORKEY
GetPixel 418c04|200808

    Layer (01) BGND
       Type:    GRAPHICS
       Caps:    SURFACE
GetPixel 200808|200808

    Layer (02) MainVideo
       Type:    VIDEO
       Caps:    SCREEN_LOCATION BRIGHTNESS CONTRAST HUE SATURATION
SOURCES SCREEN_POSITION SCREEN_SIZE
       Sources: Bogus source for main v

    Layer (03) 2ndVideo
       Type:    GRAPHICS VIDEO
       Caps:    SURFACE SCREEN_LOCATION BRIGHTNESS CONTRAST HUE
SATURATION LEVELS SOURCES SCREEN_POSITION SCREEN_SIZE
       Sources: Bogus source for second, Bogus source for second

Thanks in advance.
Martin
_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to