Fix image tearing/accuracy issues in viewports
Brought to you by:
rowanjames
Many video cards and driver settings do not display viewports smoothly, but with tearing/blending artifacts at tile borders.
Also, the OpenGL method used only allows bilinear blending between neigboring texels when GIS systems should allow other options like maximum/median values.