Stereoscopic conversion with viewing orientation for shader based graphics content
AssigneeQUALCOMM Incorporated
InventorsNing Bi, Xuerui Zhang
Life of this patent
Estimating the term…
Abstract
The example techniques of this disclosure are directed to generating a stereoscopic view from an application designed to generate a mono view. For example, the techniques may modify instructions for a vertex shader based on a viewing angle. When the modified vertex shader is executed, the modified vertex shader may generate coordinates for vertices for a stereoscopic view based on the viewing angle.
Claims37
A method for graphics processing, the method comprising:
- determining, with a processor, a viewing angle relative to a display;
- receiving, with the processor, instructions for a vertex shader that is configured to operate on an image of a mono view;
- modifying, with the processor, the instructions for the vertex shader to include one or more instructions based on the viewing angle to generate a modified vertex shader, wherein the modified vertex shader, when executed, generates vertex coordinates for vertices of a stereoscopic view;
- instructing, with the processor, a graphics processing unit (GPU) to execute the modified vertex shader.
An apparatus comprising:
- a graphics processing unit (GPU);
- and
- a processor configured to:
- determine a viewing angle relative to a display;
- modify instructions of a vertex shader to include one or more instructions based on the viewing angle to generate a modified vertex shader, wherein the modified vertex shader, when executed, generates vertex coordinates for vertices of a stereoscopic view;
- and
- instruct the GPU to execute the modified vertex shader.
A processor configured to determine a viewing angle relative to a display, receive instructions for a vertex shader that is configured to operate on an image of a mono view, modify the instructions for the vertex shader to include one or more instructions based on the viewing angle to generate a modified vertex shader, wherein the modified vertex shader, when executed, generates vertex coordinates for vertices of a stereoscopic view, and instruct a graphics processing unit (GPU) to execute the modified vertex shader.
An apparatus comprising:
- a graphics processing unit (GPU);
- means for determining a viewing angle relative to a display;
- means for receiving instructions for a vertex shader that is configured to operate on an image of a mono view;
- means for modifying the instructions for the vertex shader to include one or more instructions based on the viewing angle to generate a modified vertex shader, wherein the modified vertex shader, when executed, generates vertex coordinates for vertices of a stereoscopic view;
- and
- means for instructing the GPU to execute the modified vertex shader.
A computer-readable storage medium having instructions stored thereon that, when executed, cause one or more processors to:
- determine a viewing angle relative to a display;
- receive instructions for a vertex shader that is configured to operate on an image of a mono view;
- modify the instructions for the vertex shader to include one or more instructions based on the viewing angle to generate a modified vertex shader, wherein the modified vertex shader, when executed, generates vertex coordinates for vertices of a stereoscopic view;
- and
- instruct a graphics processing unit (GPU) to execute the modified vertex shader.
Dependencies are inferred from the claim text.