I am trying to write an application that uses multiple layers on the via Unichrome platform. I've got a test application which creates the two layers (and surfaces within them), one YUV, and one RGB, and attempts to overlay the RGB ontop of the YUY.
If I call "CreateSurface" to make the surface on the RGB layer, then it all displays correctly, but the CPU usage is terrible (100% cpu), and I am fairly sure that it is getting into software blitting. When I create the surface I am passing it the DSCAPS_PRIMARY flag. However if I call "GetSurface", it doesn't display anything (although I believe it is all running fine), and CPU usage is nice and low. I thought that creating using the DSCAPS_PRIMARY flag should be the same as GetSurface, but I notice that the capabilities of the surfaces are different. Can anyone point me to where I might be going wrong? Thanks, Andre _______________________________________________ directfb-users mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
