The invention relates to the technical field of terminals, and provides a compiling method,
electronic equipment and a computer readable storage medium, the method comprises the following steps: obtaining L types of
shader source codes, the L types of
shader source codes are source codes corresponding to shaders of L applications, and L is an integer greater than 1; determining a public
source code from the L
shader source codes, wherein the public
source code is a common part in the L shader source codes; the public
source code is compiled to obtain N kinds of public
executable codes, the N kinds of public
executable codes are used for adapting to N kinds of operation environments, and N is a positive integer; and sending a target public
executable code to a second device, wherein the target public executable code is one of the N public executable codes matched with the
operating environment of the second device. According to the method, the probability of frame loss and jamming in the picture rendering process can be reduced, and the picture rendering performance can be optimized.