Searched refs:targetRatio (Results 1 – 3 of 3) sorted by relevance
59 float targetRatio; in handleConfigure() local66 targetRatio = (float)window->numer / (float)window->denom; in handleConfigure()67 if (aspectRatio < targetRatio) in handleConfigure()68 height = width / targetRatio; in handleConfigure()69 else if (aspectRatio > targetRatio) in handleConfigure()70 width = height * targetRatio; in handleConfigure()
871 const float targetRatio = targetDrawCallTime / drawCallTime; in adjustAndLogGridAndViewport() local873 if (targetRatio < 0.95f) in adjustAndLogGridAndViewport()878 const float targetRatioSqrt = deFloatSqrt(targetRatio); in adjustAndLogGridAndViewport()886 const float targetRatioSqrt = deFloatSqrt(targetRatio); in adjustAndLogGridAndViewport()