Fully disable antialiasing when painting individual images
When painting an image with drawImage(), disable antialiasing instead
of just setting it to 0. This can increase performance notably when
painting a lot of images. For example with QCPainterBench icons test,
render count at 256, I'm seeing 42 -> 86 fps improvement on D3D11.
With D3D12 and OpenGL the increase is not as big.
Also move the implementation of drawImage with a sourceRect into
engine side and remove unused drawImageId() method.
Pick-to: 6.11
Change-Id: I5ee9f7348b22987778379fba822b32200ad48514
Reviewed-by: Owais Akhtar <owais.akhtar@qt.io>
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>