aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-09-10 17:44:57 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-09-10 17:44:57 +0900
commit67dee2b21df72886d5d90a827598eb1555fa28a5 (patch)
tree088e8221d06281ae851ab5fa5e23169be807d008
parent2ce7162980b40cf5587ed8a0247f3e9bd3407ad7 (diff)
LayerController::commitChange -> renderLayers
Change-Id: Ib0735e592f610a7b238a941db6b7bcb842410ce7 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
-rw-r--r--src/window_manager.cpp4
-rw-r--r--src/wm_layer_control.cpp4
-rw-r--r--src/wm_layer_control.hpp2
3 files changed, 5 insertions, 5 deletions
diff --git a/src/window_manager.cpp b/src/window_manager.cpp
index 6818438..79a27d1 100644
--- a/src/window_manager.cpp
+++ b/src/window_manager.cpp
@@ -1327,7 +1327,7 @@ WMError WindowManager::startTransition(unsigned req_num)
//this->deactivate(client->surfaceID(x.role));
} */
}
- this->lc->commitChange();
+ this->lc->renderLayers();
ret = WMError::NO_LAYOUT_CHANGE;
}
return ret;
@@ -1371,7 +1371,7 @@ WMError WindowManager::doEndDraw(unsigned req_num)
//this->lc_enddraw(act.role.c_str());
}
}
- this->lc->commitChange();
+ this->lc->renderLayers();
HMI_SEQ_INFO(req_num, "emit flushDraw");
diff --git a/src/wm_layer_control.cpp b/src/wm_layer_control.cpp
index 62fe91d..b4e53c8 100644
--- a/src/wm_layer_control.cpp
+++ b/src/wm_layer_control.cpp
@@ -130,7 +130,7 @@ void LayerControl::createNewLayer(unsigned id)
ilm_commitChanges();
auto wm_layer = getWMLayer(id);
wm_layer->addLayerToState(id);
- this->commitChange();
+ this->renderLayers();
}
unsigned LayerControl::getNewLayerID(const string& role, string* layer_name)
@@ -209,7 +209,7 @@ WMError LayerControl::updateLayer(LayerState& layer_state)
return WMError::SUCCESS;
}
-WMError LayerControl::commitChange()
+WMError LayerControl::renderLayers()
{
HMI_INFO("Commit change");
WMError rc = WMError::SUCCESS;
diff --git a/src/wm_layer_control.hpp b/src/wm_layer_control.hpp
index 9620410..3bf219a 100644
--- a/src/wm_layer_control.hpp
+++ b/src/wm_layer_control.hpp
@@ -75,7 +75,7 @@ class LayerControl
// std::vector<std::shared_ptr<WMLayer>>& getAllLayers();
// std::vector<unsigned> getRenderOrder(const std::string& layer_name);
WMError updateLayer(LayerState& layer_state);
- WMError commitChange();
+ WMError renderLayers();
// WMError renderWMLayers();
void undoUpdate();
WMError layoutChange(const WMAction& action);