GL-based drawing using samples.