Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Side by Side Diff: src/opts/SkBlitRow_opts_arm_neon.cpp

Issue 497823002: Disable Neon optimization of bad S32A/D565 blend. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: wrong proc Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2012 The Android Open Source Project 2 * Copyright 2012 The Android Open Source Project
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #include "SkBlitRow_opts_arm_neon.h" 8 #include "SkBlitRow_opts_arm_neon.h"
9 9
10 #include "SkBlitMask.h" 10 #include "SkBlitMask.h"
(...skipping 1631 matching lines...) Expand 10 before | Expand all | Expand 10 after
1642 dst += 1; 1642 dst += 1;
1643 count--; 1643 count--;
1644 } 1644 }
1645 } 1645 }
1646 1646
1647 /////////////////////////////////////////////////////////////////////////////// 1647 ///////////////////////////////////////////////////////////////////////////////
1648 1648
1649 const SkBlitRow::Proc sk_blitrow_platform_565_procs_arm_neon[] = { 1649 const SkBlitRow::Proc sk_blitrow_platform_565_procs_arm_neon[] = {
1650 // no dither 1650 // no dither
1651 S32_D565_Opaque_neon, 1651 S32_D565_Opaque_neon,
1652 S32_D565_Blend_neon,
1653 S32A_D565_Opaque_neon,
1652 #if 0 1654 #if 0
1653 S32_D565_Blend_neon, 1655 S32A_D565_Blend_neon,
1654 #else 1656 #else
1655 NULL, // https://code.google.com/p/skia/issues/detail?id=2797
1656 #endif
1657 S32A_D565_Opaque_neon,
1658 #ifdef SK_CPU_ARM64
1659 NULL, // https://code.google.com/p/skia/issues/detail?id=2845 1657 NULL, // https://code.google.com/p/skia/issues/detail?id=2845
1660 #else 1658 // https://code.google.com/p/skia/issues/detail?id=2797
1661 S32A_D565_Blend_neon,
1662 #endif 1659 #endif
1663 1660
1664 // dither 1661 // dither
1665 S32_D565_Opaque_Dither_neon, 1662 S32_D565_Opaque_Dither_neon,
1666 S32_D565_Blend_Dither_neon, 1663 S32_D565_Blend_Dither_neon,
1667 S32A_D565_Opaque_Dither_neon, 1664 S32A_D565_Opaque_Dither_neon,
1668 NULL, // S32A_D565_Blend_Dither 1665 NULL, // S32A_D565_Blend_Dither
1669 }; 1666 };
1670 1667
1671 const SkBlitRow::Proc32 sk_blitrow_platform_32_procs_arm_neon[] = { 1668 const SkBlitRow::Proc32 sk_blitrow_platform_32_procs_arm_neon[] = {
(...skipping 13 matching lines...) Expand all
1685 S32A_Opaque_BlitRow32_neon_src_alpha, // S32A_Opaque, 1682 S32A_Opaque_BlitRow32_neon_src_alpha, // S32A_Opaque,
1686 #else 1683 #else
1687 S32A_Opaque_BlitRow32_neon, // S32A_Opaque, 1684 S32A_Opaque_BlitRow32_neon, // S32A_Opaque,
1688 #endif 1685 #endif
1689 #ifdef SK_CPU_ARM32 1686 #ifdef SK_CPU_ARM32
1690 S32A_Blend_BlitRow32_neon // S32A_Blend 1687 S32A_Blend_BlitRow32_neon // S32A_Blend
1691 #else 1688 #else
1692 NULL 1689 NULL
1693 #endif 1690 #endif
1694 }; 1691 };
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698