[Tizen][Scene3D] Let we allow to release PixelData memory after upload for 3D cache 00/304000/1 accepted/tizen/8.0/unified/20240109.155453
authorEunki, Hong <eunkiki.hong@samsung.com>
Mon, 8 Jan 2024 04:35:28 +0000 (13:35 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Tue, 9 Jan 2024 03:48:05 +0000 (12:48 +0900)
commit914df83eaf950bcb2d6d2f794bde6d4e7c6196cb
tree178caa28da0c8022c07d33a3ad99c55710df4d2d
parent1b084020f0d40ecb3758d029af642d76565824c3
[Tizen][Scene3D] Let we allow to release PixelData memory after upload for 3D cache

Since we use PixelData as key of cached Texture, it might make some
CPU memory allocated even if we upload finished.

To avoid this behavior, let we make PixelData release memory
after upload to Texture for Scene3D case.

Change-Id: Id43e92d5b4a816fe76890c7ca58f6c43b6dab761
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
automated-tests/src/dali-toolkit/dali-toolkit-test-utils/test-graphics-texture.cpp
dali-scene3d/internal/common/image-resource-loader.cpp
dali-scene3d/internal/common/image-resource-loader.h
dali-scene3d/internal/controls/model/model-impl.cpp
dali-scene3d/internal/controls/model/model-impl.h
dali-scene3d/internal/controls/scene-view/scene-view-impl.cpp
dali-scene3d/internal/model-components/model-primitive-impl.cpp
dali-scene3d/public-api/loader/environment-map-loader.cpp
dali-scene3d/public-api/loader/ktx-loader.cpp
dali-scene3d/public-api/loader/material-definition.cpp