Method and device for flexibly configuring graphic application priority, equipment and storage medium

Through configuration file parsing and the use of priority configuration options, dynamically adjusting the task priority of graphics applications on the GPU, solving the problem of inflexible priority settings in the existing technology, and realizing flexible GPU resource configuration and process real-time management.

CN119917247AInactive Publication Date: 2025-05-02SIENGINE TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202510410553.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-02
Publication Date
2025-05-02
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the prior art, the task priority setting of graphics applications on GPU is inflexible and cannot be dynamically adjusted, resulting in the fixed configuration of GPU resources and the real-time needs of different processes cannot be met.

Method used

The configuration file presets the priority of the graphics application, parses the configuration file during the graphics application initialization phase to obtain priority configuration options, and determines the final priority based on these options and the default priority of the graphics application, thereby dynamically adjusting the execution priority of the graphics application rendering task.

Benefits of technology

It realizes the flexibility to adjust the priority of graphics applications without modifying the source code, dynamically manages GPU resource configuration, and meets the real-time needs of different processes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119917247A_ABST
    Figure CN119917247A_ABST
Patent Text Reader

Abstract

The invention discloses a method, device and equipment for flexibly configuring the priority of a graphic application and a storage medium, and relates to the technical field of graphic processing.The method comprises the steps that the priority of the graphic application is preset based on a configuration file, so that the configuration file is analyzed in the initialization stage of the graphic application to obtain priority configuration options corresponding to the graphic application; determining the final priority of the graphic application according to the priority information in the priority configuration option and the default priority of the graphic application; and implementing execution of the graphic application rendering task based on the determined final priority. According to the method, the problems that the priority setting of the 3D graphic application GPU is inflexible and the priority cannot be dynamically set can be effectively solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of graphics processing technology, and in particular to a method, device, equipment and storage medium for flexibly configuring graphics application priority. Background Art

[0002] To ensure the real-time execution of tasks by different processes on the GPU (Graphics Processing Unit), the Khronos organization (an organization dedicated to creating open standards) provides extended functional interfaces for setting process task priorities for OpenCL (Open Computing Language), EGL (Embedded-System Graphics Library, used to manage contexts related to graphics rendering and interactions with the window system), and Vulkan (a new generation of low-overhead, high-performance graphics and computing API). By rewriting the parameters passed in when the process is initialized, the priority of the corresponding process executing tasks on the GPU can be modified, thereby ensuring that the GPU tasks of high-priority processes are executed first, so that certain process tasks have priority in enjoying GPU resources.

[0003] However, the above priority handling method has the following problems: (1) The process priority is modified by calling a fixed interface to pass in the priority parameter when the process is initialized. The resulting problem is that the process priority is determined during compilation and cannot be changed after compilation. This is not flexible enough, resulting in the need for application customization and loss of versatility. (2) Many graphics applications are written using graphics frameworks to increase development speed, and some frameworks do not support priority settings, such as Unity (a cross-platform game engine and development environment) and QT (a cross-platform application development framework widely used to develop graphical user interfaces). As a result, the developers of these applications cannot use this function to increase or decrease the priority of the application. (3) Since the priority is set by passing in parameters, the problem is that the process priority cannot be changed in real time, resulting in the configuration of GPU resources being fixed and not flexible enough. (4) If a third-party graphics application does not provide source code, it will be difficult to understand its task priority status, and its priority configuration cannot be changed without customizing the application. Summary of the invention

[0004] The present application provides a method, apparatus, device and storage medium for flexibly configuring the priority of a graphics application, which can effectively solve the problem that the GPU priority setting of a 3D graphics application is inflexible and the priority cannot be set dynamically.

[0005] In a first aspect, an embodiment of the present application provides a method for flexibly configuring a priority of a graphics application, the method for flexibly configuring a priority of a graphics application comprising: Presetting the priority of the graphics application based on the configuration file, so as to parse the configuration file in the initialization phase of the graphics application to obtain the priority configuration option corresponding to the graphics application; Determining a final priority of the graphics application according to the priority information in the priority configuration option and the default priority of the graphics application; Based on the determined final priority, the graphics application rendering task is executed; The priority configuration option is a preset priority of a graphics application.

