[webkit-help] Enabling lighting filters

Gabor Loki loki at inf.u-szeged.hu
Fri Jun 3 08:12:21 PDT 2011


Hi Umesh,

I guess you have forgotten to add -mfloat-abi=softfp or hard option to
GCC.

Please run the following command line in your terminal:

$>  echo | arm-linux-gnueabi-g++ -mfpu=neon -mfloat-abi=softfp -dM -E -
| grep -i "version\|neon"

You should get something similar:

#define __GXX_ABI_VERSION 1002
#define __VERSION__ "4.4.3"
#define __ARM_NEON__ 1

Check if the __ARM_NEON__ macro is set.

So, the -mfloat-abi=softfp or hard option - with the -mfpu=neon one -
will enable the NEON for FELighting.

--Gabor


Umesh Singh wrote:
> Hello All,
>                Can someone please let me know how to enable lighting
> filter for Neon in Webkit? I have compiled the source with the filters
> enabled and mfpu=neon for compiler flags but the FELightingNEON.cpp/h
> files are not getting compiled. Please let me know how to enable the
> compilation directive:
> #if CPU(ARM_NEON) && COMPILER(GCC) 
> 
> 
> Any help is appreciated.
> 
> 
> 
> 
> Regards,
> Umesh
> _______________________________________________
> webkit-help mailing list
> webkit-help at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-help




More information about the webkit-help mailing list