disable one proc until we fix its handling of src-alpha==0
authorreed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 19 Oct 2009 19:51:17 +0000 (19:51 +0000)
committerreed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 19 Oct 2009 19:51:17 +0000 (19:51 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@394 2bbb7eff-a529-9590-31e7-b0007b416f81

src/opts/SkBlitRow_opts_arm.cpp

index d183312..89b2e91 100644 (file)
@@ -714,7 +714,13 @@ const SkBlitRow::Proc SkBlitRow::gPlatform_565_Procs[] = {
     S32_D565_Opaque_PROC,
     S32_D565_Blend_PROC,
     S32A_D565_Opaque_PROC,
+#if 0
+    // when the src-pixel is 0 (transparent), we are still affecting the dst
+    // so we're skipping this optimization for now
     S32A_D565_Blend_PROC,
+#else
+    NULL,
+#endif
     
     // dither
     NULL,   // S32_D565_Opaque_Dither,