PAGE RENDERING METHOD
卷宗概要
申请人
TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
发明人
Changrong ZHANG; Weizhou JIANG; Qiang LU
IPC 分类
CPC 分类
In a method, based on a start operation for a mini program of an application, a browser process of a browser is started through a client process of the application. Service logic code of the mini program is executed in the browser process. Based on execution of a calling code in the service logic code that invokes a first rendering function, calling information of the first rendering function is written into a command buffer through the browser process, a calling processing request for the calling information is generated, and the calling processing request is transmitted to the client process through the browser process. A second rendering function having a same graphics rendering functionality is determined as the first rendering function, and the second rendering function is called based on the calling information. Graphics rendering of the page frame of the mini program is performed through the second rendering function.
原文(中文)
In a method, based on a start operation for a mini program of an application, a browser process of a browser is started through a client process of the application. Service logic code of the mini program is executed in the browser process. Based on execution of a calling code in the service logic code that invokes a first rendering function, calling information of the first rendering function is written into a command buffer through the browser process, a calling processing request for the calling information is generated, and the calling processing request is transmitted to the client process through the browser process. A second rendering function having a same graphics rendering functionality is determined as the first rendering function, and the second rendering function is called based on the calling information. Graphics rendering of the page frame of the mini program is performed through the second rendering function.