exynos: honor the repeat mode in g2d_copy_with_scale
authorTobias Jakobi <tjakobi@math.uni-bielefeld.de>
Wed, 11 Mar 2015 19:38:42 +0000 (20:38 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 16 Mar 2015 22:18:05 +0000 (22:18 +0000)
commit89037326ca6012ba18be29dc6587e11617164400
treebf817207b707e89b9026733b6be656376c52413c
parent03c9cccfa03b999874f794c02ddce7e7dfb04c93
exynos: honor the repeat mode in g2d_copy_with_scale

This is useful when the default repeat mode, which is 'repeat'
produces artifacts at the borders of the copied image.
Choose the 'pad' mode to make use of the color of the destination
image.

In my usage case the destination is the framebuffer, which is
solid filled with a background color. Scaling with 'pad' mode
would then just do the right thing and also produces nice
borders on the output.

Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
Reviewed-by: Inki Dae <inki.dae@samsung.com>
Tested-by: Joonyoung Shim <jy0922.shim@samsung.com>
exynos/exynos_fimg2d.c