History

give Application a 'workload' engine

Andrew Meadows committed 8 years ago

Commit ba888a11 parent 7342bc82 files · +6 −0Browse files

Showing the changes to interface/src/Application.cpp (1 of 2 files). Show all

Unified · Split

interface/src/Application.cpp+4−0
@@ -2209,6 +2209,7 @@ Application::~Application() { · 2208 unmodified lines
2209 // shutdown render engine2209 // shutdown render engine
2210 _main3DScene = nullptr;2210 _main3DScene = nullptr;
2211 _renderEngine = nullptr;2211 _renderEngine = nullptr;
2212 _infinityEngine = nullptr;
2212 2213
2213 DependencyManager::destroy<Preferences>();2214 DependencyManager::destroy<Preferences>();
2214 2215
@@ -4097,6 +4098,9 @@ void Application::idle() { · 1882 unmodified lines
4097 qFatal("Unable to make main thread context current");4098 qFatal("Unable to make main thread context current");
4098 }4099 }
4099 4100
4101 {
4102 _infinityEngine->run();
4103 }
4100 {4104 {
4101 PerformanceTimer perfTimer("update");4105 PerformanceTimer perfTimer("update");
4102 PerformanceWarning warn(showWarnings, "Application::idle()... update()");4106 PerformanceWarning warn(showWarnings, "Application::idle()... update()");

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t