1. A method for implementing a graphic rendering engine, comprising: extracting rendering function information of a first graphic processing interface and a second graphic processing interface; encapsulating the first graphic processing interface and the second graphic processing interface as a graphic rendering engine interface; defining member functions of the graphic rendering engine interface according to the rendering function information; and implementing a rendering function corresponding to the member functions by calling the first graphic processing interface or the second graphic processing interface with the graphic rendering engine interface.