improve animation performance
authorDae young Ryu <karzia@samsung.com>
Wed, 20 Mar 2013 10:24:44 +0000 (19:24 +0900)
committerDae young Ryu <karzia@samsung.com>
Wed, 20 Mar 2013 10:24:44 +0000 (19:24 +0900)
Change-Id: Iefca55e397395c9f34f4e027c2269f157b51d55d
Signed-off-by: Dae young Ryu <karzia@samsung.com>
src/ui/animations/FUiAnim_AnimationManager.cpp
src/ui/animations/FUiAnim_VisualElementImpl.cpp

index ac463f3..d0bb606 100644 (file)
@@ -74,7 +74,7 @@ public:
 };
 #endif
 
-static const double fpsLimitInterval = 1.0 / 55.0;
+static const double fpsLimitInterval = 1.0 / 2000.0;
 Ecore_Animator* pAnimator = null;
 
 Eina_Bool
index ac31831..032f2b9 100644 (file)
@@ -1310,7 +1310,7 @@ _VisualElementImpl::SetBoundsI(const FloatRectangle& bounds)
        {
                FloatRectangle currentValue = __pPresentation->__bounds;
 
-               const String* subProperties[] = {       pVeSubPropBoundsSize, pVeSubPropBoundsPosition, NULL };
+               static const String* subProperties[] = {        pVeSubPropBoundsSize, pVeSubPropBoundsPosition, NULL };
                if(CreateImplicitAnimationIfNeeded(*pVePropBounds,      __bounds, currentValue, subProperties ) == false)
                {
                        __pPresentation->SetBoundsProperty(__bounds);
@@ -2878,7 +2878,7 @@ _VisualElementImpl::SetChildrenTransformMatrixI(const FloatMatrix4& xform, bool
        if(IS_MODEL(this) && IS_NEEDED_UPDATE_PRESENTATION(this))
        {
                FloatMatrix4 currentValue = __pPresentation->__childrenTransform;
-               const String* subProperties[] = {
+               static const String* subProperties[] = {
                                pVeSubPropChildrenTransformRotationX,
                                pVeSubPropChildrenTransformRotationY,
                                pVeSubPropChildrenTransformRotationZ,