Floating Point Compiler Options

Device creators can enable hardware floating point compiler options in their OpenGL ES implementations without risking binary incompatibility with client programs.

Variant: ScreenPlay and non-ScreenPlay. Target audience: Device creators.

The OpenGL ES 1.x and 2.0 APIs qualify functions involving floating point variables that are passed or returned by value. With these qualified functions:

  • software floating point calling conventions are used

  • client programs and implementations agree on the calling convention

  • the calling convention disregards the compiler options supplied in the MMP project file.

This means that device creators can enable hardware floating point compiler options in their OpenGL ES implementations without a risk of binary incompatibility with client programs. The hardware floating point calling conventions then apply only to function calls that are not part of the standard OpenGL ES API call interface.