From cbf6b6ecd5edca74aa9f78ea5b9a73fb955b8654 Mon Sep 17 00:00:00 2001 From: senorblanco Date: Thu, 23 Oct 2014 15:00:10 -0700 Subject: Fix imagemagnifier GM quality and speed. The imagemagnifier GM was applying the filter both to a saveLayer() restore() around the whole scene, as well as to each individual text draw. Applying the filter only in the saveLayer() makes it run ~20x faster on my Linux box, and the quality is improved as well (since the primitives are not double-filtered). BUG=skia: Review URL: https://codereview.chromium.org/637283009 --- expectations/gm/ignored-tests.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'expectations/gm/ignored-tests.txt') diff --git a/expectations/gm/ignored-tests.txt b/expectations/gm/ignored-tests.txt index ad1f7a3bea..51c628bd41 100644 --- a/expectations/gm/ignored-tests.txt +++ b/expectations/gm/ignored-tests.txt @@ -53,6 +53,10 @@ drawbitmapmatrix # New shadow only option in SkDropShadowImageFilter dropshadowimagefilter +# senorblanco https://codereview.chromium.org/637283009/ +# quality improvements to imagemagnifier GM +imagemagnifier + #bsalomon slight(?) changes after reseting GrContext between GMs dftext megalooper_0x0 -- cgit v1.2.3