Hi,
i'm working on fps optimization for openGL application, and as we know, correct CPU MACRO may help the application to get more fps. what could i refer to get the complier argument of CPU MACRO? or would you please list them here.
Thanks,
Hi,
i'm working on fps optimization for openGL application, and as we know, correct CPU MACRO may help the application to get more fps. what could i refer to get the complier argument of CPU MACRO? or would you please list them here.
Thanks,
Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.
I’m not sure what you're looking for here – probably some compiler macro that reports exactly which CPU or instruction set the program is being built for. That’ll be different depending on what build system you're using. If using the NDK, then building with ‘ndk-build V=1’ will display the complete build command, and you can find from there what macros are being used. Does that help?