[0006] In combination with the first aspect, in one implementation, parsing the configuration file in the initialization phase of the graphics application to obtain the priority configuration option corresponding to the graphics application specifically includes: During the initialization phase of the graphics application, the configuration file is parsed to determine whether there is a priority configuration option that is suitable for the current process: If yes, record the priority information in the priority configuration option and create a prority node; If not, no action will be taken.

[0007] In combination with the first aspect, in one implementation, determining the final priority of the graphics application according to the priority information in the priority configuration option and the default priority of the graphics application specifically includes: When the graphics application creates a rendering task, priority information of the priority configuration option is obtained when parsing the configuration file; Determine whether the priority information is consistent with the default priority of the graphics application: If so, determining the default priority of the graphics application as the final priority of the graphics application; If not, the priority information in the priority configuration option is determined as the final priority of the graphics application.

[0008] In combination with the first aspect, in one implementation, before obtaining the priority information of the priority configuration option when parsing the configuration file, the method further includes: Determine whether the priority configuration options corresponding to the graphics application are obtained when parsing the configuration file: If so, obtain the priority configuration option obtained when parsing the configuration file, and compare the priority information of the priority configuration option with the default priority of the graphics application for consistency; If not, the default priority of the graphics application is directly determined as the final priority of the graphics application.

[0009] In combination with the first aspect, in one implementation, the execution of the graphics application rendering task based on the determined final priority specifically includes: Based on the determined final priority, modify the execution priority of the graphics application rendering task; The graphics application rendering task with the modified execution priority is sent to the task scheduler, so that the graphics application rendering task is executed under the modified execution priority.

[0010] In combination with the first aspect, in one implementation, the method further includes: By operating the prority node, the saved priority information is dynamically modified. When determining the final priority of the graphics application, the saved priority information is compared with the default priority of the graphics application for determination. After parsing the configuration file to obtain the priority configuration option corresponding to the graphics application, the priority information of the priority configuration option is saved.

[0011] In a second aspect, an embodiment of the present application provides a device for flexibly configuring a priority of a graphics application, wherein the device for flexibly configuring a priority of a graphics application includes: A setting module, which is used to preset the priority of the graphics application based on the configuration file, so as to parse the configuration file in the initialization stage of the graphics application to obtain the priority configuration options corresponding to the graphics application; A confirmation module, configured to determine a final priority of the graphics application according to the priority information in the priority configuration option and a default priority of the graphics application; An execution module, which is used to implement the execution of the graphics application rendering task based on the determined final priority; The priority configuration option is a preset priority of a graphics application.

[0012] In conjunction with the second aspect, in one implementation, determining the final priority of the graphics application according to the priority information in the priority configuration option and the default priority of the graphics application specifically includes: When the graphics application creates a rendering task, priority information of the priority configuration option is obtained when parsing the configuration file; Determine whether the priority information is consistent with the default priority of the graphics application: If so, determining the default priority of the graphics application as the final priority of the graphics application; If not, the priority information in the priority configuration option is determined as the final priority of the graphics application.

[0013] In a third aspect, an embodiment of the present application provides a device for flexibly configuring the priority of graphics applications, wherein the device for flexibly configuring the priority of graphics applications comprises a processor, a memory, and a program for flexibly configuring the priority of graphics applications stored in the memory and executable by the processor, wherein when the program for flexibly configuring the priority of graphics applications is executed by the processor, the steps of the method for flexibly configuring the priority of graphics applications described above are implemented.

[0014] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which is stored a program for flexibly configuring the priority of graphics applications. When the program for flexibly configuring the priority of graphics applications is executed by a processor, the steps of the method for flexibly configuring the priority of graphics applications described above are implemented.

