# US 2016/0364829 A1 · Facilitating efficient graphics command generation and execution for improved graphics performance at computing devices

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

- Number: US 2016/0364829 A1
- Document ID: US20160364829A1
- Status: Published application
- Kind: A1
- Application number: 14/738,703
- Filed: 2015-06-12
- Published: 2016-12-15
- Earliest claimed: 2015-06-12
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: MICHAEL APODACA; DAVID M. CIMINI
- Web page: https://patentgrep.com/patent/US20160364829A1

## CPC

- G06T 1/20: Processor architectures; Processor configuration, e.g. pipelining
- G06F 9/38: Concurrent instruction execution, e.g. pipeline or look ahead
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A mechanism is described for facilitating efficient graphics command generation and execution for improved graphics performance at computing devices. A method of embodiments, as described herein, includes detecting an application programming interface (API) call to perform a plurality of transactions, where the API call is issued by an application at a first command buffer, where the plurality of transactions include a first set of transactions and a second set of transactions. The method may further include creating a second command buffer and appending the second command buffer to the first command buffer, where creating further includes separating the first set transactions from the second set of transactions. The method may further include executing, via the second command buffer, the first set of transactions, prior to executing the first set of transactions.

## Claims

### Claim 1

An apparatus comprising:
reception/detection logic to detect an application programming interface (API) call to perform a plurality of transactions, wherein the API call is issued by an application at a first command buffer, wherein the plurality of transactions include a first set of transactions and a second set of transactions;
patch phase logic to create a second command buffer and append the second command buffer to the first command buffer, wherein the patch phase logic is further to separate the first set transactions from the second set of transactions; and
application/execution logic to execute, via the second command buffer, the first set of transactions, prior to executing the first set of transactions.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the patch phase logic is further to issue a patch execution command to facilitate the application/execution logic to execute the first set of transactions, prior to executing the first set of transactions.

### Claim 3 (depends on 1)

The apparatus of claim 1, further comprising submit phase logic to issue a submit execution command to facilitate the application/execution logic to execute the second set of transactions upon completion of the execution of the first set of transactions.

### Claim 4 (depends on 3)

The apparatus of claim 3, wherein the application/execution logic to execute the second set of transactions, upon completion of the execution of the first set of transactions.

### Claim 5 (depends on 1)

The apparatus of claim 1, wherein the first set of transactions comprise patch transactions relating to one or more patch processes including compute shading of graphics contents, wherein the second set of transactions comprise submit transactions relating to one or more submit processes including three-dimensional (3D) rendering of graphics contents.

### Claim 6 (depends on 1)

The apparatus of claim 1, wherein the patch phase logic is further to maintain the second command buffer to remain open for one or more API calls to be subsequently issued by the application, wherein the second command buffer is used for executing additional transactions relating to the one or more API calls.

### Claim 7 (depends on 1)

The apparatus of claim 1, wherein the reception/detection logic is further to detect a barrier API call, wherein the barrier API call to requisite graphics processing unit (GPU) resources for other processes.

### Claim 8 (depends on 7)

The apparatus of claim 7, wherein in response to the barrier API call, the application/execution logic is further to terminate the second command buffer to relinquish the GPU resources for the other processes.

### Claim 9

A method comprising:
detecting an application programming interface (API) call to perform a plurality of transactions, wherein the API call is issued by an application at a first command buffer, wherein the plurality of transactions include a first set of transactions and a second set of transactions;
creating a second command buffer and appending the second command buffer to the first command buffer, wherein creating further includes separating the first set transactions from the second set of transactions; and
executing, via the second command buffer, the first set of transactions, prior to executing the first set of transactions.

### Claim 10 (depends on 9)

The method of claim 9, further comprising issuing a patch execution command to execute the first set of transactions, prior to executing the first set of transactions.

### Claim 11 (depends on 9)

The method of claim 9, further comprising issuing a submit execution command to execute the second set of transactions upon completion of the execution of the first set of transactions.

### Claim 12 (depends on 11)

The method of claim 11, further comprising executing the second set of transactions, upon completion of the execution of the first set of transactions.

### Claim 13 (depends on 9)

The method of claim 9, wherein the first set of transactions comprise patch transactions relating to one or more patch processes including compute shading of graphics contents, wherein the second set of transactions comprise submit transactions relating to one or more submit processes including three-dimensional (3D) rendering of graphics contents.

### Claim 14 (depends on 9)

The method of claim 9, further comprising maintaining the second command buffer to remain open for one or more API calls to be subsequently issued by the application, wherein the second command buffer is used for executing additional transactions relating to the one or more API calls.

### Claim 15 (depends on 9)

The method of claim 9, further comprising detecting a barrier API call, wherein the barrier API call to requisite graphics processing unit (GPU) resources for other processes.

### Claim 16 (depends on 15)

The method of claim 15, wherein in response to the barrier API call, terminating the second command buffer to relinquish the GPU resources for the other processes.

### Claim 17

At least one machine-readable medium comprising a plurality of instructions, executed on a computing device, to facilitate the computing device to perform one or more operations comprising:
detecting an application programming interface (API) call to perform a plurality of transactions, wherein the API call is issued by an application at a first command buffer, wherein the plurality of transactions include a first set of transactions and a second set of transactions;
creating a second command buffer and appending the second command buffer to the first command buffer, wherein creating further includes separating the first set transactions from the second set of transactions; and
executing, via the second command buffer, the first set of transactions, prior to executing the first set of transactions.

### Claim 18 (depends on 17)

The machine-readable medium of claim 17, wherein the one or more operations further comprise issuing a patch execution command to execute the first set of transactions, prior to executing the first set of transactions.

### Claim 19 (depends on 17)

The machine-readable medium of claim 17, wherein the one or more operations further comprise issuing a submit execution command to execute the second set of transactions upon completion of the execution of the first set of transactions.

### Claim 20 (depends on 19)

The machine-readable medium of claim 19, wherein the one or more operations further comprise executing the second set of transactions, upon completion of the execution of the first set of transactions.

### Claim 21 (depends on 17)

The machine-readable medium of claim 17, wherein the first set of transactions comprise patch transactions relating to one or more patch processes including compute shading of graphics contents, wherein the second set of transactions comprise submit transactions relating to one or more submit processes including three-dimensional (3D) rendering of graphics contents.

### Claim 22 (depends on 17)

The machine-readable medium of claim 17, wherein the one or more operations further comprise maintaining the second command buffer to remain open for one or more API calls to be subsequently issued by the application, wherein the second command buffer is used for executing additional transactions relating to the one or more API calls.

### Claim 23 (depends on 17)

The machine-readable medium of claim 17, wherein the one or more operations further comprise detecting a barrier API call, wherein the barrier API call to requisite graphics processing unit (GPU) resources for other processes.

### Claim 24 (depends on 23)

The machine-readable medium of claim 23, wherein in response to the barrier API call, terminating the second command buffer to relinquish the GPU resources for the other processes.
