Using direct pixel access instead of setRGB.