DescriptionThe regression was due to the fact that we were calling PlatformColorProc() for every span (which in turns makes CPUID, a fairly expensive call). Since we draw a lot of rects, and rects have 1-pixel wide spans for the vertical segments, that's a lot of CPUID.
Fixed by cacheing the result of PlatformColorProc(), as is done for the other platform-specific blitters.
Patch Set 1 #Patch Set 2 : Remove opts_files.mk changes from this patch. #Patch Set 3 : One more try.. fixing SkSrcOver_XfermodeColorFilter constructor. #
MessagesTotal messages: 6
|