弹幕场景密集渲染在安卓平台卡顿的问题咨询 #642
Unanswered
yuerolling
asked this question in
Q&A
Replies: 1 comment 25 replies
-
你稍等一下,下周应该文字图集相关的功能就上线了,到时候更新一下最新代码再测试一下,文本渲染相关性能应该会有大幅的提升。如果还有问题在那个基础上我们再继续排查。 |
Beta Was this translation helpful? Give feedback.
25 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
大佬好,最近基于tgfx去做了一套弹幕,在之前的讨论里沟通了下,之前提到鸿蒙底层线程调度的缺陷,导致小核任务很慢,所以通过提供的API set(TGFX_USE_THREADS OFF),关闭底层多线程,demo基本流畅。最近在做安卓平台的适配,用的surfaceview,发现无论TGFX_USE_THREADS打开与关闭都很卡顿,比鸿蒙上效果差很多,demo进行了安卓适配,测出来也很卡。Tgfx是刚更新的代码,想咨询下大佬是用的不规范,还是说需要额外的能力开发,比如说已经试过
目前用了华为P10 一加ACE2 PRO测过 都不行 很卡 ,surfaceview 应该比提供的demo里TextureView效果要好 ,但也卡帧,下面是测试的demo ,tgfx 版本是6月11号的
android.zip
Beta Was this translation helpful? Give feedback.
All reactions