GPU Path Rendering Anti-Aliasing via Pixel Sub-Sampling

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Path rendering in graphics processing units (GPUs) faces challenges in acceleration performance due to the complexity of handling input data as combinations of commands and primitive constituents, such as vertices, which hinders efficient rendering of paths like lines or curves.

Innovation Solution

A method and apparatus for path rendering that select pixels through which a path passes using geometric information, set sub-samples, and calculate winding numbers to efficiently prevent aliasing, involving a selecting unit to identify relevant pixels and a calculating unit to determine path rotation direction counts.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If path rendering is performed using traditional GPU acceleration methods with vertices and commands, then rendering flexibility is maintained, but acceleration performance deteriorates

Engineering Contradiction:
Improveacceleration performanceVSAvoidinput data complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent segments the frame into multiple pixel blocks and further divides selected blocks into sub-blocks, processing only relevant regions rather than the entire frame. This segmentation allows the GPU to focus computational resources on areas where paths actually pass, significantly improving acceleration performance while maintaining rendering flexibility.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent applies different processing strategies to different regions of the frame. Pixels through which paths pass receive detailed winding number calculations with multiple sub-samples, while other pixels use simplified methods or are skipped entirely. This local quality approach optimizes performance by applying computational intensity only where necessary.

Inventive Principle:
Principle #3Local quality

2Manufacturing precision

If anti-aliasing is performed using traditional sampling methods, then aliasing is reduced, but the number of operations and computational cost increase

Engineering Contradiction:
Improvealiasing prevention qualityVSAvoidoperational cost
Core Design Contradiction:
Manufacturing precisionVSLoss of time

Solution Approach 1:

The patent uses a variable number of sub-samples per pixel based on whether the pixel is intersected by a path. Pixels through which paths pass use multiple sub-samples (e.g., 4 or 9 samples) for accurate winding number calculation and anti-aliasing, while pixels not intersected by paths use minimal or no sampling. This partial action approach maintains high anti-aliasing quality where needed while dramatically reducing overall operational cost.

Inventive Principle:
Principle #16Partial or excessive action

3Reliability

If all pixels in the frame are processed for path rendering, then rendering completeness is ensured, but processing time increases

Engineering Contradiction:
Improverendering completenessVSAvoidprocessing time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent extracts and processes only the subset of pixels through which paths actually pass, rather than processing all pixels in the frame. By using geometric information to identify and extract relevant pixels, the method ensures rendering completeness for all visible path elements while reducing processing time by skipping irrelevant pixels entirely.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent performs preliminary selection of pixels through which paths pass using geometric information before performing the computationally intensive winding number calculations. This preliminary action filters out irrelevant pixels in advance, ensuring that subsequent processing is applied only to necessary pixels, thus maintaining completeness while reducing overall processing time.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS10192291B2Method and apparatus for performing anti-aliasing in path rendering
Publication Date: 2019.01.29 SAMSUNG ELECTRONICS CO LTD
  • US10192291B2 patent drawing
  • US10192291B2 patent drawing
  • US10192291B2 patent drawing

AI summary

A method and corresponding apparatus to perform path rendering include selecting a pixel through which a path passes from among pixels included in a frame, using geometric information of the pixels in the frame. The method and corresponding apparatus include setting sub-samples for the selected pixel, and calculating a winding number of the selected pixel using the sub-samples.