Searched refs:fpsScale (Results 1 – 1 of 1) sorted by relevance
224 const auto fpsScale = static_cast<float>(fps - mLowFps) / rangeLength; in getOrCreateBuffers() local226 color.r = HIGH_FPS_COLOR.r * fpsScale + LOW_FPS_COLOR.r * (1 - fpsScale); in getOrCreateBuffers()227 color.g = HIGH_FPS_COLOR.g * fpsScale + LOW_FPS_COLOR.g * (1 - fpsScale); in getOrCreateBuffers()228 color.b = HIGH_FPS_COLOR.b * fpsScale + LOW_FPS_COLOR.b * (1 - fpsScale); in getOrCreateBuffers()