GPU Path Tessellation for Antialiased Rendering

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current path rendering techniques are CPU-intensive and require significant memory storage and bandwidth, especially when rendering complex vector graphics paths, as they often rely on CPU preprocessing and lack hardware acceleration in modern GPUs.

Innovation Solution

The proposed solution involves using a GPU-based approach that tessellates path segments into line segments, performs antialiasing using multi-sample anti-aliasing techniques, and employs target-independent rasterization to optimize memory allocation and sampling rates, allowing for single-pass path filling and dashing operations.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If path rendering is performed using CPU preprocessing, then path segments can be rendered with accurate detail, but CPU processing cycles are consumed and memory bandwidth is required for data transfer

Engineering Contradiction:
Improvepath rendering detailVSAvoidCPU processing cycles
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The patent replaces CPU-based path rendering with GPU-based rendering. The GPU's parallel processing architecture substitutes the CPU's sequential processing, enabling path segments to be rendered directly on the GPU without requiring data transfer to and from the CPU, thus consuming GPU processing cycles instead of CPU cycles and eliminating the memory bandwidth bottleneck

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Solution Approach 2:

The patent extracts the path rendering task from the CPU's responsibility and assigns it to the GPU. By removing the rendering workload from the CPU, the system frees up CPU processing cycles for other tasks while the GPU handles the computationally intensive rendering operations in parallel

Inventive Principle:
Principle #2Taking out (Extraction)

2Measurement precision

If super-sampling is used for antialiasing at high rates, then antialiasing quality is improved, but memory allocation and bandwidth consumption increase significantly

Engineering Contradiction:
Improveantialiasing qualityVSAvoidmemory allocation
Core Design Contradiction:
Measurement precisionVSQuantity of substance

Solution Approach 1:

The patent applies partial super-sampling by performing stencil operations at a higher rate than the final render target resolution. Specifically, it uses 4x super-sampling for stencil operations but only 2x for color operations, and finally renders to a 1x resolution target. This partial application of excessive sampling achieves acceptable antialiasing quality while reducing memory allocation compared to full high-rate super-sampling

Inventive Principle:
Principle #16Partial or excessive action

3Stability of the object's composition

If the same super-sampling rate is used for both stencil and frame-buffer, then rendering consistency is maintained, but memory bandwidth and storage space are consumed unnecessarily

Engineering Contradiction:
Improverendering consistencyVSAvoidmemory bandwidth
Core Design Contradiction:
Stability of the object's compositionVSLoss of energy

Solution Approach 1:

The patent applies different super-sampling rates to different rendering operations based on their specific requirements. Stencil operations use 4x super-sampling to ensure accurate path coverage determination, while color operations use only 2x super-sampling since they are less sensitive to aliasing. The final render target uses 1x resolution. This localized differentiation of sampling quality maintains rendering consistency where needed while reducing memory bandwidth consumption overall

Inventive Principle:
Principle #3Local quality

Data Source

PatentEP3039651B1Target independent stenciling in graphics processing
Publication Date: 2018.11.14 QUALCOMM INC
  • EP3039651B1 patent drawingFigure 1
  • EP3039651B1 patent drawingFigure 2
  • EP3039651B1 patent drawingFigure 3

AI summary

In an example rendering graphics data includes determining a stencil parameter that indicates a sampling rate for determining a coverage value for each antialiased pixel of a path of an image, determining, separately from the stencil parameter, a render target parameter that indicates a memory allocation for each antialiased pixel of the path, and rendering the path using the stencil parameter and the render target parameter.