发明名称 HTML5 CANVAS APPLICATION PROCESSING METHOD AND DEVICE, AND STORAGE MEDIUM
摘要 An HTML5 Canvas application processing method and device, and a storage medium. The method comprises: in a first thread, a CPU executing a graphic drawing application code to draw each frame of a canvas, and when it is detected that rendering is needed, caching all canvas graphic drawing instructions in the frame of the canvas rather than executing corresponding rendering; after completing the drawing of the frame of the canvas, sending all the cached canvas graphic drawing instructions of the frame of the canvas to a second thread; and in a second thread, the CPU invoking a GPU to execute all the canvas graphic drawing instructions of the frame of the canvas which are sent from the first thread, and the GPU performing rendering on each frame of the canvas in sequence according to the canvas graphic drawing instructions. The concurrent thread processing is realized by way of caching the graphic drawing instructions, so as to make JavaScript codes and the rendering be executed simultaneously, thereby making full use of resources in different threads, greatly improving the reaction speed of the HTML5 Canvas application, and realizing the performance improvement of the HTML5 Canvas application.
申请公布号 WO2014206202(A1) 申请公布日期 2014.12.31
申请号 WO2014CN79741 申请日期 2014.06.12
申请人 GUANGZHOU UCWEB COMPUTER TECHNOLOGY CO., LTD 发明人 YI, XUXIN
分类号 G06F9/38 主分类号 G06F9/38
代理机构 代理人
主权项
地址
您可能感兴趣的专利