#include "FUi_ControlImplManager.h"
#include "FUiCtrl_Popup.h"
#include "FUiCtrl_ContextMenu.h"
+#include "FUiAnim_DisplayContextImpl.h"
+#include "FUiAnimDisplayContext.h"
using namespace Tizen::Base;
using namespace Tizen::Base::Runtime;
if (pWindow->IsOrientationRoot() == true)
{
_Frame* pFrame = static_cast<_Frame*>(pWindow);
+ _DisplayContextImpl* pContext = _DisplayContextImpl::GetInstance(*pFrame->GetDisplayContext());
+ _EflLayer* pLayer = static_cast<_EflLayer*>(pContext->GetNativeLayer());
+
Ecore_X_Window_State_Hint state = ecore_x_icccm_state_get(targetWin);
switch (state)
{
case ECORE_X_WINDOW_STATE_HINT_WITHDRAWN:
+ pLayer->SetRenderNeeded(false);
// Frame was hidden.
break;
case ECORE_X_WINDOW_STATE_HINT_ICONIC:
+ pLayer->SetRenderNeeded(false);
pFrame->OnFrameMinimized();
break;
case ECORE_X_WINDOW_STATE_HINT_NORMAL:
+ pLayer->SetRenderNeeded(true);
pFrame->OnFrameRestored();
break;
default:
, _isVisibilityChangeInProgress(false)
, _needAsyncVisibilityChangeRequest(true)
, _isMainType(true)
+ , _needRender(true)
{
_countOfLayer++;
}
, _isVisibilityChangeInProgress(false)
, _needAsyncVisibilityChangeRequest(true)
, _isMainType(isMainType)
+ , _needRender(true)
{
_countOfLayer++;
}
_DisplayManager::GetInstance()->AddWakeUpEvent();
_needEvasRender--;
}
+ FloatRectangle rect = GetBounds();
+ if(!_needRender)
+ {
+ PRINT("_needRender = false bounds(%f %f %f %f)\n", rect.x, rect.y, rect.width, rect.height);
+ return;
+ }
+ PRINT("ecore_evas_manual_render bounds(%f %f %f %f)\n", rect.x, rect.y, rect.width, rect.height);
ecore_evas_manual_render(_pEcoreEvas);
}
{
Evas_Object* pImageObjectOrg = null;
Evas_Object* pImageObjectNew = null;
- int imageWidth = 0;
- int imageHeight = 0;
const int nativeProps = _VisualElementImpl::HIERARCHY_PROPERTY_COORDINATES
| _VisualElementImpl::HIERARCHY_PROPERTY_OPACITY
_needAsyncVisibilityChangeRequest = asyncVisibilityChange;
}
+ void SetRenderNeeded(bool needRender)
+ {
+ _needRender = needRender;
+ }
+ bool IsRenderNeeded()
+ {
+ return _needRender;
+ }
+
protected:
result Initialize(Evas_Object* pWindow);
virtual result Configure(_RootVisualElement& rootElement);
bool _isVisibilityChangeInProgress;
bool _needAsyncVisibilityChangeRequest;
bool _isMainType;
+ bool _needRender;
static int _countOfLayer;
};