Patent ID: 9710509
Date: 2017-07-18
CPC Classifications: G06F,G06T

Claim:
1. A method for rendering a web page, comprising: rendering, by a main thread of a browser operating on a computing device, one or more non-image objects of the web page, wherein the web page is part of a web application; receiving, from the web application, an invocation of an image decode function of the main thread to decode an image of the web page; forwarding an imaging decoding task to an image decoder of the browser; decoding in parallel, by the image decoder of the browser operating on the computing device, the image of the web page, while the main thread renders the one or more non-image objects of the web page; notifying, by the image decoder, the image decode function of the completion of the decoding of the image; rendering, by the main thread, the decoded image, in response to receipt of the notification by the image decode function of the completion of the decoding of the image; adding, by a compositor of the browser, the decoded image to the one or more non-image objects of the web page in response to the notification of the completion of the decoding of the image, wherein the compositor comprises a text render module, a graphics blend module, a decoded image blend module and a video blend module, and wherein the rendering one or more non-image objects comprises rendering, by the text render module, text of the web page for an output display; transferring, by the text render module and after rendering the text, operational control to the video blend module; transferring, by the video blend module, operational control to the decoded image blend module, in response to determining that at least one decoded image is awaiting rendering, or transferring, by the video blend module, operational control to the graphics blend module, in response to determining that no decoded image is awaiting rendering; blending, by the decoded image blend module and in response to receiving operational control, the decoded image to the output display; and blending, by the graphics blend module and in response to receiving operational control, two-dimensional or three-dimensional graphics to the output display.