CPC G06F 3/0482 (2013.01) [G06F 3/0484 (2013.01); G06F 40/143 (2020.01)] | 20 Claims |
1. A data processing system comprising:
a processor; and
a memory in communication with the processor, the memory comprising executable instructions that, when executed by the processor, cause the data processing system to perform functions of:
receiving a request to load a user interface (UI) screen, the UI screen including a plurality of components;
parsing retrieved code for the UI screen, the code indicating a render tree for the UI screen including the plurality of components, wherein, independent of an order of the plurality of components in the render tree, each component is associated with a priority order based on an importance of the component, the priority order being predetermined during coding of the UI screen and the priority order for each UI component being included in the code for the UI screen;
creating a data structure for rendering the plurality of UI components in accordance with a rendering order determined by the priority order that is independent of the order of the components in the render tree, the data structure including a list of the plurality of UI components in the rendering order;
generating an event to a render management service for rendering a first UI component in the rendering order of the data structure;
receiving, at the render management service, an indication that the first UI component has been rendered in accordance with the event;
responsive to receiving the indication that the first UI component has been rendered, moving, via the render management service, to a next UI component in the list to render; and
continuing, via the render management service, with rendering of the plurality of UI components in accordance with the rendering order until all UI components in the list have been rendered.
|