The OpenGL canvas equivalent of D7973, except that there is no explicit QImage scaling code to be changed.
Most noticeable change is that it is now way crispier at 100% canvas zoom level under 2x dpi scale.
This does not fix instant preview (T7063).
@dkazakov making your review blocking since I think I should get your approval for this.