work in progress managing texture and image memory based on visibility