gl: add VideoMaterial.validTextureWidth(). correct valid roi computation
sg: fix wrong valid texture width. otherwise may have a wide green line