Improve texure painting performance when limited scale is active.
Cause of the slow down is that the image editor draws the image in maximum resolution,
but the 3d viewport uses the limited scale. The GPU textures used the same texture space
and needed to be uploaded twice to the GPU.
This patch will adds texture slots that can hold the scaled down and the maximum
resolution image. This would allow better cache hits and reuse of existing caches.
When a texture prepared for maximum resolution fits inside the limited scale, this texture will be reused
when limited scale is requested.
{F10382139}
**TODO**
Testing. Adding assert Do what happens when the image is resized and doesn't fit inside the limited scale
and vise versa.