Description[PDF] Add clip support and some optimizations for "complex" xfer modes.
For Clear, Src, Dst/Src-In/Out, we have to consider the current clip, and
potentially draw Dst, clipped to the inverse of the current clip before
doing the operation of interest.
For clear or src, if we haven't drawn anything, or the clip is empty, there's
nothing to be done.
For Src/Dst-In/Out, if either is empty, the result is empty.
Committed: http://code.google.com/p/skia/source/detail?r=1407
Patch Set 1 #
Total comments: 1
Patch Set 2 : Fix optimization (current vs all emptiness) #
Total comments: 14
Patch Set 3 : Address commnets #
Total comments: 1
MessagesTotal messages: 4
|