-
abarth@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=89849 Reviewed by Daniel Bates. Source/WebCore: Min Qin writes: Using InterpolationHigh is very very expensive when resampling images. For example, it took 1400ms to decode an image on http://www.crossfitsunnyvale.com/blog/, but it took 2800 ms to do the resampling Switch to InterpolationLow will result in linear resampling. It is much faster as the time it tooks is almost non-noticable [sic] on the trace. * platform/graphics/skia/PlatformContextSkia.cpp: (WebCore::PlatformContextSkia::State::State): Source/WTF: Introduce a USE macro to control image interpolation quality. * wtf/Platform.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121184 268f45cc-cd09-0410-ab3c-d52691b4dbfc
35707d0b