Television end multi-canvas step-by-step rendering method, device and equipment based on YTS engine
By employing a multi-canvas step-by-step rendering method on smart TV devices, the problem of insufficient rendering capabilities on TVs has been solved, achieving more efficient rendering processing and improved visual effects.
Patent Information
- Application Number
- CN202511382164.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-25
- Publication Date
- 2025-12-19
AI Technical Summary
When running ported applications, smart TV devices suffer from insufficient processing power and rendering capabilities, especially when processing large amounts of resource-intensive scene data. This results in excessive GPU memory consumption and poor display quality.
The method adopts a multi-canvas step-by-step rendering approach for TVs based on the YTS engine. By parsing the scene configuration, multiple canvases and rendering threads are created, and different frame rates are set for each canvas for background rendering. Finally, they are merged into the same canvas for output rendering.
It effectively alleviates the computing power pressure on TV equipment, improves the display effect, especially the visual presentation of key elements, and enhances rendering efficiency and user experience.
Smart Images

Figure CN121174003A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field that a smart television runs a transplanted application, and particularly relates to a television end multi-canvas step-by-step rendering method, device and equipment based on YTS engine. BACKGROUND
[0002] In recent years, the mobile phone APP or cloud game industry develops rapidly, and a large amount of high-quality content is transplanted to smart television devices, such as Android televisions. However, even if the same smart operating system is used, the hardware configurations of mobile phone terminals and television terminals are quite different. At present, the mainstream television device hardware cannot fully run the transplanted high-quality APP, and the processing capacity and rendering computing power are insufficient. For example, when facing scene data with a large amount of resources, the existing television end GPU rendering logic cannot undertake this heavy task, and a large amount of GPU rendering memory is occupied, resulting in that the output display effect cannot meet the expectation. If a special application program version is specially developed and adapted for the television device, the human, time and economic costs will be greatly increased. SUMMARY
[0003] In view of the above, the present application aims to provide a television end multi-canvas step-by-step rendering method, device and equipment based on YTS engine, so as to solve the display processing problem of the relatively low configuration television terminal when running the transplanted application program.
[0004] The technical solution adopted by the present application is as follows:
[0005] In the first aspect, the present application provides a television end multi-canvas step-by-step rendering method based on YTS engine, which comprises the following steps:
[0006] When running the transplanted application program, the scene configuration to be rendered currently is parsed, and a plurality of resource types to be rendered in the current scene are obtained;
[0007] According to the number of resource types, a plurality of canvases corresponding to the number and rendering threads corresponding to each resource type are created;
[0008] Different frame rates are set for the rendering threads corresponding to each canvas respectively, and background rendering processing is performed;
[0009] The multi-canvas is combined into the same canvas, and then output rendering is performed, so as to display the current scene on the television terminal screen.
[0010] In at least one possible implementation, the step of setting different frame rates for the rendering threads corresponding to each canvas respectively comprises:
[0011] A corresponding fixed frame rate is configured in advance based on the preset identifier of the scene data;
[0012] According to the resource type corresponding to the rendering thread, a corresponding fixed frame rate is set.
[0013] In at least one possible implementation, the setting of different frame rates for the rendering threads corresponding to the respective canvases includes:
[0014] An initial frame rate is set for the rendering thread in advance;
[0015] In combination with the current data to be rendered, the initial frame rate is adjusted according to the pixel change rate corresponding to each resource type.
[0016] In at least one possible implementation, the output rendering after the multiple canvases are combined into one canvas includes: taking the canvas corresponding to the rendering thread with the lowest frame rate as a target canvas, combining the other canvases into the target canvas, and performing display processing by the rendering thread with the lowest frame rate.
[0017] In at least one possible implementation, the rendering method further includes a cleaning link: the target canvas performs unified cleaning on the combined scene resources according to the frame rate of the rendering thread corresponding thereto.
[0018] In at least one possible implementation, the obtaining of the several resource types to be rendered in the current scene includes: based on a preset identifier of scene data, performing multi-level classification on the picture elements constituting the current scene to form the several resource types.
[0019] In a second aspect, the application provides a television-side multi-canvas step-by-step rendering device based on a YTS engine, which includes:
[0020] A scene layering module is configured to, when a migrated application is running, parse a scene configuration to be rendered currently, and obtain several resource types to be rendered in the current scene.
[0021] A task splitting module is configured to create a number of canvases corresponding to the number of resource types and rendering threads corresponding to the respective resource types.
[0022] A step-by-step rendering module is configured to set different frame rates for the rendering threads corresponding to the respective canvases and perform background rendering processing.
[0023] An output display module is configured to perform output rendering after the multiple canvases are combined into one canvas, so as to display the current scene on a television-side screen.
[0024] In a third aspect, the present application provides an electronic device comprising one or more processors, a memory, and one or more computer programs, the memory can be a non-volatile storage medium, wherein the one or more computer programs are stored in the memory, and the one or more computer programs comprise instructions which, when executed by the device, cause the electronic device to perform the method of the first aspect or any possible implementation mode of the first aspect.
[0025] In a fourth aspect, the present application provides a computer readable storage medium, which stores a computer program, when the computer program is run on a computer, causes the computer to perform the method of the first aspect or any possible implementation mode of the first aspect.
[0026] In a fifth aspect, the present application also provides a computer program product, when the computer program product is executed by a computer, is used to perform the method of the first aspect or any possible implementation mode of the first aspect. In a possible design of the fifth aspect, the related programs involved in the product can be stored in the memory packaged with the processor in whole or in part, or in the storage medium not packaged with the processor in whole or in part.
[0027] It should be understood that the second to fifth aspects of the embodiments of the present application are consistent with the technical solution of the first aspect of the embodiments of the present application, and the beneficial effects obtained by each aspect and the corresponding possible implementation mode are similar, which will not be described again.
[0028] The main design idea of the present application is that when running a transplanted application, the television end first analyzes the current scene configuration to be rendered to obtain a plurality of resource types to be rendered in the current scene; according to the number of the resource types, a plurality of canvases corresponding to the number and rendering threads corresponding to each of the resource types are created; different frame rates are set for the rendering threads corresponding to each of the canvases and background rendering processing is performed; after the multiple canvases are combined into the same canvas, output rendering is performed to make the television end screen display the current scene. According to the type characteristics of the resources to be rendered, the present application configures multiple canvases and corresponding rendering threads, and sets different frame rates for the threads of different canvases, so as to realize step-by-step processing of complex rendering tasks, which not only can effectively relieve the computing power pressure of the television device with low configuration, but also can highlight the visual presentation effect of the key elements in the current scene picture. BRIEF DESCRIPTION OF DRAWINGS
[0029] In order to make the purpose, technical scheme and advantages of the present application more clear, the present application will be further described below in combination with the drawings, in which:
[0030] Figure 1A flowchart of a television-side multi-canvas step-by-step rendering method based on a YTS engine is provided for an embodiment of the present application.
[0031] Figure 2 A schematic diagram of a television-side multi-canvas step-by-step rendering device based on a YTS engine is provided for an embodiment of the present application.
[0032] Figure 3 A schematic diagram of an electronic device is provided for an embodiment of the present application. DETAILED DESCRIPTION
[0033] Embodiments of the present application are described in detail below with reference to the accompanying drawings, in which the same or similar elements or elements having the same or similar functions are denoted by the same or similar reference numerals throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are intended only for explanation of the present application, and cannot be interpreted as limiting the present application.
[0034] An embodiment of a television-side multi-canvas step-by-step rendering method based on a YTS engine is proposed in the present application, and specifically, as shown in Figure 1 , which includes:
[0035] Step S1, when running a transplanted application, parse the current scene configuration to be rendered to obtain a plurality of resource types to be rendered in the current scene;
[0036] Specifically, when the transplanted application runs on the television side, if it is necessary to output and display a certain scene, the CPU loads the scene data into the running memory, and then performs the resource parsing process mentioned in this step. Generally, there can be several different types of picture elements in the scene interface, for example, the login scene of a transplanted mobile phone game, which contains different types of objects to be rendered: relatively static background resources, relatively dynamic foreground special effect resources, human-computer interaction (UI) resources related to login operations, etc. In the past, the television side processed rendering tasks similar to this scene, and a single thread rendered the aforementioned complex scene picture on a single canvas, which not only occupied a large amount of rendering memory, but also was difficult to achieve clear and smooth rendering display effect. Therefore, the present application proposes that before the television side GPU performs the rendering task, the CPU additionally adds a pre-processing, that is, to identify each type of object in the current scene to be rendered. In some preferred embodiments, the obtaining of a plurality of resource types to be rendered in the current scene specifically includes: based on the preset identifier of the scene data, classifying the picture elements constituting the current scene into a plurality of levels to form a plurality of resource types. As an example in the foregoing, the background layer, the UI layer, and the special effect layer can be divided.
[0037] Step S2, according to the number of resource types, creating a plurality of canvases corresponding to the number and rendering threads corresponding to each resource type;
[0038] It can be understood that, starting from this step, the execution subject of the present solution is the image processing unit GPU of the television end, that is, the GPU receives the current scene data to be rendered and the configuration information such as the hierarchical classification of the aforementioned picture elements from the CPU and performs identification, deploys a plurality of canvases corresponding to each type of element and corresponding rendering threads responsible for the rendering task of each canvas according to the configuration information, and in combination with the foregoing example, scene canvases, UI canvases, and special effect canvases and their respective rendering threads can be generated.
[0039] Step S3, setting different frame rates for the rendering threads corresponding to each canvas and performing background rendering processing;
[0040] Based on the mechanism of multi-canvas step-by-step rendering proposed in the present application, differentiated frame rates can be set for each rendering thread, which can be expanded in two ways:
[0041] The first way is to configure a corresponding fixed frame rate based on the preset identification of the scene data. At this step, the corresponding fixed frame rate is set according to the resource type corresponding to the rendering thread. That is, different types of resource hierarchies can have different frame rate default values. In combination with the foregoing example, the rendering thread responsible for the background canvas can be preset to a low frame rate (such as 30 frames), the rendering thread responsible for the UI canvas can be preset to a medium frame rate (such as 60 frames), and the rendering thread responsible for the special effect canvas can be preset to a high frame rate (such as 120 frames).
[0042] The second way is a frame rate configuration scheme designed based on the majority of different hierarchical rendering objects, but special cases cannot be ruled out. For example, according to different picture elements in the scene, the background, special effects, and other types are distinguished, but in the current scene, the background hierarchy also contains a large number of important dynamic elements, rather than relatively static pictures. At this time, in some other preferred embodiments of the present application, an initial frame rate is set for the rendering thread in advance; in combination with the current data to be rendered, the initial frame rate is adjusted according to the pixel change rate corresponding to each resource type. That is, the actual resource state of different hierarchies is determined from the data information of the scene picture, and the pixels in the former and latter frames will change when there are dynamic pictures in a certain resource, which can be represented by a change curve in actual operation, and the pixel change rate can be compared with a preset threshold to determine whether there are animation / special effect elements that can be visually recognized by the user, and the initial frame rate of the thread of this resource type is adjusted based on this. The initial frame rate mentioned here can be set according to the majority of cases and experience in reference to the first way, so that if it is determined that a certain background layer contains animation / special effects that need to be highlighted, the frame rate of the thread of the background layer can be increased.
[0043] It needs to be pointed out that the background rendering process described here, as understood by those skilled in the art, refers to the multiple canvases and their threads created, which can perform synchronous non-display rendering processing after being set. That is, after each rendering thread receives its own task, it performs synchronous rendering operations on its own canvas to prepare for subsequent output display in advance. It can also be pointed out that due to the different frame rates set, different element objects in the current scene will exhibit different display effects. In the previous example, the UI layer canvas is rendered twice per frame while the background layer canvas is rendered once per frame, and the special effect layer is rendered four times per frame. The advantage of this design is that the complete and complex rendering task is divided into a multi-canvas multi-thread step-by-step processing mechanism, which can reduce the rendering memory usage. From the perspective of the user's eyes watching the display content on the TV screen, the important rendering elements in the current scene, such as the special effect layer elements, can be highlighted. Due to the use of a higher frame rate rendering, the special effect layer can form a special effect layering effect, resulting in a visual presentation of the element color deepening and smoother animation when displayed on the screen.
[0044] Continuing from the previous text, step S4, the multiple canvases are combined into the same canvas for output rendering to display the current scene on the TV screen.
[0045] To ensure compatibility with relatively low-configuration TV devices, the canvas corresponding to the relatively lowest frame rate rendering thread is preferably used as the target canvas during output rendering. The background rendering content of other canvases is merged into the target canvas, and the lowest frame rate rendering thread is used as the main rendering thread to complete the final display processing. For example, the UI canvas and special effect canvas are merged into the background canvas and displayed by the background canvas thread. Therefore, it needs to be pointed out here that the frame rate configured in the previous text needs to be combined with the physical upper limit of the TV device. The lowest frame rate value is recommended to be no higher than the screen refresh rate of the TV device. In this way, the canvas used as the final presentation can match the screen refresh rate during output rendering. Finally, based on the above-mentioned embodiments, the rendering method can also include a cleaning step: the target canvas unifies the cleaning of the current scene resources according to the frame rate of its corresponding rendering thread, for example, cleaning once every 30 frames.
[0046] Further complementarily, the embodiment of the present application can be implemented through a YTS (unity TV Service) engine, and the YTS mainly refers to a unity visual rendering service system. Unity is a real-time 3D interactive content creation and operation carrier, and all creators including game development, art, architecture, automobile design and film and television can turn ideas into reality by means of unity. The platform provides a complete software tool package solution, which can be used for creating, operating and realizing any real-time interactive 2D and 3D content, and supports media including mobile phones, tablet computers, smart televisions, PCs, game consoles, augmented reality and virtual reality devices and the like. Those skilled in the art can understand that, based on the scene requirements of the present application, the YTS can be configured as a technical service kit of an application program transplantation solution from a mobile terminal to a smart television platform in actual operation. That is, a tool package / optimization library deployable on a terminal is developed by matching the transplantation application program (such as a mobile terminal game, a cloud game and the like), so as to assist in realizing the transplantation and expansion of the application program between different types of carrier platforms.
[0047] To sum up, the main design concept of the present application is that when running the transplantation application program, the television end first analyzes the scene configuration to be rendered currently, obtains a plurality of resource types to be rendered in the current scene; according to the number of the resource types, a plurality of canvases corresponding to the number and rendering threads corresponding to each of the resource types are created; different frame rates are set for the rendering threads corresponding to each of the canvases respectively and background rendering processing is performed; and the multiple canvases are combined into the same canvas and then output rendering is performed, so as to make the television end screen display the current scene. According to the type characteristics of the resources to be rendered, a plurality of canvases and corresponding rendering threads are configured, and by setting different frame rates for the threads of different canvases, step-by-step processing of complex rendering tasks is realized, which not only can effectively relieve the computing power pressure of the television equipment with low configuration, but also can highlight the visual presentation effect of key elements in the current scene picture.
[0048] Corresponding to each of the above embodiments and preferred solutions, the present application also provides an embodiment of a television end multi-canvas step-by-step rendering device based on a YTS engine, as shown in Figure 2 The device can specifically include the following components:
[0049] The scene layering module 201 is configured to analyze the scene configuration to be rendered currently when running the transplantation application program, and obtain a plurality of resource types to be rendered in the current scene.
[0050] The task splitting module 202 is configured to create a plurality of canvases corresponding to the number and rendering threads corresponding to each of the resource types according to the number of the resource types.
[0051] The step-by-step rendering module 203 is used to set different frame rates for the rendering threads corresponding to each canvas and perform background rendering processing.
[0052] The output display module 204 is used to merge multiple canvases into the same canvas and then output rendering so that the current scene can be displayed on the TV screen.
[0053] The above should be understood Figure 2 The division of components in the YTS engine-based multi-canvas step-by-step rendering device for televisions is merely a logical functional division. In actual implementation, they can be fully or partially integrated into a single physical entity, or physically separated. These components can be implemented entirely through software calls via processing elements; alternatively, some components can be implemented through software calls via processing elements, while others can be implemented in hardware. For example, a particular module can be a separate processing element or integrated into a chip within an electronic device. The implementation of other components is similar. Furthermore, these components can be fully or partially integrated together or implemented independently. During implementation, each step of the above method or each of the above components can be completed through integrated logic circuits in the hardware of the processor element or through software instructions.
[0054] For example, these components can be one or more integrated circuits configured to implement the above methods, such as one or more application-specific integrated circuits (ASICs), one or more digital signal processors (DSPs), or one or more field-programmable gate arrays (FPGAs). Alternatively, these components can be integrated together to form a system-on-a-chip (SOC).
[0055] Based on the above embodiments and preferred solutions, those skilled in the art will understand that, in actual operation, the technical concept involved in this invention can be applied to various implementation methods. The following embodiments are used as illustrative examples:
[0056] (1) An electronic device. The device may specifically include: one or more processors, a memory, and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions that, when executed by the device, cause the device to perform the steps / functions of the foregoing embodiments or equivalent embodiments.
[0057] The electronic device can be specifically a computer-related electronic device, such as various computing terminals and electronic products, but is not limited thereto. Preferably, the electronic device includes a smart television, such as an Android television.
[0058] Specifically, the processor, the communication interface, and the memory can communicate with each other through a communication bus. The processor can be a central processing unit (CPU), a DSP, a microcontroller, or a digital signal processor, and can further include a GPU, an embedded neural-network processing unit (NPU), and an image signal processor (ISP). The processor can further include an application-specific integrated circuit (ASIC) or one or more integrated circuits configured to implement embodiments of the present application. In addition, the processor can have a function of operating one or more software programs, and the software programs can be stored in a storage medium such as the memory. The memory / storage medium can include a non-volatile memory such as a non-removable disk, a U disk, a removable hard disk, an optical disk, a read-only memory (ROM), and a random access memory (RAM).
[0059] Although the specific form of the electronic device is not limited in the present application, for illustrative purposes, the present application provides a structural schematic diagram of an embodiment of the electronic device as shown in Figure 3 The electronic device 900 includes a processor 910 and a memory 930. The processor 910 and the memory 930 can communicate with each other through an internal connection path to transmit control and / or data signals. The memory 930 is configured to store a computer program, and the processor 910 is configured to call and run the computer program from the memory 930. The processor 910 and the memory 930 can be integrated into one processing device, or are more commonly independent components. The processor 910 is configured to execute program code stored in the memory 930 to implement the above functions. In a specific implementation, the memory 930 can be integrated into the processor 910, or independent of the processor 910.
[0060] In addition, to make the function of the electronic device 900 more perfect, the electronic device 900 can further include one or more of an input unit 960, a display unit 970, an audio circuit 980, a camera 990, and a sensor 901. The audio circuit can further include a speaker 982 and a microphone 984. The display unit 970 can include a display screen.
[0061] Further, the electronic device 900 shown above can further include a power supply 950 for providing power to various devices or circuits in the electronic device 900.
[0062] It should be understood that, Figure 3 The electronic device 900 shown above can implement various processes of the method provided by the foregoing embodiments. The operation and / or function of each component in the electronic device 900 can be respectively implemented in order to implement the corresponding flow in the above method embodiments. For details, please refer to the description of the method, apparatus, etc. embodiments in the foregoing, and the detailed description is appropriately omitted here.
[0063] It should be understood that, Figure 3 The processor 910 in the electronic device 900 shown above can be a system on chip (SOC), and the processor 910 can include a central processing unit (CPU) and can further include other types of processors, such as a graphics processing unit (GPU), etc. Details will be described below.
[0064] In summary, the various processors or processing units inside the processor 910 can cooperate to implement the previous method flow, and the corresponding software programs of the various processors or processing units can be stored in the memory 930.
[0065] (2) A computer data storage medium, in which a computer program or the above-described apparatus is stored, and when the computer program or the above-described apparatus is executed, the computer executes the steps / functions of the foregoing embodiments or equivalent implementation manners.
[0066] In several embodiments provided by the present application, any function if realized in the form of a software function unit and sold or used as an independent product, can be stored in a computer data storage medium. Based on such an understanding, some of the technical solutions of the present application or parts of the technical solutions that are essential or contribute to the prior art can be embodied in the form of software products as described below.
[0067] Especially, it should be pointed out that the storage medium can be a server or a similar computer device, specifically, that is, the storage device in the server or similar computer device stores the foregoing computer program or the above-described apparatus.
[0068] (3) A computer program product (which can include the above-described apparatus), which, when running on a terminal device, causes the terminal device to execute the YTS engine-based multi-canvas step rendering method of a television end in the foregoing embodiments or equivalent implementation manners.
[0069] From the description of the above embodiments, those skilled in the art can clearly understand that all or part of the steps in the above-mentioned implementation methods can be implemented by means of software plus necessary universal hardware platforms. Based on such understanding, the above-mentioned computer program product can include, but is not limited to, the form of APP, program package, computing power optimization library, etc.
[0070] In the embodiments of the present application, "at least one" means one or more, and "multiple" means two or more. The association relationship of "and / or" describing the associated objects means that there can be three kinds of relationships, for example, A and / or B can represent the cases of A alone, A and B together, and B alone. Wherein A and B can be singular or plural. The character " / " generally represents that the associated objects before and after it are in an "or" relationship. "At least one of the following" and similar expressions mean any combination of these items, including any combination of single or multiple items. For example, at least one of a, b and c can represent: a, b, c, a and b, a and c, b and c, or a and b and c, where a, b, c can be single or multiple.
[0071] Those skilled in the art can appreciate that the modules, units and method steps described in the embodiments disclosed in the specification can be realized by electronic hardware, computer software and combination of electronic hardware and computer software. Whether the functions are realized in hardware or software mode depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different ways to realize the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.
[0072] In addition, each embodiment in the specification is described in a progressive manner, and the same or similar parts between each embodiment can be referred to. Especially, for the device, equipment and other embodiments, since they are basically similar to the method embodiments, the relevant parts can be referred to the part of the description of the method embodiments. The above-described device, equipment and other embodiments are only illustrative, and the modules, units and the like described as separate components can be or can not be physically separated, that is, they can be located in one place, or can be distributed to multiple places, such as nodes of system network. Specifically, part or all of the modules and units can be selected to achieve the purpose of the above-mentioned embodiment scheme according to actual needs. Those skilled in the art can understand and implement without creative labor.
[0073] The above detailed description of the embodiments shown in the drawings illustrates the structure, features and effects of the present application, but the above is only a preferred embodiment of the present application, and it should be noted that the technical features involved in the above embodiments and preferred modes can be reasonably combined and matched into various equivalent schemes by those skilled in the art without departing from or changing the design idea and technical effects of the present application; therefore, the present application is not limited to the implementation range shown in the drawings, and any changes or modifications made in accordance with the concept of the present application, or equivalent embodiments with equivalent changes, shall be within the scope of protection of the present application.
Claims
1. A multi-canvas step rendering method based on YTS engine for TV terminal, characterized in that, Comprising: When running the transplanted application, parse the current scene configuration to be rendered, and obtain a plurality of resource types to be rendered in the current scene; According to the number of resource types, create a plurality of canvases corresponding to the number and rendering threads corresponding to each resource type; Set different frame rates for the rendering threads corresponding to each canvas and perform background rendering processing; Merge multiple canvases into the same canvas and perform output rendering to make the television screen display the current scene.
2. The method of claim 1, wherein the YTS engine-based multi-canvas step rendering method of a TV terminal is characterized by, The step of setting different frame rates for the rendering threads corresponding to each canvas includes: Preconfigure a fixed frame rate based on a preset identifier of scene data; Set the corresponding fixed frame rate according to the resource type corresponding to the rendering thread.
3. The method of claim 1, wherein the YTS engine-based multi-canvas step rendering method of a TV terminal is characterized by, The step of setting different frame rates for the rendering threads corresponding to each canvas includes: Preconfigure an initial frame rate for the rendering thread; Adjust the initial frame rate according to the pixel change rate corresponding to each resource type based on the current data to be rendered.
4. The method of claim 1, wherein the YTS engine-based multi-canvas step rendering method of a TV terminal is characterized by, The step of merging multiple canvases into the same canvas and performing output rendering includes: taking the canvas corresponding to the rendering thread with the lowest frame rate as a target canvas, merging other canvases into the target canvas, and performing display processing by the rendering thread with the lowest frame rate.
5. The method of claim 4, wherein the YTS engine-based multi-canvas step rendering method of a TV terminal is characterized by, The rendering method further includes a cleaning step: the target canvas uniformly cleans the merged scene resources according to the frame rate of the corresponding rendering thread.
6. The method of claim 1-5, wherein, The step of obtaining a plurality of resource types to be rendered in the current scene includes: based on a preset identifier of scene data, multi-level classifies each picture element constituting the current scene to form a plurality of resource types.
7. A device for multi-canvas step rendering of a YTS engine based TV terminal, characterized in that, Comprising: A scene layering module for parsing the current scene configuration to be rendered when running the transplanted application, and obtaining a plurality of resource types to be rendered in the current scene; A task splitting module for creating a plurality of canvases corresponding to the number and rendering threads corresponding to each resource type according to the number of resource types; A step-by-step rendering module for setting different frame rates for the rendering threads corresponding to each canvas and performing background rendering processing; An output display module for merging multiple canvases into the same canvas and performing output rendering to make the television screen display the current scene.
8. An electronic device, comprising: Comprising: One or more processors, memories, and one or more computer programs, wherein the one or more computer programs are stored in the memories, and the one or more computer programs include instructions that, when executed by the electronic device, cause the electronic device to perform the YTS engine-based television multi-canvas step-by-step rendering method of any one of claims 1-6.
9. A computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the YTS engine-based television multi-canvas step-by-step rendering method of any one of claims 1-6.
10. A computer program product comprising a computer program, characterized in that, The computer program is executed by the processor to implement the YTS engine-based television multi-canvas step-by-step rendering method of any one of claims 1-6.
Citation Information
Patent Citations
User interface rendering method and device, client device and electronic device
CN110764849A
Fusion rendering method and device, computer equipment and storage medium
CN114429511A
Target rendering method, electronic equipment and computer readable storage medium
CN115937849A
Three-dimensional scene rendering method and device, equipment and medium
CN119478191A
Transplanting application program image rendering method, device and equipment based on smart television GPU (Graphics Processing Unit)
CN119653149A