Hi,

We are writing an application which receives some image data by dma, processes it and later displays it by locking and rendering into a triple buffered primary surface (with DSCAPS_VIDEOONLY flag set). Everything works very well upto this point.

Though our next task is to write this data to harddisk or send it to further processing. We wanted to use dump of primary for this purpose but we are not sure which of the tripple buffers it dumps. if it dumps the front buffer this means too much traffic from/to video card (MGA4x0 at AGP).

Is there a way to assure that a triple buffered primary keeps its front and mid buffers in video memory but back buffer in AGP/system memory? As well, is it possible to assure dumping the back buffer instead of front? This way we hope to keep the data always in the system memory and accesible to different threads/processes while letting VGA doing its job as independent as possible.

Thanks,

Cagdas

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

Reply via email to