The device scale is a scale transformation that is applied to the pixel buffer contents, but is transparent to the user of the buffer (all pixel values are in logical pixels, not device pixels). The concept is modeled after the cairo API, and it is useful to implement HiDPI monitor support.
d70c1dc pixel-buffer: add the concept of a device scale
src/libply-splash-core/ply-pixel-buffer.c | 348 ++++++++++++++++++-----------
src/libply-splash-core/ply-pixel-buffer.h | 9 +
2 files changed, 221 insertions(+), 136 deletions(-)