GPU Transparency Group Blending via Single Frame Buffer

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Traditional graphical image processing on GPUs requires frequent context switching between frame buffers, leading to significant performance issues and increased execution time, especially when rendering complex images with transparency groups.

Innovation Solution

The use of a single frame buffer and a texture atlas allows for the rendering and blending of transparency groups without context switching, utilizing the Porter-Duff algebra and pre-multiplied alpha values to minimize the number of copies required for combining images.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Manufacturing precision

If multiple frame buffers are used for rendering transparency groups, then image rendering quality is improved, but execution time increases significantly due to frequent context switching

Engineering Contradiction:
Improveimage rendering qualityVSAvoidexecution time
Core Design Contradiction:
Manufacturing precisionVSLoss of time

Solution Approach 1:

The patent merges the functionality of multiple frame buffers into a single frame buffer by using alpha channel data to store and retrieve transparency group information. Instead of switching between multiple frame buffers to handle transparent and opaque objects, the system combines all rendering operations in one buffer, using alpha values to track which pixels belong to transparency groups and need to be blended later.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The patent introduces an intermediary data structure (alpha channel buffer) that mediates between the rendering operations and the final composite image. This intermediary stores the alpha information for each pixel, allowing the system to defer blending operations until after all objects are rendered, eliminating the need for multiple frame buffers while maintaining correct transparency rendering.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Adaptability or versatility

If context switching is performed between frame buffers, then transparency group rendering is achieved, but productivity decreases due to slow execution

Engineering Contradiction:
Improvetransparency group rendering capabilityVSAvoidrendering speed
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The patent enables continuous rendering operations in a single frame buffer without interrupting the rendering pipeline for context switches. By maintaining all rendering state in one buffer and using alpha channel data to track transparency groups, the system can continuously render objects without pausing for context switching, significantly improving rendering throughput and productivity.

Inventive Principle:
Principle #20Continuity of useful action

3Loss of time

If a single frame buffer is used, then execution time is reduced by eliminating context switching, but the complexity of blending operations increases

Engineering Contradiction:
Improveexecution timeVSAvoidblending operation complexity
Core Design Contradiction:
Loss of timeVSDevice complexity

Solution Approach 1:

The patent performs preliminary actions by rendering all objects to the single frame buffer first, storing their alpha information in the alpha channel during the rendering phase. This preliminary rendering with alpha tracking allows the system to defer the complex blending operations until after all objects are in place, simplifying the overall process by separating rendering from compositing operations.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent segments the rendering process into distinct phases: a rendering phase where all objects are drawn to the single frame buffer with alpha information stored, and a compositing phase where transparency groups are blended based on the stored alpha data. This segmentation allows the system to use simple rendering operations followed by organized blending operations, reducing overall complexity compared to managing multiple frame buffers.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS7750922B2Transparency group computation on a graphics processing unit
Publication Date: 2010.07.06 ADOBE INC
  • US7750922B2 patent drawing
  • US7750922B2 patent drawing
  • US7750922B2 patent drawing

AI summary

A new transparency group may be rendered and blended with other, previously rendered, transparency groups, by using the Porter-Duff algebra available on the GPU even though the transparency groups include pre-multiplied color and alpha information. Additionally, the number of copies of the back buffer (the image information for the previously rendered transparency groups) required to properly render, blend and combine the new transparency group into the image information of previously rendered transparency groups may be minimized.