History

master -> primary

HifiExperiments committed 2 years ago

Commit 126c3251 parent 74b075435 files · +232 −232Browse files

Showing the changes to interface/src/scripting/PlatformInfoScriptingInterface.cpp (1 of 35 files). Show all

Unified · Split

interface/src/scripting/PlatformInfoScriptingInterface.cpp+6−6
@@ -182,8 +182,8 @@ bool PlatformInfoScriptingInterface::isStandalone() { · 181 unmodified lines
182182 int PlatformInfoScriptingInterface::getNumCPUs() {
183183 return platform::getNumCPUs();
184184 }
185−int PlatformInfoScriptingInterface::getMasterCPU() {
186− return platform::getMasterCPU();
185+int PlatformInfoScriptingInterface::getPrimaryCPU() {
186+ return platform::getPrimaryCPU();
187187 }
188188 QString PlatformInfoScriptingInterface::getCPU(int index) {
189189 auto desc = platform::getCPU(index);
@@ -193,8 +193,8 @@ QString PlatformInfoScriptingInterface::getCPU(int index) { · 3 unmodified lines
193193 int PlatformInfoScriptingInterface::getNumGPUs() {
194194 return platform::getNumGPUs();
195195 }
196−int PlatformInfoScriptingInterface::getMasterGPU() {
197− return platform::getMasterGPU();
196+int PlatformInfoScriptingInterface::getPrimaryGPU() {
197+ return platform::getPrimaryGPU();
198198 }
199199 QString PlatformInfoScriptingInterface::getGPU(int index) {
200200 auto desc = platform::getGPU(index);
@@ -204,8 +204,8 @@ QString PlatformInfoScriptingInterface::getGPU(int index) { · 3 unmodified lines
204204 int PlatformInfoScriptingInterface::getNumDisplays() {
205205 return platform::getNumDisplays();
206206 }
207−int PlatformInfoScriptingInterface::getMasterDisplay() {
208− return platform::getMasterDisplay();
207+int PlatformInfoScriptingInterface::getPrimaryDisplay() {
208+ return platform::getPrimaryDisplay();
209209 }
210210 QString PlatformInfoScriptingInterface::getDisplay(int index) {
211211 auto desc = platform::getDisplay(index);