摘要 |
A webpage update method and apparatus based on synthetic rendering acceleration. When a browser runs dynamic JavaScript code to change a CSS attribute corresponding to a layer attribute in a webpage element, a kernel thread correspondingly updates the attribute of a layer where the webpage element is located in a current webpage snapshot of the kernel thread; a synthesis thread correspondingly updates the attribute of a corresponding layer in a current webpage snapshot of the synthesis thread according to the updated webpage snapshot of the kernel thread, and then performs a synthesis operation according to the current webpage snapshot after update, so as to update the webpage. The technical solution omits the re-typesetting and webpage snapshot copy of the kernel thread and the pre-drawing step of the synthesis thread, and improves the processing efficiency of webpage update and dynamic webpage display performance. |