[0015] The beneficial effects brought by the technical solution provided in the embodiments of the present application include: The priority of the graphics application is preset through a configuration file, so that the configuration file is parsed during the initialization phase of the graphics application to obtain the priority configuration option corresponding to the graphics application, and the final priority of the graphics application is determined according to the priority information in the priority configuration option and the default priority of the graphics application, so as to realize the execution of the graphics application rendering task, and effectively solve the problem that the GPU priority setting of 3D graphics applications is inflexible and cannot be dynamically set. The present application can modify the priority of any graphics application without modifying the source code, and can also dynamically modify and adjust the priority of the graphics application. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 A flowchart of a method for flexibly configuring the priority of graphics applications for this application; Figure 2 A schematic diagram of the functional modules of a device for flexibly configuring the priority of graphic applications for this application; Figure 3 Schematic diagram of the hardware structure of a device that flexibly configures the priority of graphics applications for this application. DETAILED DESCRIPTION

[0017] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0018] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0019] On the first aspect, the embodiments of the present application provide a method for flexibly configuring the priority of graphics applications. In the specific implementation, the method can be implemented by modifying the existing GPU driver priority-related code, thereby 1. providing a flexible way to configure process priority, providing a way to dynamically modify process priority, and providing a way to set priority for graphics applications written in frameworks such as Unity and QT.

[0020] In one embodiment, referring to Figure 1 , Figure 1 A flowchart of a method for flexibly configuring the priority of graphics applications for this application. Figure 1 As shown, the method for flexibly configuring the priority of graphics applications includes: S1: presetting the priority of the graphics application based on the configuration file, parsing the configuration file in the initialization phase of the graphics application to obtain the priority configuration option corresponding to the graphics application; that is, presetting the priority of the graphics application in the form of a configuration file, the graphics application in this application refers to a 3D graphics application. The priority configuration option is the preset priority of the graphics application.

[0021] Further, in one embodiment, parsing the configuration file in the initialization phase of the graphics application to obtain the priority configuration options corresponding to the graphics application specifically includes: During the initialization phase of the graphics application, the configuration file is parsed to determine whether there is a priority configuration option that is suitable for the current process: If yes, the priority information in the priority configuration option is recorded to save the priority information; If not, no action will be taken.

[0022] Specifically, during the initialization phase of the graphics application, the configuration file is read and parsed, and the corresponding parsing rules are used to find out whether there is a priority configuration option that is suitable for the current process in the configuration file. If so, the priority information in the corresponding priority configuration option is recorded. Furthermore, regardless of whether there is a priority configuration option that is suitable for the current process, a prority node is created, and the saved priority information can be modified by operating the prority node later, so as to achieve the purpose of dynamically adjusting the execution priority of the rendering task. Even if the priority information has not been recorded and saved before, after the prority node is created, the priority information can be added and saved by operating the prority node, so as to achieve the purpose of dynamically adjusting the execution priority of the rendering task, because when determining the final priority of the graphics application later, the saved priority information is compared with the default priority of the graphics application.

[0023] S2: determining a final priority of the graphics application according to the priority information in the priority configuration option and the default priority of the graphics application; Furthermore, in one embodiment, determining the final priority of the graphics application according to the priority information in the priority configuration option and the default priority of the graphics application specifically includes: S201: in a graphics application creation rendering task phase, obtaining priority information of a priority configuration option obtained when parsing a configuration file; S202: Determine whether the priority information is consistent with the default priority of the graphics application: If so, determining the default priority of the graphics application as the final priority of the graphics application; If not, the priority information in the priority configuration option is determined as the final priority of the graphics application.

[0024] Specifically, when the graphics application creates a rendering task, the priority information of the priority configuration option corresponding to the current process obtained when parsing the configuration file is obtained, and the obtained priority information is compared with the default priority information of the graphics application to determine whether the two are consistent. If they are inconsistent, the obtained priority is used to replace the default priority of the graphics application, that is, the priority obtained by parsing is determined as the final priority of the graphics application; if they are consistent, there is no need to perform a replacement operation, and the default priority of the graphics application is determined as the final priority of the graphics application. That is, the final priority of the graphics application is based on the priority obtained by parsing.

