FPLBase
An open source project by FPL.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
renderer_android.h File Reference
#include "fplbase/config.h"

Go to the source code of this file.

Namespaces

 fplbase
 Namespace for FPLBase library.
 

Functions

void fplbase::AndroidPreCreateWindow ()
 Create the Android window surface.
 
void fplbase::AndroidSetScalerResolution (const mathfu::vec2i &resolution)
 Scalar settings can occasionally fail on fail on some Android devices. In failure cases, the caller can check for success by verifying AndroidGetScalerResolution() returns the expected resolution. If AndroidGetScalarResolution() returns a diffrent resolution than what was set in AndroidSetScaleResolution(), the application can assume failure and attempt to restart the app to try configuration again. More...
 
const mathfu::vec2i & fplbase::AndroidGetScalerResolution ()
 Get the Android scaler resolution. More...
 
int fplbase::AndroidGetContextClientVersion ()
 Gets the GLES client version of the current EGL context. More...
 
void fplbase::AndroidInitGl3Functions ()
 Gets all the GL3 function pointers. Using this rather than GLES3/gl3.h directly means we can still compile on older SDKs and run on older devices too.