×

Z-Buffer for row addressable graphics memory with flash fill

  • US 5,933,156 A
  • Filed: 12/03/1997
  • Issued: 08/03/1999
  • Est. Priority Date: 12/03/1997
  • Status: Expired due to Fees
First Claim
Patent Images

1. A Z-Buffer for a Row Addressable Graphics Memory with Flash Fill comprising:

  • (a) a row addressable Z Memory Array for storing a plurality of rows of a plurality of Z values, wherein each Z value is associated with a pixel stored in said Row Addressable Graphics Memory;

    (b) a New Z Values unit having inputs for at least a first Z value data for a start address for a line segment and a second Z value data for an end address for said line segment, and comprising a plurality of units for calculating a new Z value for each stage in a selected row, wherein each said new Z value in said New Z Values unit is calculated substantially simultaneously, and wherein said New Z Values unit comprises for said each stage a Subtractor, a Multiplier, and an Adder to perform the equation Zn=ZSm+(n-ZSm)*dz, whereinm is the number of said selected row,n is the number of said stage,Zn is the Z value at the nth stage,ZSm is the Z value at the start of said line segment for row m,ZEm is the Z value at the end of said line segment for said row m,XSm is the X value at the start of said line segment for said row m,XEm is the X value at the end of said line segment for said row m,
    
    
    space="preserve" listing-type="equation">dz=(ZEm-ZSm)/(XEm-XSm);

    (c) a plurality of Z Comparators for comparing each said Z value from said each stage in said selected row of said Z Memory Array with each associated said new Z value from said New Z Values unit, wherein said plurality of Z Comparators operate simultaneously;

    (d) a Z Preset Register for storing a preset value for presetting said Z values in said Z Memory Array;

    (e) an Address Compare Unit having inputs for said start address and said end address of said line segment to be drawn for determining for said each stage whether said stage is within the range of said start address and said end address and further determining whether each said new Z value is to replace each associated old Z value from said Z Memory Array and whether data representing a new pixel is to replace data representing an old pixel;

    (f) a Z Select Unit for selecting for each of its outputs one of the following according to the output of each of the corresponding said Z Comparators, said Address Compare Unit, and also according to a control input signal;

    (i) said old Z value from said Z Memory Array;

    (ii) said new Z value from said New Z Values unit;

    (iii) said preset value from said Z Preset Register;

    (g) a Latch means for storing the data output from said Z Select Unit, wherein said data output from said Z Select Unit is to be written into said Z Memory Array.

View all claims
  • 4 Assignments
Timeline View
Assignment View
    ×
    ×