cache program_t in egl_state in addition to program id
to avoid cache lookup