move platformConvolutionProcs() call to right before we need it

git-svn-id: http://skia.googlecode.com/svn/trunk/src@11127 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/core/SkBitmapProcState.cpp b/core/SkBitmapProcState.cpp
index 353248f..bc9a8fb 100644
--- a/core/SkBitmapProcState.cpp
+++ b/core/SkBitmapProcState.cpp
@@ -116,18 +116,6 @@
         return;
     }
 
-    // see if our platform has any specialized convolution code.
-
-
-    // Set up a pointer to a local (instead of storing the structure in the
-    // proc state) to avoid introducing a header dependency; this makes
-    // recompiles a lot less painful.
-
-    SkConvolutionProcs simd;
-    sk_bzero(&simd, sizeof(simd));
-
-    this->platformConvolutionProcs(&simd);
-
     // STEP 1: Highest quality direct scale?
 
     // Check to see if the transformation matrix is simple, and if we're
@@ -151,6 +139,10 @@
 
             // All the criteria are met; let's make a new bitmap.
 
+            SkConvolutionProcs simd;
+            sk_bzero(&simd, sizeof(simd));
+            this->platformConvolutionProcs(&simd);
+
             if (!SkBitmapScaler::Resize(&fScaledBitmap,
                                         fOrigBitmap,
                                         SkBitmapScaler::RESIZE_BEST,