Method and device for performing user-defined clipping in object space
AssigneeQUALCOMM Incorporated
InventorsNing Bi, Lin Chen, Lingjun Chen
Life of this patent
Estimating the term…
Abstract
A method and device for performing and processing user-defined clipping in object space to reduce the number of computations needed for the clipping operation. The method and device also combine the modelview transformation of the vertex coordinates with projection transform. The user-defined clipping in object space provides a higher performance and less power consumption by avoiding generation of eye coordinates if there is no lighting. The device includes a driver for the user-defined clipping in the object space to perform dual mode user-defined clipping in object space when a lighting function is disabled and in eye space when the lighting function is enabled.
Claims47
An imaging apparatus comprising:
- a processor configured to perform vertex coordinate processing of vertex coordinates in eye space when lighting is enabled to create clipped vertex coordinates in the eye space, and to perform vertex coordinate processing of vertex coordinates in object space when lighting is disabled to create clipped vertex coordinates in the object space.
A graphics processor method for dual-mode processing of user-defined clipping, the method comprising:
- determining, via an imaging device, whether a lighting function is enabled or disabled;
- processing, via the imaging device, one or more vertex coordinates in object space when lighting is determined to be disabled to create clipped vertex coordinates in the object space;
- and
- processing, via the imaging device, one or more vertex coordinates in eye space when lighting is determined to be enabled to create clipped vertex coordinates in the eye space.
A device comprising:
- means for determining whether a lighting function is enabled or disabled;
- means for processing one or more vertex coordinates in object space when lighting is determined to be disabled to create clipped vertex coordinates in the object space;
- and
- means for processing one or more vertex coordinates in eye space when lighting is determined to be enabled to create clipped vertex coordinates in the eye space.
A computer readable storage medium comprising instructions that cause one or more processors to perform vertex coordinate processing of vertex coordinates in eye space when lighting is enabled to create clipped vertex coordinates in the eye space and to perform vertex coordinate processing of vertex coordinates in object space when lighting is disabled to create clipped vertex coordinates in the object space.
A graphics processor method for dual-mode processing of user-defined clipping comprising:
- determining, via an imaging device, whether a lighting function is enabled or disabled;
- performing, via the imaging device, object space vertex coordinate processing with object space user-defined clipping to create clipped vertex coordinates in object space when the lighting function is determined to be disabled;
- and
- performing, via the imaging device, eye space vertex coordinate processing with eye space user-defined clipping to create clipped vertex coordinates in eye space when the lighting function is determined to be enabled.
Dependencies are inferred from the claim text.