周宇轩, 刘丹, 乐俊. 一种高效的SVG动画自适应渲染算法[J]. 微电子学与计算机, 2017, 34(8): 93-98.
引用本文: 周宇轩, 刘丹, 乐俊. 一种高效的SVG动画自适应渲染算法[J]. 微电子学与计算机, 2017, 34(8): 93-98.
ZHOU Yu-xuan, LIU Dan, YUE Jun. An Efficient Adaptive Rendering Algorithm for SVG Animation[J]. Microelectronics & Computer, 2017, 34(8): 93-98.
Citation: ZHOU Yu-xuan, LIU Dan, YUE Jun. An Efficient Adaptive Rendering Algorithm for SVG Animation[J]. Microelectronics & Computer, 2017, 34(8): 93-98.

一种高效的SVG动画自适应渲染算法

An Efficient Adaptive Rendering Algorithm for SVG Animation

  • 摘要: 针对不同浏览器动画渲染性能差距悬殊的问题设计了一种高效率的自适应的SVG动画渲染算法,该算法通过将动画-算子由多对多归并为一对多形式,缩减浏览器底层调度次数,削减系统资源开销.引入帧率自适应算法,为没有针对动画渲染进行优化的浏览器提供兼容性实现,对有优化的浏览器进行渲染效能的进一步提升.此算法保证了动画渲染性能在不同浏览器上都保持较高的效率以及稳定性,实验证明,此渲染算法无论有无针对动画渲染的底层优化,都能很好地平滑性能抖动,根据浏览器所能支持的条件达到当前情况最高的效率,支撑大数量的SVG动画渲染.

     

    Abstract: In view of the huge gap of the performance for animation rendering between the different browsers, designed a high efficient algorithm for SVG animation rendering, which is to merge the animation and operator from multi to multi to one to multi.and reduced the count of the invoking of the basement of browser.the algorithm、the consumption of system resource.Besides, the algorithm introduced the frame adaptation algorithm, which improved the compatibility for the browsers which is not optimized for animation rendering, and enhanced the performance of browsers which has optimization.so, the algorithm ensured the high efficient and stability between different browsers, Experiments show that the rendering algorithm, whether or not on the browsers which has the optimization of the animation rendering, can smooth the performance jitter, reached the idea efficiency the browsers can ever reached in the current situation, and support the large amount of SVG animation rendering.

     

/

返回文章
返回