mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-24 14:58:13 -06:00
#15098: Add headless mode with software OpenGL rendering
This commit is contained in:
1 parent
7b5a977401
commit
278248b71d
10 files changed
+280
-35
No files matched your search
@@ -250,9 +250,10 @@ void RiaRegressionTestRunner::runRegressionTest()
|
||||
if ( regressionTestConfig.exportSnapshots3dViews )
|
||||
{
|
||||
QSize defaultSize = RiaRegressionTestRunner::regressionDefaultImageSize();
|
||||
RicSnapshotAllViewsToFileFeature::exportSnapshotOfViewsIntoFolder( fullPathGeneratedFolder,
|
||||
defaultSize.width(),
|
||||
defaultSize.height() );
|
||||
auto result = RicSnapshotAllViewsToFileFeature::exportSnapshotOfViewsIntoFolder( fullPathGeneratedFolder,
|
||||
defaultSize.width(),
|
||||
defaultSize.height() );
|
||||
if ( !result ) RiaLogging::error( result.error().toStdString() );
|
||||
|
||||
QApplication::processEvents();
|
||||
}
|
||||
@@ -260,10 +261,11 @@ void RiaRegressionTestRunner::runRegressionTest()
|
||||
if ( regressionTestConfig.exportSnapshotsPlots )
|
||||
{
|
||||
QSize defaultSize = RiaRegressionTestRunner::regressionDefaultImageSize();
|
||||
RicSnapshotAllPlotsToFileFeature::exportSnapshotOfPlotsIntoFolder( fullPathGeneratedFolder,
|
||||
defaultSize.width(),
|
||||
defaultSize.height(),
|
||||
true /*activate widget*/ );
|
||||
auto result = RicSnapshotAllPlotsToFileFeature::exportSnapshotOfPlotsIntoFolder( fullPathGeneratedFolder,
|
||||
defaultSize.width(),
|
||||
defaultSize.height(),
|
||||
true /*activate widget*/ );
|
||||
if ( !result ) RiaLogging::error( result.error().toStdString() );
|
||||
}
|
||||
|
||||
uint64_t usedMemoryBeforeClose = caf::MemoryInspector::getApplicationPhysicalMemoryUsageMiB();
|
||||
|
||||
Reference in new issue
Block a user