projects
/
platform
/
core
/
uifw
/
dali-toolkit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[dali_2.3.27] Merge branch 'devel/master'
[platform/core/uifw/dali-toolkit.git]
/
dali-toolkit
/
internal
/
visuals
/
animated-image
/
image-cache.cpp
diff --git
a/dali-toolkit/internal/visuals/animated-image/image-cache.cpp
b/dali-toolkit/internal/visuals/animated-image/image-cache.cpp
index
2fda611
..
ece9014
100644
(file)
--- a/
dali-toolkit/internal/visuals/animated-image/image-cache.cpp
+++ b/
dali-toolkit/internal/visuals/animated-image/image-cache.cpp
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (c) 202
3
Samsung Electronics Co., Ltd.
+ * Copyright (c) 202
4
Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@
-42,23
+42,12
@@
ImageCache::ImageCache(TextureManager& textureManager,
mInterval(interval),
mLoadState(TextureManager::LoadState::NOT_STARTED),
mRequestingLoad(false),
mInterval(interval),
mLoadState(TextureManager::LoadState::NOT_STARTED),
mRequestingLoad(false),
- mPreMultiplyOnLoad(preMultiplyOnLoad),
- mTextureManagerAlive(true)
+ mPreMultiplyOnLoad(preMultiplyOnLoad)
{
{
- mTextureManager.AddObserver(*this);
}
ImageCache::~ImageCache()
{
}
ImageCache::~ImageCache()
{
- if(mTextureManagerAlive)
- {
- mTextureManager.RemoveObserver(*this);
- }
-}
-
-void ImageCache::TextureManagerDestroyed()
-{
- mTextureManagerAlive = false;
}
void ImageCache::SetInterval(uint32_t interval)
}
void ImageCache::SetInterval(uint32_t interval)