keep tracking image usage for drawing(do not tracking usage

 beyond TextureControl) safe for change image in TextureSetting Share texture
 if open multiple images. Remove while removing object from sceneTree.

Patch by: Shaun Song <sxsong1207@qq.com>
25 jobs for track_image_usage in 59 minutes (queued for 9 minutes and 54 seconds)
Status Job ID Name Coverage
  Build
passed #94932
qt5113 Apple
Mac-Cpp11

00:28:34

passed #94930
Qt5101 VS2015
VS2015-Qt-5.10.1-x64

00:14:31

passed #94931
Qt5101 VS2017
VS2017-Qt-5.10.1

00:15:37

passed #94926
MultiThreads stretch Linux
clang-c++11-Qt5.11.2

00:11:10

passed #94927
MultiThreads stretch Linux
clang-c++11-Qt5.13.0

00:18:23

passed #94929
MultiThreads stretch Linux
cppcheck

00:01:11

passed #94928
MultiThreads stretch Linux
debug-clang-c++11-Qt5.13.0

00:10:50

passed #94925
stretch Linux
debug-gcc-c++11-Qt5.11.2

00:07:44

passed #94924
stretch Linux
debug-gcc-c++11-Qt5.13.0

00:07:42

passed #94921
stretch Linux
gcc-c++11-Qt5.11.2

00:06:26

passed #94922
stretch Linux
gcc-c++11-Qt5.11.2-nopython

00:05:22

passed #94919
stretch Linux
gcc-c++11-Qt5.12.2

00:04:48

passed #94920
stretch Linux
gcc-c++11-Qt5.12.2-nopython

00:06:23

passed #94923
stretch Linux
gcc-c++11-Qt5.13.0

00:05:55

 
  Test
passed #94943
qt5113 Apple
Test:Mac-Cpp11

00:00:38

passed #94941
Qt5101 VS2015
Test:VS2015-Qt-5.10.1-x64

00:01:19

passed #94942
Qt5101 VS2017
Test:VS2017-Qt-5.10.1

00:02:20

passed #94940
MultiThreads stretch Linux
debug-test-clang-c++11-Qt5.13.0

00:04:07

passed #94937
stretch Linux
debug-test-gcc-c++11-Qt5.11.2

00:05:28

passed #94936
stretch Linux
debug-test-gcc-c++11-Qt5.13.0

00:04:09

passed #94938
MultiThreads stretch Linux
test-clang-c++11-Qt5.11.2

00:01:29

passed #94939
MultiThreads stretch Linux
test-clang-c++11-Qt5.13.0

00:01:11

passed #94934
stretch Linux
test-gcc-c++11-Qt5.11.2

00:02:03

passed #94933
stretch Linux
test-gcc-c++11-Qt5.12.2

00:01:58

passed #94935
stretch Linux
test-gcc-c++11-Qt5.13.0

00:02:11