Patent ID: 9538164
Date: 2017-01-03
CPC Classifications: G06T,H04N

Claim:
1. A method for graphics processing, the method comprising: determining at least one of a viewer orientation or a display orientation; determining, with a processor, a viewing angle relative to a display based on at least one of the determined viewer orientation or the determined display orientation; 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 execution of a first instance of the modified vertex shader displaces vertices of primitives in the image of the mono view in one direction based on the viewing angle and execution of a second instance of the modified vertex shader displaces the vertices of the primitives in the image of the mono view in another direction based on the viewing angle to generate vertex coordinates for vertices of a stereoscopic view; instructing, with the processor, a graphics processing unit (GPU) to execute the first instance of the modified vertex shader to generate a first image of the stereoscopic view; and instructing, with the processor, the GPU to execute the second instance of the modified vertex shader to generate a second image of the stereoscopic view.