Rendering speed optimisation and primitive histogram support on user definable ROI