tests: guess resolution from encoder input
tests: do not include gles headers if we disable it