Patent ID: 7973797

Claim:
A device comprising: a processing unit configured to: receive a selection of a blending mode, implement a base set of blending operations, wherein two or more blending operations within the base set of blending operations collectively achieve blending in accordance with at least one of a plurality of possible blending modes, and wherein the selected blending mode comprises one of the plurality of possible blending modes, receive a first blending instruction of a sequence of blending instructions, wherein the first blending instruction includes a first operation code assigned to a first blending operation from the base set of blending operations, and wherein the sequence of blending instructions is based on the selected blending mode, receive a second blending instruction of the sequence of blending instructions, wherein the second blending instruction includes a second operation code assigned to a second blending operation from the base set of blending operations, and execute at least the first and second blending operations based on the first and second operation codes in the sequence of blending instructions to perform blending in accordance with the selected blending mode; and a storage unit to store operands and results for the processing unit.