# US 2021/0287324 A1 · Graphics Processing Techniques based on Frame Portion Cost Estimates

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0287324 A1
- Document ID: US20210287324A1
- Status: Published application
- Kind: A1
- Application number: 16/818,671
- Filed: 2020-03-13
- Published: 2021-09-16
- Earliest claimed: 2020-03-13
- Assignees: Apple Inc.
- Applicants: Apple Inc.
- Inventors: Steven Fishwick
- Web page: https://patentgrep.com/patent/US20210287324A1

## CPC

- G06T 1/20: Processor architectures; Processor configuration, e.g. pipelining
- G06T 11/40: Filling planar surfaces by adding surface attributes, e.g. adding colours or textures
- G06T 15/005: {General purpose rendering architectures}
- G06T 2210/52: Parallel processing
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

Techniques are disclosed relating to using cost estimates for portions of a graphics frame to schedule graphics rendering tasks. In some embodiments, a processor generates a first set of cost estimates for respective different portions of a frame for a first render and a second set of cost estimates for respective different portions of a frame for a second render. In some embodiments, the processor compares the first set of cost estimates with the second set of cost estimates. In response to an output of the comparison meeting a first threshold level of similarity, the graphics processor may use one or more portions of the frame generated by the first render for the second render instead of performing the second render for the one or more portions.

## Claims

### Claim 1

An apparatus, comprising:
rendering circuitry configured to render frames of graphics data using tile-based rendering;
cost estimate circuitry configured to:
generate a first set of cost estimates for respective different frame portions for a render of a first frame;
generate a second set of cost estimates for respective different frame portions for a render of a second frame;
wherein respective cost estimates of the first and second sets of cost estimates indicate a complexity of processing for a given frame portion;
wherein the apparatus is configured to:
compare the first set of cost estimates with the second set of cost estimates; and
in response to a comparison output for a frame portion at the same position in the first and second frames meeting a first threshold level of similarity, use one or more portions of the frame generated by the render of the first frame for the render of the second frame instead of performing the second render of the second frame for the one or more portions.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the apparatus is further configured to:
in response to the comparison output meeting a second threshold level of similarity that is less than the first threshold level, schedule one or more rendering tasks for the render of the second frame based on actual cost information from the render of the first frame.

### Claim 3 (depends on 2)

The apparatus of claim 2, wherein the apparatus is further configured to:
in response to the comparison output failing to meet the second threshold level of similarity, schedule one or more rendering tasks for the second render of the second frame based on the second set of cost estimates without using the actual cost information from the first render of the first frame.

### Claim 4 (depends on 1)

The apparatus of claim 1, wherein the apparatus further is configured to:
in response to determining that a threshold number of cost estimates in the first and second sets of cost estimates meet a threshold level of similarity, use the portions of the first frame generated by the first render of the first frame for those portions and perform the render of the second frame only for other portions of the second frame.

### Claim 5 (depends on 1)

The apparatus of claim 1, further comprising:
multiple processor cores; and
scheduling circuitry configured to send render tasks to ones of the multiple processor cores based on the first set of cost estimates.

### Claim 6 (depends on 5)

The apparatus of claim 5, wherein the multiple processor cores include processor cores with different processing capabilities and the scheduling circuitry is configured to send a first render task to a first processor core and a second render task to a second processor core, wherein the first render task has a greater corresponding cost estimate than the second render task, the first processor core is more capable than the second processor core.

### Claim 7 (depends on 1)

The apparatus of claim 1, wherein the apparatus is further configured to:
determine whether to perform a context switch during the render of the first frame or wait for completion of the render of the first frame based on the first set of cost estimates.

### Claim 8 (depends on 1)

The apparatus of claim 1, wherein the apparatus is further configured to:
based on a latency constraint, refrain from scheduling one or more portions of the first frame for processing based on one or more corresponding cost estimates exceeding a cost threshold.

### Claim 9

