store texture in the cache map instead of the heap make related functions member of the class (CollectCleanup, killtex -> Clear) refactor common OSD stuff into rend/osd vulkan support for OSD