A graphics processing apparatus comprising: a main processing unit, which converts into at least one rendering command at least one graphics function provided by a specialized graphics library and used to write an application program, the specialized graphics library being a library that offers the function of converting a graphics function into at least one rendering command executable by a graphics processing unit, wherein the specialized graphics library does not retain any rendering attribute included into the at least one rendering command; a memory, which includes a command buffer retaining a rendering command sequence of at least one rendering command generated by the main processing unit; and a graphics processing unit, for which the specialized graphics library is specialized, which reads the rendering command sequence retained in the command buffer and executes a rendering process by executing the read rendering commands and using the corresponding rendering attributes retained external to the graphics library; wherein the main processing unit, each time when a graphics function of the specialized graphics library is called by the application program, immediately converts, using the specialized graphics library, said graphics function to at least one rendering command and stacks the at least one rendering command thus generated in the command buffer prior to the application program calling a next graphics function of the specialized graphics library, such that the same at least one rendering command is always generated for the same at least one graphics function of the specialized graphics library and any change in the order of calling the at least one graphics function of the specialized graphics library does not change the at least one rendering command to be generated. a main processing unit, which converts into at least one rendering command at least one graphics function provided by a specialized graphics library and used to write an application program, the specialized graphics library being a library that offers the function of converting a graphics function into at least one rendering command executable by a graphics processing unit, wherein the specialized graphics library does not retain any rendering attribute included into the at least one rendering command; a memory, which includes a command buffer retaining a rendering command sequence of at least one rendering command generated by the main processing unit; and a graphics processing unit, for which the specialized graphics library is specialized, which reads the rendering command sequence retained in the command buffer and executes a rendering process by executing the read rendering commands and using the corresponding rendering attributes retained external to the graphics library; wherein the main processing unit, each time when a graphics function of the specialized graphics library is called by the application program, immediately converts, using the specialized graphics library, said graphics function to at least one rendering command and stacks the at least one rendering command thus generated in the command buffer prior to the application program calling a next graphics function of the specialized graphics library, such that the same at least one rendering command is always generated for the same at least one graphics function of the specialized graphics library and any change in the order of calling the at least one graphics function of the specialized graphics library does not change the at least one rendering command to be generated.