Scale image prior to draw it's pattern to enhance performance
authorKyungjin Kim <gen.kim@samsung.com>
Thu, 28 Mar 2013 03:50:02 +0000 (12:50 +0900)
committerKyungjin Kim <gen.kim@samsung.com>
Fri, 5 Apr 2013 02:21:40 +0000 (11:21 +0900)
commite85d2cc3cad5b527deb7ae2fe6648308c03a5fa1
tree3ad783694a41dfbe4a7fec2aa0617b06f2cd25ad
parenta55099a1f44c5c3c9c12fdc70463e5fd096c6e1a
Scale image prior to draw it's pattern to enhance performance

[Title] Scale image prior to draw it's pattern to enhance performance
[Issue#] N/A
[Problem] Browsermark2 2d transform scores 1200
[Cause] Drawing an image to cairo context with scaling is very slow
[Solution] scale image first then draw the pattern to the context so scores 1800

Change-Id: Ia35ed86631dc24e9b6ac55e7117f9e31ec4a9eee
Source/WTF/wtf/Platform.h [changed mode: 0755->0644]
Source/WebCore/platform/graphics/cairo/CairoUtilities.cpp