There's a known issue with VirtualBox 3D acceleration under Gnome 3.16 and later due to the changes in the way GDM is now spawning screens. The workaround is to use a different display manager such as lightdm.
See Gnome Bugzilla #749390
(I can't post URLs yet).