Patent ID: 9747661
Date: 2017-08-29
CPC Classifications: G06T

Claim:
1. A method for adjusting vertex positions that is executed by parallel processor, comprising: receiving one or more dimensions of a first viewport, wherein the dimensions of the first viewport are defined in pixels and correspond to a first pixel resolution; receiving one or more dimensions of a second viewport, wherein the dimensions of the second viewport are defined in pixels and correspond to a second pixel resolution that is different than the first pixel resolution; receiving a first snap spacing associated with a first sub-pixel grid of the first viewport, wherein a graphics primitive having vertices adjusted according to the first snap spacing to align to the first sub-pixel grid has a different shape compared with the graphics primitive having vertices adjusted according to the first snap spacing to align to a second sub-pixel grid of the second viewport; determining a second snap spacing of a fractional pixel based on the one or more dimensions of the second viewport, adjusting the vertex positions of the graphics primitive according to the second snap spacing to align to the second sub-pixel grid of the second viewport.