提交 2209f698 编写于 作者: L liuyuxiang-bear

Description: Lock invalidateRects_ when FULLY_RENDER is 0.

IssueNo: https://gitee.com/openharmony/graphic_ui/issues/I52I75
Feature or Bugfix: Bugfix
Binary Source:No
Signed-off-by: Nliuyuxiang <liuyuxiang7@huawei.com>
上级 69102d9f
......@@ -519,9 +519,6 @@ void RootView::Render()
#if !LOCAL_RENDER
OptimizeInvalidateRects();
#endif
#if defined __linux__ || defined __LITEOS__ || defined __APPLE__
pthread_mutex_unlock(&lock_);
#endif
#if LOCAL_RENDER
if (!invalidateMap_.empty()) {
......@@ -552,6 +549,9 @@ void RootView::Render()
#endif
BaseGfxEngine::GetInstance()->Flush();
}
#if defined __linux__ || defined __LITEOS__ || defined __APPLE__
pthread_mutex_unlock(&lock_);
#endif
}
void RootView::BlitMapBuffer(Rect& curViewRect, TransformMap& transMap, const Rect& invalidatedArea)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册