Lines Matching defs:runParams

370 static void getTestRunsForNoContext(glu::ApiType type, vector<TestRunParams>& runs, const ConfigList& configs, const RunParams* runParams,
377 if (!glu::contextSupports(glu::ContextType(type), runParams[i].apiType))
380 const char* apiName = getApiName(runParams[i].apiType);
382 const int width = runParams[i].surfaceWidth;
383 const int height = runParams[i].surfaceHeight;
384 const int seed = runParams[i].baseSeed;
387 params.logFilename = getLogFileName(apiName, runParams[i].configName, 1, i, width, height, seed);
389 getBaseOptions(params.args, mustpassDir, apiName, runParams[i].configName, runParams[i].screenRotation, width,
394 appendConfigArgs(*cfgIter, params.args, runParams[i].fboConfig);
407 static void getTestRunsForSingleConfig(glu::ApiType type, vector<TestRunParams>& runs, const ConfigList& configs, const RunParams* runParams,
414 if (type != runParams[i].apiType)
417 const char* apiName = getApiName(runParams[i].apiType);
419 const int width = runParams[i].surfaceWidth;
420 const int height = runParams[i].surfaceHeight;
421 const int seed = runParams[i].baseSeed;
424 params.logFilename = getLogFileName(apiName, runParams[i].configName, 1, i, width, height, seed);
426 getBaseOptions(params.args, mustpassDir, apiName, runParams[i].configName, runParams[i].screenRotation, width,
431 appendConfigArgs(*cfgIter, params.args, runParams[i].fboConfig);
457 const RunParams* runParams = isFirst ? khronos_mustpass_es_first_cfg : khronos_mustpass_es_other_cfg;
461 if (!glu::contextSupports(glu::ContextType(type), runParams[runNdx].apiType))
464 const char* apiName = getApiName(runParams[runNdx].apiType);
466 const int width = runParams[runNdx].surfaceWidth;
467 const int height = runParams[runNdx].surfaceHeight;
468 const int seed = runParams[runNdx].baseSeed;
473 getLogFileName(apiName, runParams[runNdx].configName, cfgIter->id, runNdx, width, height, seed);
475 getBaseOptions(params.args, mustpassDir, apiName, runParams[runNdx].configName,
476 runParams[runNdx].screenRotation, width, height);
479 appendConfigArgs(*cfgIter, params.args, runParams[runNdx].fboConfig);
505 const RunParams* runParams = khronos_mustpass_aosp_for_gl_first_cfg;
509 if (!glu::contextSupports(glu::ContextType(type), runParams[i].apiType))
512 const char* apiName = getApiName(runParams[i].apiType);
514 const int width = runParams[i].surfaceWidth;
515 const int height = runParams[i].surfaceHeight;
516 const int seed = runParams[i].baseSeed;
519 params.logFilename = getLogFileName(apiName, runParams[i].configName, 1, i, width, height, seed);
521 getBaseOptions(params.args, mustpassDir, apiName, runParams[i].configName, runParams[i].screenRotation, width,
526 appendConfigArgs(*cfgIter, params.args, runParams[i].fboConfig);
545 const RunParams* runParams = isFirst ? khronos_mustpass_gl_first_cfg : khronos_mustpass_gl_other_cfg;
549 if (type != runParams[runNdx].apiType)
552 const char* apiName = getApiName(runParams[runNdx].apiType);
554 const int width = runParams[runNdx].surfaceWidth;
555 const int height = runParams[runNdx].surfaceHeight;
556 const int seed = runParams[runNdx].baseSeed;
561 getLogFileName(apiName, runParams[runNdx].configName, cfgIter->id, runNdx, width, height, seed);
563 getBaseOptions(params.args, mustpassDir, apiName, runParams[runNdx].configName,
564 runParams[runNdx].screenRotation, width, height);
567 appendConfigArgs(*cfgIter, params.args, runParams[runNdx].fboConfig);
677 for (vector<TestRunParams>::const_iterator runIter = summary.runParams.begin(); runIter != summary.runParams.end();
766 DE_ASSERT(m_runSessions.empty() && m_summary.runParams.empty());
797 m_summary.runParams.push_back(*runIter);
819 void TestRunner::initSession(const TestRunParams& runParams)
826 vector<string> args(runParams.args);
827 args.push_back(string("--deqp-log-filename=") + de::FilePath::join(m_logDirPath, runParams.logFilename).getPath());