# US 2010/0302261 A1 · Fixed Function Pipeline Application Remoting Through A Shader Pipeline Conversion Layer

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

- Number: US 2010/0302261 A1
- Document ID: US20100302261A1
- Status: Published application
- Kind: A1
- Application number: 12/475,287
- Filed: 2009-05-29
- Published: 2010-12-02
- Earliest claimed: 2009-05-29
- Assignees: Microsoft Corporation
- Inventors: Nadim Y. Abdo; Max Alan McMullen
- Web page: https://patentgrep.com/patent/US20100302261A1

## CPC

- G06T 3/00: Geometric image transformations in the plane of the image
- G06T 1/20: Processor architectures; Processor configuration, e.g. pipelining
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

Systems, methods and computer readable media are disclosed for sending a client graphics data across a remote session for an application, where the application makes fixed function pipeline API calls and the client and server support shader pipeline API calls for the remote session. fixed function pipeline graphics calls from sent from the application are intercepted, wrapped, converted into their fixed function pipeline equivalent graphics call or calls and then sent across the communications network to the client according to a protocol of the remote session.

## Claims

### Claim 1

A method for sending graphics calls for an application that uses a fixed function pipeline application programming interface (API) to a client via a remote session that supports sending shader pipeline API calls, comprising:
intercepting a fixed function pipeline API call of the application;
wrapping the fixed function pipeline call;
mapping the wrapped call to a shader pipeline API call; and
sending the shared pipeline API call to the client.

### Claim 2 (depends on 1)

The method of claim 1, wherein mapping the wrapped call to the shader pipeline API call comprises: determining that the fixed function pipeline call has a name, at least one argument and a return value that equals a name, at least one argument and a return value of a shader pipeline call; and
sending the shader pipeline API call to the client comprises: sending the wrapped call to the client.

### Claim 3 (depends on 1)

The method of claim 1, wherein mapping the wrapped call to a shader pipeline API call comprises:
determining that the wrapped call has an equivalent shader pipeline call.

### Claim 4 (depends on 3)

The method of claim 3, wherein a wrapped call has an equivalent shader pipeline call when the two calls have the same return value and arguments, or the same return value and the wrapped call's arguments comprise a subset of equivalent shader pipeline call's arguments.

### Claim 5 (depends on 1)

The method of claim 1, wherein mapping the wrapped call to the shader pipeline API call comprises:
determining a shader pipeline API call that is influenced by the wrapped call.

### Claim 6 (depends on 5)

The method of claim 5, wherein a SPI call is influenced by a wrapped call when the shader pipeline call corresponds to a shader program that produces the same graphical output as the wrapped call.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
intercepting a plurality of fixed function pipeline API calls;
wrapping each of the plurality of fixed function pipeline API calls;
mapping each wrapped call to a shader pipeline API call;
optimizing the shader pipeline API calls; and
sending the optimized shader pipeline API calls to the client.

### Claim 8 (depends on 7)

The method of claim 7, wherein optimizing the shader pipeline calls comprises performing at least one from a set, the set comprising:
batching a plurality of state set calls, and using small vertex formats.

### Claim 9 (depends on 7)

The method of claim 7, wherein optimizing the shader pipeline calls comprises performing at least one from a set, the set comprising: sending a mesh to the client after the mesh has changed, and sending a vertex buffer to the client after the vertex buffer has changed.

### Claim 10 (depends on 7)

The method of claim 7, wherein optimizing the shader pipeline calls comprises:
determining at least one second shader pipeline call that results in the same output as the shader pipeline calls; and
substituting every second shader pipeline call for the shader pipeline calls.

### Claim 11 (depends on 1)

The method of claim 1, wherein intercepting a fixed function pipeline API call of the application comprises:
when the application attempts to load a fixed function pipeline API library corresponding to the fixed function pipeline API call, loading an interceptor library.

### Claim 12

A system for sending graphics calls for an application that uses a fixed function pipeline application programming interface (API) to a client via a remote session that supports sending shader pipeline API calls, comprising:
circuitry for intercepting a fixed function pipeline API call of the application;
circuitry for wrapping the fixed function pipeline call;
circuitry for mapping the wrapped call to a shader pipeline API call; and
circuitry for sending the shared pipeline API call to the client.

### Claim 13 (depends on 12)

The system of claim 12, wherein the circuitry for mapping the wrapped call to the shader pipeline API call comprises: circuitry for determining that the fixed function pipeline call has a name, at least one argument and a return value that equals a name, at least one argument and a return value of a shader pipeline call; and
the circuitry for sending the shader pipeline API call to the client comprises: circuitry for sending the wrapped call to the client.

### Claim 14 (depends on 12)

The system of claim 12, wherein the circuitry for mapping the wrapped call to a shader pipeline API call comprises:
circuitry for determining that the wrapped call has an equivalent shader pipeline call.

### Claim 15 (depends on 14)

The system of claim 14, wherein a wrapped call has an equivalent shader pipeline call when the two calls have the same return value and arguments, or the same return value and the wrapped call's arguments comprise a subset of equivalent shader pipeline call's arguments.

### Claim 16 (depends on 12)

The system of claim 12, wherein the circuitry for mapping the wrapped call to the shader pipeline API call comprises:
circuitry for determining a shader pipeline API call that is influenced by the wrapped call.

### Claim 17 (depends on 16)

The system of claim 16, wherein a shader pipeline call is influenced by a wrapped call when the shader pipeline call corresponds to a shader program that produces the same graphical output as the wrapped call.

### Claim 18 (depends on 12)

The system of claim 12, further comprising:
circuitry for intercepting a plurality of fixed function pipeline API calls;
circuitry for wrapping each of the plurality of fixed function pipeline API calls;
circuitry for mapping each wrapped call to a shader pipeline API call;
circuitry for optimizing the shader pipeline API calls; and
circuitry for sending the optimized shader pipeline API calls to the client.

### Claim 19 (depends on 18)

The system of claim 18, wherein the circuitry for optimizing the shader pipeline calls comprises circuitry for performing at least one from a set, the set comprising:
batching a plurality of state set calls, and using small vertex formats.

### Claim 20

A computer-readable storage medium comprising computer-readable instructions, that when executed on a processor, cause the processor to perform operations comprising:
intercepting a plurality of fixed function pipeline API calls of an application;
wrapping each fixed function pipeline call;
mapping each wrapped call to a shader pipeline API call;
optimizing the shader pipeline API calls to produce at least one optimized shader pipeline API call; and
sending each optimized shared pipeline API call to the client.
