(work in progress) Improve libobs/graphics API