From 14f66bb3b581563e33aaa9460462aa3fc2c01682 Mon Sep 17 00:00:00 2001 From: subhransu mohanty Date: Tue, 31 Jul 2018 17:10:30 +0900 Subject: [PATCH 1/1] lottie/render: fixed rendering backend issue for arm. Change-Id: I23b2f24b0ed995cb76ba554228e4ff72677806bd --- src/vector/vdrawhelper.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/vector/vdrawhelper.cpp b/src/vector/vdrawhelper.cpp index ce07aac..b4be4c7 100644 --- a/src/vector/vdrawhelper.cpp +++ b/src/vector/vdrawhelper.cpp @@ -630,7 +630,7 @@ void VSpanData::updateSpanFunc() } } -#if !defined(__SSE2__) && !defined(__ARM_NEON__) +#if !defined(__SSE2__) void memfill32(uint32_t *dest, uint32_t value, int length) { int n; @@ -677,15 +677,15 @@ void vInitDrawhelperFunctions() #if defined(__ARM_NEON__) // update fast path for NEON - extern void comp_func_solid_SourceOver_neon( - uint32_t * dest, int length, uint32_t color, uint32_t const_alpha); - extern void comp_func_solid_Source_neon( - uint32_t * dest, int length, uint32_t color, uint32_t const_alpha); - - COMP_functionForModeSolid_C[VPainter::CompModeSrc] = - comp_func_solid_Source_neon; - COMP_functionForModeSolid_C[VPainter::CompModeSrcOver] = - comp_func_solid_SourceOver_neon; +// extern void comp_func_solid_SourceOver_neon( +// uint32_t * dest, int length, uint32_t color, uint32_t const_alpha); +// extern void comp_func_solid_Source_neon( +// uint32_t * dest, int length, uint32_t color, uint32_t const_alpha); + +// COMP_functionForModeSolid_C[VPainter::CompModeSrc] = +// comp_func_solid_Source_neon; +// COMP_functionForModeSolid_C[VPainter::CompModeSrcOver] = +// comp_func_solid_SourceOver_neon; #endif #if defined(__SSE2__) -- 2.7.4