enhance the performance of nana

This commit is contained in:
Jinhao
2019-04-13 00:03:40 +08:00
parent cff5a0e1c4
commit cff318d182
8 changed files with 140 additions and 75 deletions

View File

@@ -39,10 +39,6 @@ namespace nana
}
else
_m_paint_glass_window(wd, (paint_operation::try_refresh == operation), req_refresh_children, false, true);
//maproot and _m_paint_glass_window always copy the children graphics, therefore the mapping requester should
//be cleared to avoid redundant copying
wd->other.mapping_requester.clear();
}
bool window_layout::maproot(core_window_t* wd, bool have_refreshed, bool req_refresh_children)