Home
last modified time | relevance | path

Searched refs:targetRatio (Results 1 – 3 of 3) sorted by relevance

/third_party/flutter/glfw/src/
Dwl_window.c59 float targetRatio; in handleConfigure() local
66 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()
/third_party/vk-gl-cts/modules/gles2/performance/
Des2pShaderOperatorTests.cpp871 const float targetRatio = targetDrawCallTime / drawCallTime; in adjustAndLogGridAndViewport() local
873 if (targetRatio < 0.95f) in adjustAndLogGridAndViewport()
878 const float targetRatioSqrt = deFloatSqrt(targetRatio); in adjustAndLogGridAndViewport()
886 const float targetRatioSqrt = deFloatSqrt(targetRatio); in adjustAndLogGridAndViewport()
/third_party/vk-gl-cts/modules/gles3/performance/
Des3pShaderOperatorTests.cpp871 const float targetRatio = targetDrawCallTime / drawCallTime; in adjustAndLogGridAndViewport() local
873 if (targetRatio < 0.95f) in adjustAndLogGridAndViewport()
878 const float targetRatioSqrt = deFloatSqrt(targetRatio); in adjustAndLogGridAndViewport()
886 const float targetRatioSqrt = deFloatSqrt(targetRatio); in adjustAndLogGridAndViewport()