Arbitrary scale rate scaler
|Reported by:||SF/ignazb||Owned by:||sev-|
This patch adds a minimalistic implementation of a scaler that allows for arbitrary scale rates. The actual rate of scale is set by adding a value for gfx_scale to the configuration file, e.g. gfx_scale=2.3 would scale in a rate of 2.3.
Disabling float-based scaling is enabled by defining the DISABLE_FLOAT_SCALER macro.
The way the scaler is implemented adds some ugly artifacts to moving objects. Also, scaling is done in a trivial way so there is no anti-aliasing as in other scalers. You might want to fix that some time.
I know this is far from being perfect but at least it helped me play ScummVM on my TV :)
Ticket imported from: #1883633. Ticket imported from: patches/897.