Searched refs:curDrawCount (Results 1 – 2 of 2) sorted by relevance
274 int curDrawCount = 1; in calibrate() local284 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()
363 int curDrawCount = 1; in calibrate() local374 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()