Image Rendering Command Caching for GPU Load Reduction

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The load on graphics processing units (GPUs) is high due to the need to generate drawing targets for image rendering, leading to increased power consumption and heat generation in terminals like computers and mobile phones.

Innovation Solution

The method involves comparing drawing commands in a to-be-rendered image frame with those of a previously rendered frame to identify reusable drawing targets, allowing the GPU to utilize pre-generated targets instead of recreating them, thereby reducing the load and power consumption.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the GPU generates a rendering target based on each drawing command in the image command stream, then the image rendering function is implemented, but the load of the GPU becomes heavy and power consumption increases

Engineering Contradiction:
Improveimage rendering functionVSAvoidpower consumption
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The patent applies preliminary action by pre-generating rendering targets for drawing commands that are likely to be reused in future frames. The system analyzes historical drawing command streams to identify commands that have been executed before and pre-computes their rendering targets, so that when these commands appear again, the pre-generated targets can be directly reused without requiring real-time GPU computation, thereby reducing power consumption while maintaining rendering functionality

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent changes the parameter of drawing command representation by introducing a simplified command structure that includes identification information and parameter information. This allows the system to efficiently compare and identify identical or similar drawing commands across different frames, enabling the reuse of rendering targets. The parameter change transforms the raw drawing commands into a format that facilitates caching and reuse decisions

Inventive Principle:
Principle #35Parameter changes

2Reliability

If the GPU generates a rendering target based on each drawing command, then complete rendering is achieved, but the load of the GPU becomes heavy

Engineering Contradiction:
Improverendering completenessVSAvoidGPU load
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent applies discarding and recovering by identifying rendering targets that can be discarded (not regenerated) when their corresponding drawing commands are detected in subsequent frames. The system recovers and reuses these previously generated rendering targets, thereby reducing the computational load on the GPU while ensuring that complete rendering is achieved through selective reuse of valid targets

Inventive Principle:
Principle #34Discarding and recovering

Solution Approach 2:

The patent applies copying by creating and storing copies of rendering targets in a cache memory when drawing commands are executed. These copied targets are then retrieved and reused when identical drawing commands are detected, eliminating the need for the GPU to regenerate them. This copying mechanism reduces GPU load while maintaining rendering completeness through accurate target reuse

Inventive Principle:
Principle #26Copying

Data Source

PatentUS12190433B2Image rendering method and apparatus, and electronic device
Publication Date: 2025.01.07 HUAWEI TECH CO LTD
  • US12190433B2 patent drawing
  • US12190433B2 patent drawing
  • US12190433B2 patent drawing

AI summary

The present disclosure relates to image rendering methods apparatuses, and electronic devices. One example method includes obtaining, by a central processing unit (CPU), an image command stream used to render an image frame, comparing the image command stream with a previous image command stream, and, when a same drawing command exists in the two image command streams, instructing a graphics processing unit (GPU) to render the image frame based on a previously generated drawing target.