[0025] Furthermore, in one embodiment, before obtaining the priority information of the priority configuration option when parsing the configuration file, the method further includes: Determine whether the priority configuration options corresponding to the graphics application are obtained when parsing the configuration file: If yes, then obtain the priority configuration option obtained when parsing the configuration file, and compare the priority information of the priority configuration option with the default priority of the graphics application for consistency; If not, the default priority of the graphics application is directly determined as the final priority of the graphics application.

[0026] Specifically, in the stage where the graphics application creates a rendering task, it is determined whether the priority configuration option corresponding to the current process was obtained when parsing the configuration file before. If the priority configuration option corresponding to the current process was obtained before, the priority information of the priority configuration option is compared with the default priority of the graphics application. If the priority configuration option corresponding to the current process was not obtained before, the default priority of the graphics application is not modified, and the default priority of the graphics application is directly determined as the final priority of the graphics application.

[0027] S3: Based on the determined final priority, the graphics application rendering task is executed.

[0028] Furthermore, in one embodiment, based on the determined final priority, the execution of the graphics application rendering task is implemented, specifically including: S301: modifying the execution priority of the graphics application rendering task based on the determined final priority; S302: Send the graphics application rendering task with the modified execution priority to the task scheduler, so that the graphics application rendering task is executed under the modified execution priority.

[0029] Specifically, after the execution priority of the graphics application rendering task is modified, the graphics application rendering task with the modified execution priority is sent to the task scheduler, which sends it to the GPU hardware for execution, so that the graphics application rendering task is executed at a preset priority.

[0030] Furthermore, the method of flexibly configuring the priority of a graphics application of the present application also includes dynamically modifying the saved priority information by operating the prority node, wherein when determining the final priority of the graphics application, the saved priority information is compared with the default priority of the graphics application for determination, and after parsing the configuration file to obtain the priority configuration option corresponding to the graphics application, the priority information of the priority configuration option is saved. That is, by modifying the saved priority information, the purpose of dynamically adjusting the execution priority of the graphics application rendering task is achieved.

[0031] Through the above steps, the present application enables the GPU task of a specific process to be executed at the priority specified by the configuration file, and can also achieve the purpose of dynamically modifying the priority of the process GPU task through the prority node.

[0032] The method for flexibly configuring the priority of a graphics application in an embodiment of the present application presets the priority of a graphics application through a configuration file, parses the configuration file during the initialization phase of the graphics application to obtain a priority configuration option corresponding to the graphics application, and determines the final priority of the graphics application based on the priority information in the priority configuration option and the default priority of the graphics application to implement the execution of the graphics application rendering task, thereby effectively solving the problem that the GPU priority setting of a 3D graphics application is inflexible and cannot be dynamically set. The present application can modify the priority of any graphics application without modifying the source code, and can also dynamically modify and adjust the priority of the graphics application.

[0033] In a second aspect, an embodiment of the present application also provides a device for flexibly configuring the priority of graphics applications.

[0034] In one embodiment, referring to Figure 2 , Figure 2 A schematic diagram of the functional modules of the device for flexibly configuring the priority of graphic applications in this application. Figure 2As shown, the device for flexibly configuring the priority of graphic applications includes: a setting module, a confirmation module, and an execution module.

[0035] The setting module is used to preset the priority of the graphics application based on the configuration file, so as to parse the configuration file in the initialization phase of the graphics application to obtain the priority configuration option corresponding to the graphics application; the confirmation module is used to determine the final priority of the graphics application according to the priority information in the priority configuration option and the default priority of the graphics application; the execution module is used to implement the execution of the graphics application rendering task based on the determined final priority. Wherein, the priority configuration option is the preset priority of the graphics application.

[0036] In this application, the final priority of the graphics application is determined according to the priority information in the priority configuration option and the default priority of the graphics application, specifically including: When the graphics application creates a rendering task, priority information of the priority configuration option is obtained when parsing the configuration file; Determine whether the priority information is consistent with the default priority of the graphics application: If so, determining the default priority of the graphics application as the final priority of the graphics application; If not, the priority information in the priority configuration option is determined as the final priority of the graphics application.

[0037] In a third aspect, an embodiment of the present application provides a device for flexibly configuring the priority of graphics applications. The device for flexibly configuring the priority of graphics applications may be a personal computer (PC), a laptop computer, a server, or other device with data processing capabilities.

