enable LOD manager on android

This commit is contained in:
SamGondelman 2018-07-20 16:48:15 -07:00
parent db8846796f
commit e9ab2b8f27
2 changed files with 4 additions and 2 deletions

View file

@ -5803,9 +5803,7 @@ void Application::update(float deltaTime) {
bool showWarnings = Menu::getInstance()->isOptionChecked(MenuOption::PipelineWarnings);
PerformanceWarning warn(showWarnings, "Application::update()");
#if !defined(Q_OS_ANDROID)
updateLOD(deltaTime);
#endif
// TODO: break these out into distinct perfTimers when they prove interesting
{

View file

@ -19,7 +19,11 @@
#include <SimpleMovingAverage.h>
#include <render/Args.h>
#ifdef Q_OS_ANDROID
const float DEFAULT_DESKTOP_LOD_DOWN_FPS = 10.0f;
#else
const float DEFAULT_DESKTOP_LOD_DOWN_FPS = 30.0f;
#endif
const float DEFAULT_HMD_LOD_DOWN_FPS = 34.0f;
const float DEFAULT_DESKTOP_MAX_RENDER_TIME = (float)MSECS_PER_SECOND / DEFAULT_DESKTOP_LOD_DOWN_FPS; // msec
const float DEFAULT_HMD_MAX_RENDER_TIME = (float)MSECS_PER_SECOND / DEFAULT_HMD_LOD_DOWN_FPS; // msec