Apparatus and method for fragment operations in a 3D-graphics pipeline
    8.
    发明授权
    Apparatus and method for fragment operations in a 3D-graphics pipeline 有权
    3D图形管道中的碎片操作的装置和方法

    公开(公告)号:US06614444B1

    公开(公告)日:2003-09-02

    申请号:US09372137

    申请日:1999-08-20

    IPC分类号: G09G500

    摘要: Apparatus and methods for rendering 3D graphics images. The apparatus include a port for receiving commands from a graphics application, an output for sending a rendered image to a display and a fragment-operations pipeline, coupled to the port and to the output, the pipeline including a stage for performing a fragment operation on a fragment on a per-pixel basis, as well as a stage for performing a fragment operation on the fragment on a per-sample basis. The stage for performing on a per-pixel basis is one of the following: a scissor-test stage, a stipple-test stage, an alpha-test stage or a colorest stage, and the stage for performing on a per-sample basis is one of the following: a Z-test stage, a blending stage or a dithering stage. The apparatus programmatically selects whether to perform a stencil test on a per-pixel or a per-sample basis and performs the stencil test on the selected basis. The apparatus also programmatically selects pixel samples for per-sample operations, where the sample selections differ with different instances of the same per-sample operation. The apparatus also programmatically selects a set of subdivisions of a pixel as samples for use in the per-sample fragment operation, programmatically assigns different weights to at least two samples in the set and performs the per-sample fragments operation on the fragment using the programmatically selected and differently weighted samples.

    摘要翻译: 用于渲染3D图形图像的装置和方法。 该装置包括用于从图形应用程序接收命令的端口,用于将呈现的图像发送到显示器的输出端和耦合到端口和输出端的分段操作流水线,流水线包括用于执行片段操作的级 基于每个像素的片段,以及在每个样本的基础上对片段执行片段操作的阶段。 基于每像素执行的阶段是以下之一:剪刀测试阶段,点测试阶段,α测试阶段或阶段阶段,以及每个采样基础执行的阶段是 以下之一:Z测试阶段,混合阶段或抖动阶段。 该设备以编程方式选择是在每个像素还是每个样本的基础上执行模板测试,并在所选择的基础上执行模板测试。 该设备还以编程方式选择每采样操作的像素采样,其中样本选择与相同每采样操作的不同实例不同。 该装置还以编程方式选择一组像素的细分作为在每个样本片段操作中使用的样本,以编程方式向集合中的至少两个样本分配不同的权重,并使用编程方式对该片段执行每个样本片段的操作 选择和不同加权的样本。