[0038] Reference Figure 3 , Figure 3 The hardware structure diagram of the device for flexibly configuring the priority of graphic applications involved in the embodiment of the present application is shown in FIG. In the embodiment of the present application, the device for flexibly configuring the priority of graphic applications may include a processor, a memory, a communication interface, and a communication bus.

[0039] The communication bus may be of any type and is used to interconnect the processor, the memory, and the communication interface.

[0040] The communication interface includes input / output (I / O) interfaces, physical interfaces, and logical interfaces, which are used to interconnect devices within the device for implementing flexible configuration of the priority of graphic applications, and interfaces for interconnecting the device for implementing flexible configuration of the priority of graphic applications with other devices (such as other computing devices or user devices). The physical interface can be an Ethernet interface, a fiber optic interface, an ATM interface, etc.; the user device can be a display, a keyboard, etc.

[0041] The memory can be various types of storage media, such as random access memory (RAM), read-only memory (ROM), non-volatile RAM (NVRAM), flash memory, optical storage, hard disk, programmable ROM (PROM), erasable PROM (EPROM), electrically erasable PROM (EEPROM), etc.

[0042] The processor may be a general-purpose processor, and the general-purpose processor may call the program for flexibly configuring the priority of graphics applications stored in the memory, and execute the method for flexibly configuring the priority of graphics applications provided in the embodiment of the present application. For example, the general-purpose processor may be a central processing unit (CPU). The method executed when the program for flexibly configuring the priority of graphics applications is called may refer to the various embodiments of the method for flexibly configuring the priority of graphics applications in the present application, and will not be repeated here.

[0043] Those skilled in the art will understand that Figure 3 The hardware structure shown in the figure does not constitute a limitation on the present application, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0044] In a fourth aspect, an embodiment of the present application also provides a computer-readable storage medium.

[0045] The computer-readable storage medium of the present application stores a program for flexibly configuring the priority of graphics applications, wherein when the program for flexibly configuring the priority of graphics applications is executed by a processor, the steps of the method for flexibly configuring the priority of graphics applications as described above are implemented.

[0046] Among them, the method implemented when the program for flexibly configuring the priority of graphics applications is executed can refer to the various embodiments of the method for flexibly configuring the priority of graphics applications in this application, and will not be repeated here.

[0047] The terms "including" and "having" and any variations thereof in the specification and claims of this application and the above-mentioned drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices. The terms "first", "second" and "third" are used to distinguish different objects, etc., and do not represent a sequence, nor do they limit "first", "second" and "third" to different types.

[0048] In the description of the embodiments of the present application, "exemplary", "for example" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary", "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary", "for example" or "for example" is intended to present related concepts in a specific way.

[0049] In the description of the embodiments of the present application, unless otherwise specified, “ / ” means or, for example, A / B can mean A or B; the “and / or” in the text is merely a description of the association relationship of associated objects, indicating that three relationships may exist, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, “multiple” refers to two or more than two.

[0050] In some processes described in the embodiments of the present application, multiple operations or steps that appear in a specific order are included, but it should be understood that these operations or steps may not be executed in the order in which they appear in the embodiments of the present application or in parallel, and the sequence number of the operation is only used to distinguish the different operations, and the sequence number itself does not represent any execution order. In addition, these processes may include more or fewer operations, and these operations or steps may be executed in sequence or in parallel, and these operations or steps may be combined.

[0051] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, disk, CD) as described above, and includes a number of instructions for a terminal device to execute the methods described in each embodiment of the present application.

[0052] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A method for flexibly configuring the priority of a graphics application, characterized in that: The method for flexibly configuring the priority of graphics applications includes: Presetting the priority of the graphics application based on the configuration file, so as to parse the configuration file in the initialization phase of the graphics application to obtain the priority configuration option corresponding to the graphics application; Determining a final priority of the graphics application according to the priority information in the priority configuration option and the default priority of the graphics application; Based on the determined final priority, the graphics application rendering task is executed; The priority configuration option is a preset priority of a graphics application.

