A graphics processing method, comprising: receiving a command queue for a current frame, wherein the command queue comprises multiple drawing commands, each drawing command carries bounding rectangle information, execution content, a drawing mode, and drawing area information, and the drawing mode comprises an opaque mode, a blend mode, or a wait mode; splitting, according to the bounding rectangle information and the drawing area information, each irregular drawing command in the multiple drawing commands into at least one first-class drawing command and at least one second-class drawing command, wherein the irregular drawing command refers to a drawing command corresponding to a drawing area of an irregular shape, the irregular shape refers to all shapes except a regular shape and the regular shape refers to a rectangle whose edges are in parallel with edges corresponding to a display desktop; wherein the drawing area of the at least one first-class drawing command is a rectangle in the drawing area corresponding to the irregular drawing command, the drawing area of the at least one second-class drawing command is a remaining corner area obtained after the drawing area of the at least one first-class drawing command is subtracted from the drawing area corresponding to the irregular drawing command, the drawing mode of the at least one first-class drawing command is the same as the drawing mode of the irregular drawing command, and the drawing mode of the at least one second-class drawing command is the wait mode; grouping, into multiple drawing command sets according to the bounding rectangle information and the drawing area information, a regular drawing command in the multiple drawing commands, and the at least one first-class drawing command and the at least one second-class drawing command that are obtained after the irregular drawing command in the multiple drawing commands is split, so that drawing commands that belong to different drawing command sets do not intersect with each other; separately performing intersection detection on the multiple drawing command sets according to the bounding rectangle information and the drawing area information, so that drawing commands in each drawing command set in the multiple drawing command sets do not intersect with each other; separately performing, according to the execution content, the drawing mode, and the drawing area information, drawing command combining on the multiple drawing command sets on which the intersection detection is performed; and executing a drawing command obtained after combining is performed on each drawing command set. receiving a command queue for a current frame, wherein the command queue comprises multiple drawing commands, each drawing command carries bounding rectangle information, execution content, a drawing mode, and drawing area information, and the drawing mode comprises an opaque mode, a blend mode, or a wait mode; splitting, according to the bounding rectangle information and the drawing area information, each irregular drawing command in the multiple drawing commands into at least one first-class drawing command and at least one second-class drawing command, wherein the irregular drawing command refers to a drawing command corresponding to a drawing area of an irregular shape, the irregular shape refers to all shapes except a regular shape and the regular shape refers to a rectangle whose edges are in parallel with edges corresponding to a display desktop; wherein the drawing area of the at least one first-class drawing command is a rectangle in the drawing area corresponding to the irregular drawing command, the drawing area of the at least one second-class drawing command is a remaining corner area obtained after the drawing area of the at least one first-class drawing command is subtracted from the drawing area corresponding to the irregular drawing command, the drawing mode of the at least one first-class drawing command is the same as the drawing mode of the irregular drawing command, and the drawing mode of the at least one second-class drawing command is the wait mode; grouping, into multiple drawing command sets according to the bounding rectangle information and the drawing area information, a regular drawing command in the multiple drawing commands, and the at least one first-class drawing command and the at least one second-class drawing command that are obtained after the irregular drawing command in the multiple drawing commands is split, so that drawing commands that belong to different drawing command sets do not intersect with each other; separately performing intersection detection on the multiple drawing command sets according to the bounding rectangle information and the drawing area information, so that drawing commands in each drawing command set in the multiple drawing command sets do not intersect with each other; separately performing, according to the execution content, the drawing mode, and the drawing area information, drawing command combining on the multiple drawing command sets on which the intersection detection is performed; and executing a drawing command obtained after combining is performed on each drawing command set.