DescriptionAdd a factory Create function for SkColorFilterImageFilter, and move the matrix optimization there. This will allow the Chrome compositor to extract the optimized matrix, and potentially apply the color matrix itself, saving a buffer allocation & draw.
Committed: https://code.google.com/p/skia/source/detail?r=6152
Patch Set 1 #Patch Set 2 : Fix refcounting; combine if-tests. #Patch Set 3 : Remove now-spurious memcpy(). #Patch Set 4 : Change SkColorFilterImageFilter to use a factory Create function #
MessagesTotal messages: 4
|