Method and system for fast clipping of polygons
AssigneeResearch In Motion Limited
InventorRamgopal RAJAGOPALAN
Life of this patent
Estimating the term…
Abstract
A method for rendering static graphics in a mobile device in applications such as map applications. Panning increments are received for panning a previously rendered frame to a panned frame. A rendering region is then determined based on the panning increment. A candidate polygon is then clipped to create clipped polygons contained within the rendering region. The clipped polygons can then be rendered, and a portion of the previously rendered frame can be copied, to provide the panned frame.
Claims18
An electronic device comprising:
- a display;
- and
- a processor, the processor configured to:
- receive panning increments for panning a previously rendered frame to a panned frame;
- determine a rendering region based on the panning increments;
- clip a candidate polygon against the rendering region to determine one or more clipped portions of the candidate polygon contained within the rendering region;
- and
- render the panned frame on the display by rending the one or more clipped portions of the candidate polygon and copying a portion of the previously rendered frame.
A method of rendering in a mobile device, comprising:
- receiving panning increments for panning a previously rendered frame to a panned frame;
- determining a rendering region based on the panning increments;
- clipping a candidate polygon against the rendering region to determine one or more clipped portions of the candidate polygon contained within the rendering region;
- and
- rendering the panned frame by rending the one or more clipped portions of the candidate polygon and copying a portion of the previously rendered frame.
A non-transitory computer-readable medium having computer-readable code embodied therein for execution by a processor at a computing device for:
- receiving panning increments for panning a previously rendered frame to a panned frame;
- determining a rendering region based on the panning increments;
- clipping a candidate polygon against the rendering region to determine one or more clipped portions of the candidate polygon contained within the rendering region;
- and
- rendering the panned frame by rending the one or more clipped portions of the candidate polygon and copying a portion of the previously rendered frame.
Dependencies are inferred from the claim text.