System for Emulating Graphics Operations
First Claim
Patent Images
1. A method of creating an image, the method comprising:
- receiving a request to render a polygon having a plurality of pixels, the polygon represented by a programmable graphics processing unit (GPU) fragment program, the programmable GPU program comprising a plurality of programmable GPU fragment programs;
converting the programmable GPU program to a central processing unit (CPU) program;
unrolling a loop in the CPU program such that the unrolled loop will process N of the plurality of pixels;
executing, by a CPU, the unrolled loop a variable number of times; and
rendering the N pixels in groups of L pixels, by executing, by the CPU, the unrolled loop L/N times.
0 Assignments
0 Petitions
Accused Products
Abstract
Disclosed is a system for producing images including emulation techniques using multiple processors. The system provides for emulation of graphics processing resources such that a central processing unit may provide graphics support. Disclosed embodiments include emulation of selected graphics calls as well as emulation of a programmable graphics processor for compatibility with systems having no compatible GPU. Embodiments also include optimization of graphics code for a particular kind of processor.
-
Citations
19 Claims
-
1. A method of creating an image, the method comprising:
-
receiving a request to render a polygon having a plurality of pixels, the polygon represented by a programmable graphics processing unit (GPU) fragment program, the programmable GPU program comprising a plurality of programmable GPU fragment programs; converting the programmable GPU program to a central processing unit (CPU) program; unrolling a loop in the CPU program such that the unrolled loop will process N of the plurality of pixels; executing, by a CPU, the unrolled loop a variable number of times; and rendering the N pixels in groups of L pixels, by executing, by the CPU, the unrolled loop L/N times. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 18)
-
-
13. A method of creating an image, the method comprising:
-
receiving a request to render an image, the image having a plurality of pixels; creating an object in a memory representing the image, the object comprising a programmable graphics processing unit (GPU) program, the programmable GPU program including one or more programmable GPU fragment programs; compiling the programmable GPU program to generate a compiled program; and rendering the image by executing the compiled program using a virtual machine under control of a central processing unit (CPU). - View Dependent Claims (14, 15, 16, 17, 19)
-
Specification