• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

AIR 多线程 worker 安卓系统下只有4帧

Guest
Aug 06, 2017 Aug 06, 2017

Copy link to clipboard

Copied

AIR 多线程 worker 安卓系统下只有4帧

我来一个程序,主线程渲染UI ,网络部分用了AIR多线程worker,

windows系统下面没有问题,

android系统下,worker好像被当作后台程序只有4帧的频率。

我试过不用ENTER_FRAME,改用TimerEvent.TIMER也是一样的都只有4帧。

试过增加编译参数default-frame-rate=30 也没用,

[SWF(frameRate="60",backgroundColor="#000000")] 这样设置也没用,

stage.frameRate = 30,这种也没用,而且后台stage的ENTER_FRAME是没有作用的。

谁知道需要怎么改才可以调整android系统下worker线程的帧率?

不然AIR的多线程worker就是鸡肋功能?

我试着想通过ANE的方式不知道可行不可行?

利用Java的多线程来实现网络?在回调给AIR?

要是AIR能自己实现就最好了?

是我哪里没有设置好吗?

TOPICS
Performance issues

Views

313

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines