Implement multisampling for x11