Support padding in images stored in atlas texture
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Fri, 29 Aug 2014 13:40:52 +0000 (15:40 +0200)
committerGunnar Sletta <gunnar@sletta.org>
Sat, 30 Aug 2014 07:57:37 +0000 (09:57 +0200)
commitcf44ee7761f2e4175f9193b42ee7296a2f3b694a
tree0abcff129f905050da3bc47d0e338bdfd77cf60f
parent8f3311276e4ca44acb69c8870ccfc3167682b898
Support padding in images stored in atlas texture

If the stride does not match the width of the image, we upload
it line-by-line instead of as one big rect.

Change-Id: I5e08afcf5c35dc810fed25e45255d55d932b2a4c
Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
src/quick/scenegraph/util/qsgatlastexture.cpp