This patch fixes T90207 and T81266.
With this patch, the projection matrices (of some engines) have an
offset based on a pixel distance.
To visualize the idea, in perspective view, the frustum is now scaled
so that each geometry is now drawn with a depth having an offset
corresponding to the distance of a chosen number of pixels.
In the orthographic view, the frustum is now moved to have the same
depth offset behavior.
So each geometry is drawn with an offset consistent with the view,
regardless of the depth of the geometry.
---
This patch only affects the editmode overlay engine and the selection
engine.
It would probably be good to replace all the `GPU_polygon_offset_calc`
and `GPU_polygon_offset` calls with this new one.