Naomi Luis wrote: > Hi, > > While running gtkPerf on GTK+-DFB, the screen does not get refreshed > when the draw lines or the draw pixbufs operation takes place. If I > modify the gdk/directfb source code to call the DirectFB Flip function, > the screen is refreshed. This however slows down the system.
Flipping after each operation is indeed too expensive and that's why it isn't done. I don't know if gtkPerf uses a separate thread for drawing or how often it gives execution back to the glib main loop, but a compromise could be to queue a Flip() for execution in a timeout handler, e.g. after 42ms. Otherwise, GDK-DirectFB could create a thread for calling the Flip() when the main loop is not looping for some longer period of time... -- Best regards, Denis Oliver Kropp .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev