# US 2016/0364906 A1 · Adaptive load balancing in software emulation of gpu hardware

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

- Number: US 2016/0364906 A1
- Document ID: US20160364906A1
- Status: Published application
- Kind: A1
- Application number: 15/225,361
- Filed: 2016-08-01
- Published: 2016-12-15
- Earliest claimed: 2012-09-28
- Assignees: Sony Interactive Entertainment Inc.
- Applicants: Sony Interactive Entertainment Inc.
- Inventors: Takayukia Kazama; Victor Octav Suba Miura
- Web page: https://patentgrep.com/patent/US20160364906A1

## CPC

- G06T 17/10: Constructive solid geometry [CSG] using solid primitives, e.g. cylinders, cubes
- G06F 9/505: {considering the load}
- G06T 1/20: Processor architectures; Processor configuration, e.g. pipelining
- G06T 11/10: Texturing; Colouring; Generation of textures or colours (retouching, inpainting or scratch removal G06T5/77)
- G06T 15/08: Volume rendering
- H04N 1/6069: {spatially varying within the image}
- H04N 1/642: {Adapting to different types of images, e.g. characters, graphs, black and white image portions}
- H04N 21/4318: {by altering the content in the rendering process, e.g. blanking, blurring or masking an image region (image enhancement or restoration in general G06T5/00)}
- G06F 2209/5017: Task decomposition
- G06F 2209/5018: Thread allocation
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Aspects of the present disclosure describe a software based emulator of a graphics processing unit (GPU) that is configured to operate over a cloud-based network. A virtual image containing graphics primitives is divided into a plurality of tiles. A load balancer assigns tiles to rasterization threads in order to evenly distribute the processing load. The rasterization threads then rasterize their assigned tiles and deliver rendered pixels to a frame buffer. The frame buffer builds a frame from the rendered pixels and then delivers the frame over the network to a client device platform. It is emphasized that this abstract is provided to comply with the rules requiring an abstract that will allow a searcher or other reader to quickly ascertain the subject matter of the technical disclosure. It is submitted with the understanding that it will not be used to interpret or limit the scope or meaning of the claims.

## Claims

### Claim 1

A nontransitory computer readable medium containing program instructions for rasterizing a virtual image, wherein the virtual image comprises one or more graphic primitives, and wherein execution of the program instructions by one or more processors of a computer system causes the one or more processors to carry out a method, the method comprising:
a) dividing the virtual image to be rasterized into a plurality of tiles, wherein each of the tiles include a predetermined number of image pixels, wherein each of the image pixels is either an ignorable pixel or a pixel that needs to be rendered;
b) determining how many of the image pixels in each of the tiles are pixels that need to be rendered;
c) assigning each of the plurality of tiles to one of a plurality of rasterization threads, wherein each rasterization thread is assigned a quantity of tiles such that a total number of pixels that need to be rendered by each rasterization thread is approximately the same;
d) rasterizing each of the plurality of tiles with the rasterization threads, wherein pixels that need to be rendered are rendered and are delivered to a frame buffer;
e) generating a frame of the virtual image from the pixels in the frame buffer; and
f) delivering the frame to a client device platform over a network.

### Claim 2 (depends on 1)

Then non-transitory computer readable medium of claim 1, wherein all of the image pixels in a tile are assumed to be pixels that need to be rendered when at least one of the image pixels in the tile is a pixel that needs to be rendered.

### Claim 3 (depends on 2)

Then non-transitory computer readable medium of claim 2, wherein c) further includes randomly assigning each of the tiles that have at least one pixel that needs to be rendered to the one of the plurality of rasterization threads.

### Claim 4 (depends on 1)

Then non-transitory computer readable medium of claim 1, wherein the plurality of rasterization threads operate in parallel.

### Claim 5 (depends on 1)

Then non-transitory computer readable medium of claim 1, wherein the one or more graphic primitives form a three-dimensional object.

### Claim 6 (depends on 1)

Then non-transitory computer readable medium of claim 1, wherein the one or more graphic primitives are lines, points, arcs, vertices, triangles, polygons, or any combination thereof.

### Claim 7 (depends on 1)

Then non-transitory computer readable medium of claim 1, wherein generating the frame includes encoding the pixels in the frame buffer.

### Claim 8 (depends on 1)

Then non-transitory computer readable medium of claim 1, wherein the size of each tile is 8 pixels by 8 pixels.

### Claim 9 (depends on 1)

Then non-transitory computer readable medium of claim 1, wherein the size of each tile is 16 pixels by 16 pixels.

### Claim 10

In an emulator of a graphics processing unit (GPU) configured to operate on a network, a method of rasterizing a virtual image, wherein the virtual image comprises one or more graphic primitives, comprising: a) dividing the virtual image to be rasterized into a plurality of tiles, wherein each of the tiles include a predetermined number of image pixels, wherein each of the image pixels is either an ignorable pixel or a pixel that needs to be rendered;
b) determining how many of the image pixels in each of the tiles are pixels that need to be rendered;
c) assigning each of the plurality of tiles to one of a plurality of rasterization threads, wherein each rasterization thread is assigned a quantity of tiles such that a total number of pixels that need to be rendered by each rasterization thread is approximately the same;
d) rasterizing each of the plurality of tiles with the rasterization threads, wherein pixels that need to be rendered are rendered and are delivered to a frame buffer;
e) generating a frame of the virtual image from the pixels in the frame buffer; and
f) delivering the frame to a client device platform over a network.

### Claim 11

An emulator configured to operate on a network, comprising:
a processor;
a memory coupled to the processor;
one or more instructions embodied in memory for execution by the processor, the instructions being configured implement a method for rasterizing a virtual image, wherein the virtual image comprises one or more graphic primitives, the method comprising:
a) dividing the virtual image to be rasterized into a plurality of tiles, wherein each of the tiles include a predetermined number of image pixels, wherein each of the image pixels is either an ignorable pixel or a pixel that needs to be rendered;
b) determining how many of the image pixels in each of the tiles are pixels that need to be rendered;
c) assigning each of the plurality of tiles to one of a plurality of rasterization threads, wherein each rasterization thread is assigned a quantity of tiles such that a total number of pixels that need to be rendered by each rasterization thread is approximately the same;
d) rasterizing each of the plurality of tiles with the rasterization threads, wherein pixels that need to be rendered are rendered and are delivered to a frame buffer;
e) generating a frame of the virtual image from the pixels in the frame buffer; and
f) delivering the frame to a client device platform over a network.
