vpvl2_egl should be linked with X11 libraries
added BaseTexture::kGL_GENERATE_MIPMAP