Implement the texture freelist in ResourcePool.