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
Removing shader uniform map observers
[platform/core/uifw/dali-core.git]
/
dali
/
internal
/
update
/
common
/
property-owner.cpp
diff --git
a/dali/internal/update/common/property-owner.cpp
b/dali/internal/update/common/property-owner.cpp
index
e23831f
..
1111f94
100644
(file)
--- a/
dali/internal/update/common/property-owner.cpp
+++ b/
dali/internal/update/common/property-owner.cpp
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (c) 202
2
Samsung Electronics Co., Ltd.
+ * Copyright (c) 202
3
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.
@@
-158,11
+158,13
@@
PropertyOwner::PropertyOwner()
void PropertyOwner::AddUniformMapping(const UniformPropertyMapping& map)
{
mUniformMaps.Add(map);
void PropertyOwner::AddUniformMapping(const UniformPropertyMapping& map)
{
mUniformMaps.Add(map);
+ OnMappingChanged();
}
void PropertyOwner::RemoveUniformMapping(const ConstString& uniformName)
{
mUniformMaps.Remove(uniformName);
}
void PropertyOwner::RemoveUniformMapping(const ConstString& uniformName)
{
mUniformMaps.Remove(uniformName);
+ OnMappingChanged();
}
const UniformMap& PropertyOwner::GetUniformMap() const
}
const UniformMap& PropertyOwner::GetUniformMap() const
@@
-170,16
+172,6
@@
const UniformMap& PropertyOwner::GetUniformMap() const
return mUniformMaps;
}
return mUniformMaps;
}
-void PropertyOwner::AddUniformMapObserver(UniformMap::Observer& observer)
-{
- mUniformMaps.AddObserver(observer);
-}
-
-void PropertyOwner::RemoveUniformMapObserver(UniformMap::Observer& observer)
-{
- mUniformMaps.RemoveObserver(observer);
-}
-
} // namespace SceneGraph
} // namespace Internal
} // namespace SceneGraph
} // namespace Internal