c/client: implement EGL context begin and end
authored by Simon Zeni and committed by Jakob Bornecrantz 3 years ago c8b4f7c6 f91ada32