LayerController::commitChange -> renderLayers
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>
Mon, 10 Sep 2018 08:44:57 +0000 (17:44 +0900)
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>
Mon, 10 Sep 2018 08:44:57 +0000 (17:44 +0900)
Change-Id: Ib0735e592f610a7b238a941db6b7bcb842410ce7
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
src/window_manager.cpp
src/wm_layer_control.cpp
src/wm_layer_control.hpp

index 6818438..79a27d1 100644 (file)
@@ -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");
 
index 62fe91d..b4e53c8 100644 (file)
@@ -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;
index 9620410..3bf219a 100644 (file)
@@ -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);