Need to disable clearing screen on EGL for that. With Mesa swapping buffer is sufficient, though a better solution will be required for other drivers