rejigged the snippets for opengl/xtmrender/openvg