We use GdkImage to manage the rendering buffer for us. It supports automatic detection and usage of MIT-ShM, so we don't have to worry about it beyond synchronising the screen before rendering.
Generated on Wed Nov 19 2014 10:09:28 for Gnash by 1.8.8