A method, comprising:
rendering, by a graphics processor, frames of graphics data using tile-based rendering;
generating, by the graphics processor, a first set of cost estimates for respective different frame portions for a render of a first frame;
generating, by the graphics processor, a second set of cost estimates for respective different frame portions for a render of a second frame;
wherein respective cost estimates of the first and second sets of cost estimates indicate a complexity of processing for a given frame portion;
comparing, by the graphics processor, the first set of cost estimates with the second set of cost estimates; and
in response to a comparison output for a frame portion at the same position in the first and second frames meeting a first threshold level of similarity, the graphics processor using one or more portions of the frame generated by the render of the first frame for the render of the second frame instead of performing the render of the second frame for the one or more portions.

### Claim 10 (depends on 9)

The method of claim 9, further comprising:
in response to the comparison output of the comparison of sets of cost estimates for different renders meeting a second threshold level of similarity that is less than the first threshold level, scheduling one or more rendering tasks for the a subsequent render based on actual cost information from a previous render.

### Claim 11 (depends on 9)

The method of claim 9, further comprising:
in response to determining that a threshold number of cost estimates in the first and second sets of cost estimates meet a threshold level of similarity, using the portions of the first frame generated by the render of the first frame for those portions and performing the render of the second frame only for other portions of the second frame.

### Claim 12 (depends on 9)

The method of claim 9, further comprising:
scheduling circuitry render tasks to ones of the multiple processor cores based on the first set of cost estimates.

### Claim 13 (depends on 9)

The method of claim 9, further comprising:
determining whether to perform a context switch during the render of the first frame or wait for completion of the render of the first frame based on the first set of cost estimates.

### Claim 14 (depends on 9)

The method of claim 9, further comprising:
based on a latency constraint, refraining from scheduling one or more portions of the first frame for processing based on one or more corresponding cost estimates exceeding a cost threshold.

### Claim 15

A non-transitory computer readable storage medium having stored thereon design information that specifies a design of at least a portion of a hardware integrated circuit in a format recognized by a semiconductor fabrication system that is configured to use the design information to produce the circuit according to the design, wherein the design information specifies that the circuit includes:
rendering circuitry configured to render frames of graphics data using tile-based rendering;
cost estimate circuitry configured to:
generate a first set of cost estimates for respective different frame portions for a render of a first frame;
generate a second set of cost estimates for respective different frame portions for a second render of a second frame;
wherein respective cost estimates of the first and second sets of cost estimates indicate a complexity of processing for a given frame portion;
wherein the circuit is configured to:
compare the first set of cost estimates with the second set of cost estimates; and
in response to a comparison output for a frame portion at the same position in the first and second frames meeting a first threshold level of similarity, use one or more portions of the frame generated by the first render of the first frame for the second render of the second frame instead of performing the render of the second frame for the one or more portions.

### Claim 16 (depends on 15)

The non-transitory computer readable storage medium of claim 15, wherein the circuit is further configured to:
in response to the comparison output meeting a second threshold level of similarity that is less than the first threshold level, schedule one or more rendering tasks for the render of the second frame based on actual cost information from the render of the first frame.

### Claim 17 (depends on 15)

The non-transitory computer readable storage medium of claim 15, wherein the circuit is further configured to:
in response to determining that a threshold number of cost estimates in the first and second sets of cost estimates meet a threshold level of similarity, use the portions of the first frame generated by the render of the first frame for those portions and perform the second render of the second frame only for other portions of the second frame.

### Claim 18 (depends on 15)

The non-transitory computer readable storage medium of claim 15, wherein the circuit further comprises:
multiple processor cores; and
scheduling circuitry configured to send render tasks to ones of the multiple processor cores based on the first set of cost estimates.

### Claim 19 (depends on 15)

The non-transitory computer readable storage medium of claim 15, wherein the circuit is further configured to:
determine whether to perform a context switch during the render of the first frame or wait for completion of the render of the first frame based on the first set of cost estimates.

### Claim 20 (depends on 15)

The non-transitory computer readable storage medium of claim 15, wherein the circuit is further configured to:
based on a latency constraint, refrain from scheduling one or more portions of the first frame for processing based on one or more corresponding cost estimates exceeding a cost threshold.
