摘要 |
A method and apparatus for processing graphics information in an attribute-type pipelined graphics system, such as a Programmable Hierarchical Interactive Graphics System (PHIGS). In accordance with the broad aspects of the invention, the method includes the step of reading a program segment defining various graphic primitives to be drawn, wherein the appearance of the primitives are defined, in part, by graphic attributes. After reading the program segment, the method further includes a step of identifying graphic attributes in the program segment, and indexing each attribute into a unique attribute segment of an attribute cache. Finally, the method includes the step of processing each primitive by accessing only those attributes that affect the rendering of the primitive being processed, and transmitting only those attributes that accessed to the graphics pipeline. Advantageously, this reduces the number of total attributes that are sent to the graphics pipeline and processed thereby.
|