A compiling method, readable storage medium, program product and electronic device
By dynamically selecting the compilation method based on the complexity of the shader source code and the rendered content, the performance problems caused by fixed compilation methods in electronic devices are solved, a balance between resource utilization and display effect is achieved, and the operating efficiency of electronic devices is improved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- HONOR DEVICE CO LTD
- Filing Date
- 2025-01-21
- Publication Date
- 2026-07-21
AI Technical Summary
In the existing technology, electronic devices use a fixed compilation method to compile shaders, which affects performance and makes it impossible to effectively balance resource utilization and display effect.
Depending on the complexity of the shader's source code and the complexity of the rendered content, different compilation methods are used, including direct compilation and optimized compilation. The appropriate compilation method is selected to avoid lag caused by wasted resources or insufficient optimization.
By dynamically adjusting the compilation method, resource waste and lag are avoided, achieving a balance between the performance and power consumption of electronic devices, and improving display effects and efficiency.
Smart Images

Figure CN122431673A_ABST