Hi guys,

I just need some guidance on how to implement double buffering on Shared 
Memory.  I'm not using OpenGL

I've created 2 buffers of the same size (800x600 pixels).  So I want the input 
buffer to get filled off-screen, while the output buffer will show the content 
on-screen.   

First of all what sort of content could be used to illustrate this technique, 
and secondly, what mechanisms are available to: 

a) Notify that the input buffer is full
b) Copy the content to the output buffer so that it shows on-screen

Like most people I'm new to Wayland, but I'm able to show an image using one 
buffer, but not sure how to do double-buffering.  Perhaps video would be the 
obvious content to use, as several frames per second could be shown.

Look forward to any advice.


                                          
_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to