void onSurfaceChanged ( int width , int height ) { Log . v ( TAG , "onSurfaceChanged" ) ; final VrAppSettings . EyeBufferParams . DepthFormat depthFormat = mApplication . getAppSettings ( ) . getEyeBufferParams ( ) . getDepthFormat ( ) ; mApplication . getConfigurationManager ( ) . configureRendering ( VrAppSettings . EyeBufferParams . DepthFormat . DEPTH_24_STENCIL_8 == depthFormat ) ; }
Called when the surface is created or recreated . Avoided because this can be called twice at the beginning .