Packetized command interface to a graphics processor

The present invention relates generally to systems for computer graphics. More specifically, the present invention includes a method for passing commands to a graphics processor. A method and apparatus for transferring commands to a graphics processor is provided. The method and apparatus are intend...

Full description

Saved in:
Bibliographic Details
Main Authors Hussain, Zahid S, Millet, Timothy J
Format Patent
LanguageEnglish
Published 30.04.2002
Online AccessGet full text

Cover

Loading…
More Information
Summary:The present invention relates generally to systems for computer graphics. More specifically, the present invention includes a method for passing commands to a graphics processor. A method and apparatus for transferring commands to a graphics processor is provided. The method and apparatus are intended for use in a host computer system having a memory that is addressable by a host processor and a graphics processor. One or more queues of packet descriptors are maintained in the memory of the host computer system. Each packet descriptor includes a pointer to a region of memory known as a packet buffer. Each packet descriptor also includes a ready variable. To pass commands to the graphics processor, a graphics process selects a packet buffer. The packet buffer must have a ready variable that is set to the value false. After selection of the appropriate packet descriptor, the graphics process writes the desired commands into the packet descriptor associated with the selected packet descriptor. The graphics process then sets the ready variable included in the selected packet descriptor to true. The graphics processor traverses the queues of packet descriptors. For each packet descriptor encountered, the graphics processor tests the included ready variable. If the ready variable is set to true, the graphics processor executes the commands included in the associated packet buffer. After completing these commands, the graphics processor sets the ready variable to false. In this way, the present invention allows the host and graphics processors to execute in parallel and allows commands to be transferred to the graphics processor without the use of a system call.