Skip to main content

FeatStd Features

CMake feature switches have been renamed for V3.x releases, see Change Log

Select FeatStd Features

The FeatStd library feature set is specified by the following CMake settings:

Name Description Possible values
FEATSTD_LOG_ENABLED Whether or not CGI-Studio logging system shall be enabled. ON/OFF
FEATSTD_SYSTEM_MEMORY_STATISTIC_ENABLED Whether or not CGI-Studio shall collect memory allocation statistics. ON/OFF
FEATSTD_SYSTEM_MEMORY_STATISTIC_FILE
_AND_LINE_TRACKING_ENABLED
If FEATSTD_SYSTEM_MEMORY_STATISTIC_ENABLED is enabled, this option can be enabled to generate file and line number output for memory allocation statistics. ON/OFF
FEATSTD_FRACTIONAL_NUMBER_TYPE

Configures the build system to replace the 32 bit fractional number representation (designated in e.g. Candera by the symbol Float), with one of 3 options:

  • Float floating point representation
  • Fixed16p16 fixed point implementation with 16 bit integer part and 16 bit fractional part.
  • Fixed24p12 fixed point implementation with 24 bit integer part and 12 bit fractional part.

The fixed point implementation used is FixedPointPlatform::FixedPoint and the mathematical functions are defined in FixedPointPlatform::Math.

Float
Fixed16p16
Fixed24p12
FEATSTD_MONITOR_ENABLED

Enable CGI Analyzer compliant performance tracing (compile time switch).

Monitor is an optional module only available upon special request. To enable this feature, CGI Analyzer tool chain which is a separate add-on component to CGI Studio, is required.

ON/OFF
FEATSTD_GLERRORS_AND_EGLERRORS_ENABLED Enables calls to glGetError and eglGetError. ON/OFF