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
Introduce new visual transform property : EXTRA_SIZE
[platform/core/uifw/dali-toolkit.git]
/
dali-toolkit
/
internal
/
visuals
/
animated-image
/
image-cache.h
diff --git
a/dali-toolkit/internal/visuals/animated-image/image-cache.h
b/dali-toolkit/internal/visuals/animated-image/image-cache.h
index
e8277de
..
7354992
100644
(file)
--- a/
dali-toolkit/internal/visuals/animated-image/image-cache.h
+++ b/
dali-toolkit/internal/visuals/animated-image/image-cache.h
@@
-2,7
+2,7
@@
#define DALI_TOOLKIT_INTERNAL_IMAGE_CACHE_H
/*
#define DALI_TOOLKIT_INTERNAL_IMAGE_CACHE_H
/*
- * Copyright (c) 20
17
Samsung Electronics Co., Ltd.
+ * Copyright (c) 20
20
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.
@@
-46,7
+46,7
@@
public:
struct UrlStore
{
struct UrlStore
{
- TextureManager::TextureId mTextureId;
+ TextureManager::TextureId mTextureId
= TextureManager::INVALID_TEXTURE_ID
;
std::string mUrl;
};
std::string mUrl;
};
@@
-85,11
+85,18
@@
public:
*/
virtual TextureSet NextFrame() = 0;
*/
virtual TextureSet NextFrame() = 0;
+ /**
+ * Get the Nth frame. If it's not ready, this will trigger the
+ * sending of FrameReady() when the image becomes ready.
+ */
+ virtual TextureSet Frame( uint32_t frameIndex ) = 0;
+
private:
private:
+
/**
* Called before the texture manager is destroyed.
*/
/**
* Called before the texture manager is destroyed.
*/
- v
irtual void TextureManagerDestroyed() override
final;
+ v
oid TextureManagerDestroyed()
final;
protected:
TextureManager& mTextureManager;
protected:
TextureManager& mTextureManager;