{
ret = x.second->removeSurfaceIfExist(surface);
if(ret){
- HMI_DEBUG("wm", "remove surface %d from Client %s finish", surface, x.second->appID().c_str());
+ HMI_DEBUG("wm", "remove surface %d from Client %s finish",
+ surface, x.second->appID().c_str());
break;
}
}
*
* @param unsigned[in] surfaceID
* @param string[in] role
- * @param bool[in,out] (key)
- * @return WMClient object
+ * @param bool[in,out] AppID is found or not
+ * @return AppID
* @attention If AppID is not found, param found will be false.
*/
string AppList::getAppID(unsigned surface, const string& role, bool* found) const
* @attention If the request number is different with curent request number,
* it means the previous request is not finished.
*/
-unsigned AppList::addAllocateRequest(WMRequest req)
+unsigned AppList::addRequest(WMRequest req)
{
std::lock_guard<std::mutex> lock(this->mtx);
if (this->req_list.size() == 0)
{
if (y.appid == appid && y.role == role)
{
+ HMI_SEQ_INFO(req_num, "Role %s finish redraw", y.role.c_str());
y.end_draw_finished = true;
result = true;
}
DUMP("current request : %d", current_req);
for (const auto &x : req_list)
{
- DUMP("requested with : %d", x.req_num);
+ DUMP("requested : %d", x.req_num);
DUMP("Trigger : (APPID :%s, ROLE :%s, AREA :%s, TASK: %d)",
x.trigger.appid.c_str(),
x.trigger.role.c_str(),
for (const auto &y : x.sync_draw_req)
{
DUMP(
- "Action : (APPID :%s, ROLE :%s, AREA :%s, END_DRAW_FINISHED: %d)",
+ "Action : (APPID :%s, ROLE :%s, AREA :%s, VISIBLE : %s, END_DRAW_FINISHED: %d)",
y.appid.c_str(),
y.role.c_str(),
y.area.c_str(),
+ (y.visible == TaskVisible::INVISIBLE) ? "invisible" : "visible",
y.end_draw_finished);
}
}
- DUMP("======= req dump end =====\n");
+ DUMP("======= req dump end =====");
}
-} // namespace wm
\ No newline at end of file
+} // namespace wm