egl: remove offscreen rendering code