Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    t113-s3 lvgl仪表盘指针转动如何处理

    Linux
    3
    5
    956
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • V
      vsaup_Hius LV 2 last edited by

      指针是一张图片 除了指针其余是透明显示,动画旋转时,帧率太低大概在12左右,满帧是33,CPU占率90%左右,有什么优化方案吗

      1 Reply Last reply Reply Quote Share 0
      • A
        awwwwa LV 8 last edited by

        旋转需要大量的计算,会导致出现帧率问题,可以尝试关闭抗锯齿,使用NEON加速计算

        V 1 Reply Last reply Reply Quote Share 1
        • T
          tsk12358 LV 4 last edited by

          如果内存够用的情况下,使用360张图片,在某时刻只根据某角度显示一张,其他的359张都设定为隐藏状态,这也是一种办法对吧哈哈哈哈

          1 Reply Last reply Reply Quote Share 0
          • T
            tsk12358 LV 4 last edited by

            也可以尝试使用G2D加速,按理说不应该这么慢的,毕竟也是1.2G的处理器

            1 Reply Last reply Reply Quote Share 0
            • V
              vsaup_Hius LV 2 @awwwwa last edited by

              @awwwwa 在 t113-s3 lvgl仪表盘指针转动如何处理 中说:

              NEON加速计算

              好的 谢谢

              1 Reply Last reply Reply Quote Share 0
              • 1 / 1
              • First post
                Last post

              Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

              行为准则 | 用户协议 | 隐私权政策