Skip to content

请教下作者关于使用的问题 #520

Answered by domchen
yuerolling asked this question in Q&A
Discussion options

You must be logged in to vote

我们定位出问题原因了,是鸿蒙设备上开启了多线程后,子线程可能强制被运行在了效能核心上,相同的任务比主线程慢10倍。我们已经和华为反馈了这个问题,看看他们那边怎么解决。等解决之后会再提交最终的修复,目前暂时可以通过屏蔽多线程渲染的方法规避这个问题。更新main分支最新代码会有一个禁用多线程的编译开关:TGFX_USE_THREADS,编译的时候传递参数:-DTGFX_USE_THREADS=OFF 就行。

Replies: 2 comments 42 replies

Comment options

You must be logged in to vote
5 replies
@domchen
Comment options

@domchen
Comment options

@yuerolling
Comment options

@yuerolling
Comment options

@yuerolling
Comment options

Comment options

You must be logged in to vote
37 replies
@yuerolling
Comment options

@domchen
Comment options

@yuerolling
Comment options

@domchen
Comment options

Answer selected by domchen
@yuerolling
Comment options

@yuerolling
Comment options

@domchen
Comment options

@domchen
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants