The invention discloses a high-performance video and UI (
User Interface) display method based on a layered rendering architecture, which comprises the following steps of: defining
image display layers and a priority sequence thereof, sequentially rendering each layer according to a sequence from low priority to high priority, and ensuring that the high priority layer can correctly cover the low priority layer; and controlling the display sequence of each layer by adopting a double-track
system that a local display sequence is determined according to a z-index value in a lamination priority and the same priority, and synthesizing a final screen display image. The technical scheme of the invention has the main advantages that real-time rendering of a high-quality video
stream is supported while UI responsiveness is kept, and the requirement of a high-performance scene is met; it is ensured that the UI layer is always kept above the video layer, or the stacking sequence is dynamically adjusted according to application requirements; and a
hierarchical design principle is adopted, and
loose coupling is realized among the modules, so that independent upgrading and maintenance are facilitated, and the expandability of the
system is enhanced.