Fix Texture upload offset + stride error 36/277736/10
authorEunki, Hong <eunkiki.hong@samsung.com>
Tue, 12 Jul 2022 13:58:53 +0000 (22:58 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Fri, 22 Jul 2022 09:37:39 +0000 (18:37 +0900)
commit1502352ab117eca5a590e85fbe2d754c496037ce
treebd8153b7137b929de3fbe1eab696dc7a75431353
parent66dbb8eb29c1a8c86974ddcb08b8201aa800a0b8
Fix Texture upload offset + stride error

Previous code only consider that info.srcOffset is 0.
Fix some minor logical error.
+
Make the format convertor consider pixel stride.

Change-Id: I439f14f3350ff1360b853680ba73c93fac4a2def
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dali/internal/graphics/gles-impl/egl-graphics-controller.cpp
dali/internal/graphics/gles-impl/gles-graphics-texture.cpp
dali/internal/graphics/gles-impl/gles-graphics-texture.h