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
182int PlatformInfoScriptingInterface::getNumCPUs() {182int PlatformInfoScriptingInterface::getNumCPUs() {
183 return platform::getNumCPUs();183 return platform::getNumCPUs();
184}184}
185int PlatformInfoScriptingInterface::getMasterCPU() {185int PlatformInfoScriptingInterface::getPrimaryCPU() {
186 return platform::getMasterCPU();186 return platform::getPrimaryCPU();
187}187}
188QString PlatformInfoScriptingInterface::getCPU(int index) {188QString PlatformInfoScriptingInterface::getCPU(int index) {
189 auto desc = platform::getCPU(index);189 auto desc = platform::getCPU(index);
@@ -193,8 +193,8 @@ QString PlatformInfoScriptingInterface::getCPU(int index) { · 3 unmodified lines
193int PlatformInfoScriptingInterface::getNumGPUs() {193int PlatformInfoScriptingInterface::getNumGPUs() {
194 return platform::getNumGPUs();194 return platform::getNumGPUs();
195}195}
196int PlatformInfoScriptingInterface::getMasterGPU() {196int PlatformInfoScriptingInterface::getPrimaryGPU() {
197 return platform::getMasterGPU();197 return platform::getPrimaryGPU();
198}198}
199QString PlatformInfoScriptingInterface::getGPU(int index) {199QString PlatformInfoScriptingInterface::getGPU(int index) {
200 auto desc = platform::getGPU(index);200 auto desc = platform::getGPU(index);
@@ -204,8 +204,8 @@ QString PlatformInfoScriptingInterface::getGPU(int index) { · 3 unmodified lines
204int PlatformInfoScriptingInterface::getNumDisplays() {204int PlatformInfoScriptingInterface::getNumDisplays() {
205 return platform::getNumDisplays();205 return platform::getNumDisplays();
206}206}
207int PlatformInfoScriptingInterface::getMasterDisplay() {207int PlatformInfoScriptingInterface::getPrimaryDisplay() {
208 return platform::getMasterDisplay();208 return platform::getPrimaryDisplay();
209}209}
210QString PlatformInfoScriptingInterface::getDisplay(int index) {210QString PlatformInfoScriptingInterface::getDisplay(int index) {
211 auto desc = platform::getDisplay(index);211 auto desc = platform::getDisplay(index);