gl: Don't require too large texture for offsreen ops
When rendering ops to an offscreen texture we take max-texture-size in consideration and modify the scale we use such that the required texture does not exceed the limit.
This means some rendering will be blocky/fuzzy, but that is better than it being clipped.