Hi,

at the moment I'm playing a bit around with the directfb, and I wrote a 
small test case to flip two buffers alternating on the screen.
I'm doing like this:

    fill the buffer...

     primary->Lock(primary, DSLF_WRITE, (void**)(&dst), &rowstride )
    int i;
         int j;

    //copy the whole buffer
        for (i=0;i<h;i++){
           
        for(j=0;j<w;j++){
            *dst=*p;
            p++;
            dst++;
           
        }
         }   
    primary->Unlock (primary);
      primary->Flip(primary, NULL, DSFLIP_WAITFORSYNC);

On a System using Via unichrome driver that works fine, on a system with 
a Intel 855GME Chipset with Integrated Graphic Controller using the i830 
or i810
driver, I can't see anything on the screen at all...any ideas? Does the 
Driver support flip operations?


Thanks in advance
Kind regards

Alex



_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to