projects
/
platform
/
core
/
uifw
/
dali-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Added RenderTask WorldToViewport coordinates" into devel/master
[platform/core/uifw/dali-core.git]
/
dali
/
integration-api
/
resource-policies.h
diff --git
a/dali/integration-api/resource-policies.h
b/dali/integration-api/resource-policies.h
index
524e5aa
..
95a72f2
100644
(file)
--- a/
dali/integration-api/resource-policies.h
+++ b/
dali/integration-api/resource-policies.h
@@
-27,19
+27,18
@@
namespace ResourcePolicy
*/
enum DataRetention
{
*/
enum DataRetention
{
- DALI_RETAINS_ALL_DATA, // retains Meshes and bitmaps
- DALI_RETAINS_MESH_DATA, // retains meshes, but discards bitmaps loaded from files
+ DALI_RETAINS_ALL_DATA, // retains all data e.g. bitmaps
DALI_DISCARDS_ALL_DATA, // discards all data (expects application to regenerate UI on context loss)
};
/**
DALI_DISCARDS_ALL_DATA, // discards all data (expects application to regenerate UI on context loss)
};
/**
- * The discardable policy de
scribes whether a resource can be discarded (i.e. it is throw-away
- *
or recoverable)
+ * The discardable policy de
termines if a resource can be discarded.
+ *
Discarded means that it can be released after uploading to GPU.
*/
enum Discardable
{
*/
enum Discardable
{
- DISCARD, // @todo Change to IS_RECOVERABLE?
- RETAIN
+ OWNED_DISCARD,
+ OWNED_RETAIN,
};
} // namespace ResourcePolicy
};
} // namespace ResourcePolicy