issue #3090: remove TextureCache::getInstance() int other module