System and method for processing graphics operations with graphics processing unit
AssigneeApple Inc.
InventorMark Zimmer
Life of this patent
Estimating the term…
Abstract
Disclosed is a system and method for processing graphic operations on a plurality of data structures of an image with a graphics processing unit and memory. The disclosed techniques of the system and method create an accumulation buffer of the data structures for accumulating changes to the data structures. A separate buffer is then created from at least a portion of the data structures of the accumulation buffer. The disclosed techniques read the data structures from the separate buffer with the graphics processing unit. The graphics processing unit operates on the data structures read from the separate buffer with the operation. Then, the disclosed techniques write the results of the operation onto the portion of the accumulation buffer corresponding to the separate buffer.
Claims52
A method of processing an operation on data with a graphics processing unit and memory, the method comprising the steps of:
- creating an accumulation buffer of the data for accumulating changes to the data;
- creating a separate buffer from at least a portion of the data in the accumulation buffer;
- ensuring that the accumulation buffer is not being read/modified/or written by another process before creating the separate buffer;
- reading the data from the separate buffer with the graphics processing unit;
- creating results by operating on the data with the operation using the graphics processing unit;
- and
- writing the results onto the portion of the data in the accumulation buffer from which the separate buffer was created.
A method of processing an operation on data with a graphics processing unit and memory, the method comprising the steps of:
- creating an accumulation buffer of the data for accumulating changes to the data;
- creating a separate buffer from at least a portion of the data of the accumulation buffer;
- ensuring that the accumulation buffer is not being read/modified/or written by another process before creating the separate buffer;
- and
- operating on the data of the separate buffer with one or more programs on the graphics processing unit by reading the data from the separate buffer with the programs and writing results of the operation to the accumulation buffer with the programs.
A method of processing a graphics operation on an initial image with a graphics processing unit and memory, the method comprising the steps of:
- creating an accumulation buffer with data of the initial image for accumulating changes to the data;
- and
- computing the graphic operation by overlaying individual effects;
- wherein for each individual effect, the method includes the steps of:
- copying only the data in the accumulation buffer affected by the each individual effect into a separate buffer,
- ensuring that the accumulation buffer is not being read/modified/or written by another process before copying the data from the accumulation buffer into the separate buffer,
- computing results of the each individual effect using the data in the separate buffer, and
- writing the results into accumulation buffer at the corresponding data in the accumulation buffer affected by the each individual effect.
A method of processing an operation on data with a graphics processing unit and memory, the method comprising the steps of:
- creating an accumulation buffer of the data for accumulating changes to the data;
- creating a separate buffer from at least a portion of the data of the accumulation buffer;
- and
- operating on the data of the separate buffer with one or more programs on the graphics processing unit by reading the data from the separate buffer with the programs and writing results of the operation to the accumulation buffer with the programs,
- wherein the program comprises a relationship between a filter and an initial image, the relationship defined by a first process, the filter requested by the first process from a second process, the second process compiling the program and yielding a compiled program, at least a portion of the compiled program applying a function of the filter to the image to yield a pixel-image for the result.
Dependencies are inferred from the claim text.