Method, an apparatus and a computer program for display contents generation
AssigneeHuawei Technologies Co., Ltd.
InventorsZoran STEVANOVIC, Aliaksei KATOVICH
Life of this patent
Estimating the term…
Abstract
A method, an apparatus and a computer program for display contents generation are provided. The disclosed solution enables display contents generation in a case where several application window surfaces are visible at the same time and the number of application window surfaces exceeds the number of available hardware layers in a display subsystem (DSS). In the disclosed solution, the display subsystem is sequentially used to composite a final display frame.
Claims20
A method for display contents generation, the method comprising:
- selecting data of a plurality of application window surfaces stored in a memory, wherein an initial number of the application window surfaces exceeds a number of hardware layers of a display subsystem;
- feeding data of the selected plurality of application window surfaces to the hardware layers;
- compositing an intermediate frame by a compositor of the display subsystem based on contents of the fed hardware layers;
- comparing a number of previously non-selected application window surfaces stored in the memory to the number of hardware layers;
- based on a result of the comparing, further selecting data of at least one previously non-selected application window surface stored in the memory;
- further feeding the intermediate frame and data of the further selected at least one previously non-selected application window surface to the hardware layers;
- and
- further compositing a subsequent frame by the compositor based on contents of the further fed hardware layers.
An apparatus comprising:
- a memory configured to store data of application window surfaces;
- a display subsystem comprising a plurality of hardware layers and a compositor;
- wherein the apparatus is configured to:
- select data of a plurality of the application window surfaces stored in the memory, wherein an initial number of the application window surfaces exceeds a number of the hardware layers of the display subsystem;
- feed data of the selected plurality of application window surfaces to the hardware layers;
- composite an intermediate frame by the compositor based on contents of the fed hardware layers;
- compare a number of previously non-selected application window surfaces stored in the memory to the number of hardware layers;
- based on a result of the compare, further select data of at least one previously non-selected application window surface stored in the memory;
- further feed the intermediate frame and data of the further selected at least one previously non-selected application window surface to the hardware layers;
- and
- further composite a subsequent frame by the compositor based on contents of the fed hardware layers.
A non-transitory computer readable storage medium comprising program code which, when executed by one or more processors, cause the one or more processors to perform operations including:
- selecting data of a plurality of application window surfaces stored in a memory, wherein an initial number of the application window surfaces exceeds a number of hardware layers of a display subsystem;
- feeding data of the selected plurality of application window surfaces to the hardware layers;
- compositing an intermediate frame by a compositor of the display subsystem based on contents of the fed hardware layers;
- comparing a number of previously non-selected application window surfaces stored in the memory to the number of hardware layers;
- based on a result of the comparing, further selecting data of at least one previously non-selected application window surface stored in the memory;
- further feeding the intermediate frame and data of the further selected at least one previously non-selected application window surface to the hardware layers;
- and
- further compositing a subsequent frame by the compositor based on contents of the further fed hardware layers.
Dependencies are inferred from the claim text.