CPC G06T 15/503 (2013.01) [G06T 15/005 (2013.01); G06T 17/005 (2013.01)] | 20 Claims |
1. A method comprising:
assigning, by a processing device, unique shape identifiers to objects included in an input render tree based on a z-order of the objects, each of the unique shape identifiers having a number of bits equal to a number of the objects included in the input render tree;
generating, by the processing device, a shape mask based on the unique shape identifiers, the shape mask including bit positions that correspond to the z-order of the objects and bit values that correspond to color contributions of the objects;
computing, by the processing device, a color of a pixel of a blend object by identifying particular objects of the objects that contribute to the blend object based on the bit positions and the bit values of the shape mask; and
generating, by the processing device, the blend object for display in a user interface based on the color of the pixel.
|