Home
last modified time | relevance | path

Searched refs:curDrawCount (Results 1 – 2 of 2) sorted by relevance

/third_party/vk-gl-cts/modules/gles2/functional/
Des2fFlushFinishTests.cpp274 int curDrawCount = 1; in calibrate() local
284 render(curDrawCount); in calibrate()
289 …m_testCtx.getLog() << TestLog::Message << "Duration with " << curDrawCount << " draw calls = " << … in calibrate()
293 if (curDrawCount > 1) in calibrate()
296 const float a = float(curDuration - prevDuration) / float(curDrawCount - prevDrawCount); in calibrate()
300 curDrawCount = de::clamp(deFloorFloatToInt32(est), 1, int(MAX_DRAW_CALL_COUNT)); in calibrate()
306 else if (curDrawCount >= MAX_DRAW_CALL_COUNT) in calibrate()
310 prevDrawCount = curDrawCount; in calibrate()
312 curDrawCount = curDrawCount*2; in calibrate()
316 params.maxDrawCalls = curDrawCount; in calibrate()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fFlushFinishTests.cpp363 int curDrawCount = 1; in calibrate() local
374 render(curDrawCount); // \note Submit time is ignored in calibrate()
383 …m_testCtx.getLog() << TestLog::Message << "Duration with " << curDrawCount << " draw calls = " << … in calibrate()
387 if (curDrawCount > 1) in calibrate()
390 const float a = float(curDuration - prevDuration) / float(curDrawCount - prevDrawCount); in calibrate()
394 curDrawCount = de::clamp(deFloorFloatToInt32(est), 1, int(MAX_DRAW_CALL_COUNT)); in calibrate()
400 else if (curDrawCount >= MAX_DRAW_CALL_COUNT) in calibrate()
409 prevDrawCount = curDrawCount; in calibrate()
411 curDrawCount = curDrawCount*2; in calibrate()
415 params.maxDrawCalls = curDrawCount; in calibrate()