2. A method for flexibly configuring the priority of graphics applications as claimed in claim 1, characterized in that: The step of parsing the configuration file in the initialization phase of the graphics application to obtain the priority configuration options corresponding to the graphics application specifically includes: During the initialization phase of the graphics application, the configuration file is parsed to determine whether there is a priority configuration option that is suitable for the current process: If yes, record the priority information in the priority configuration option and create a prority node; If not, no action will be taken.

3. A method for flexibly configuring the priority of graphics applications as claimed in claim 1, characterized in that: The determining the final priority of the graphics application according to the priority information in the priority configuration option and the default priority of the graphics application specifically includes: When the graphics application creates a rendering task, priority information of the priority configuration option is obtained when parsing the configuration file; Determine whether the priority information is consistent with the default priority of the graphics application: If so, determining the default priority of the graphics application as the final priority of the graphics application; If not, the priority information in the priority configuration option is determined as the final priority of the graphics application.

4. A method for flexibly configuring the priority of graphics applications as claimed in claim 3, characterized in that: Before obtaining the priority information of the priority configuration option when parsing the configuration file, it also includes: Determine whether the priority configuration options corresponding to the graphics application are obtained when parsing the configuration file: If so, obtain the priority configuration option obtained when parsing the configuration file, and compare the priority information of the priority configuration option with the default priority of the graphics application for consistency; If not, the default priority of the graphics application is directly determined as the final priority of the graphics application.

5. The method for flexibly configuring the priority of graphics applications according to claim 1, characterized in that: The execution of the graphics application rendering task based on the determined final priority specifically includes: Based on the determined final priority, modify the execution priority of the graphics application rendering task; The graphics application rendering task with the modified execution priority is sent to the task scheduler, so that the graphics application rendering task is executed under the modified execution priority.

6. The method for flexibly configuring the priority of graphics applications according to claim 1, characterized in that: The method further comprises: By operating the prority node, the saved priority information is dynamically modified. When determining the final priority of the graphics application, the saved priority information is compared with the default priority of the graphics application for determination. After parsing the configuration file to obtain the priority configuration option corresponding to the graphics application, the priority information of the priority configuration option is saved.

7. A device for flexibly configuring the priority of a graphics application, characterized in that: The device for flexibly configuring the priority of graphics applications comprises: A setting module, which is used to preset the priority of the graphics application based on the configuration file, so as to parse the configuration file in the initialization stage of the graphics application to obtain the priority configuration options corresponding to the graphics application; A confirmation module, configured to determine a final priority of the graphics application according to the priority information in the priority configuration option and a default priority of the graphics application; An execution module, which is used to implement the execution of the graphics application rendering task based on the determined final priority; The priority configuration option is a preset priority of a graphics application.

8. The device for flexibly configuring the priority of graphics applications as claimed in claim 7, characterized in that: The determining the final priority of the graphics application according to the priority information in the priority configuration option and the default priority of the graphics application specifically includes: When the graphics application creates a rendering task, priority information of the priority configuration option is obtained when parsing the configuration file; Determine whether the priority information is consistent with the default priority of the graphics application: If so, determining the default priority of the graphics application as the final priority of the graphics application; If not, the priority information in the priority configuration option is determined as the final priority of the graphics application.

9. A device for flexibly configuring the priority of a graphics application, characterized in that: The device for flexibly configuring the priority of graphics applications includes a processor, a memory, and a program for flexibly configuring the priority of graphics applications stored in the memory and executable by the processor, wherein when the program for flexibly configuring the priority of graphics applications is executed by the processor, the steps of the method for flexibly configuring the priority of graphics applications as described in any one of claims 1 to 6 are implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a program for flexibly configuring the priority of graphics applications, wherein when the program for flexibly configuring the priority of graphics applications is executed by a processor, the steps of the method for flexibly configuring the priority of graphics applications as claimed in any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Task scheduling processing method and device, electronic equipment and storage medium

    CN111813554A

  • Server system, server configuration method, device and medium

    CN118012819A

  • Computer graphics object rendering based on priority

    US20230065943A1