Patent ID: 6778189
Filing Date: 2004-08-17
Classification: G06T

Abstract:
A method for two-sided stencil testing during graphics processing, comprising:(a) receiving primitives to be processed in a graphics processing pipeline; (b) determining whether the graphics processing pipeline is operating with same-sided stencil testing enabled; (c) if same-sided stencil testing is not enabled, passing the primitives without same-sided stencil testing and two-sided stencil testing; (d) if same-sided stencil testing is enabled, determining whether the graphics processing pipeline is operating with two-sided stencil testing enabled; (e) if the two-sided stencil testing is enabled and the same-sided stencil testing is enabled, performing two-sided stencil testing on the primitives; and (f) if the two-sided stencil testing is disabled and the same-sided stencil testing is enabled, performing same-sided stencil testing on the primitives.