mirror of https://github.com/BOINC/boinc.git
- MGR: Filter project list icons so that the icon will only be displayed
if the volunteer has the hardware to go with it. clientgui/ ProjectInfoPage.cpp svn path=/trunk/boinc/; revision=19757
This commit is contained in:
parent
67bc7dfc9b
commit
ed00217f33
|
@ -9593,3 +9593,11 @@ David 1 Dec 2009
|
|||
|
||||
sched, lib/
|
||||
Makefile.am
|
||||
|
||||
Rom 1 Dec 2009
|
||||
- MGR: Filter project list icons so that the icon will only be displayed
|
||||
if the volunteer has the hardware to go with it.
|
||||
|
||||
clientgui/
|
||||
ProjectInfoPage.cpp
|
||||
|
||||
|
|
|
@ -296,22 +296,22 @@ void CProjectInfoPage::OnPageChanged( wxWizardExEvent& event ) {
|
|||
wxString strRootProjectPlatform = strProjectPlatform.SubString(0, strProjectPlatform.Find(_T("[")) - 1);
|
||||
|
||||
if (strProjectPlatform.Find(_T("[cuda")) != wxNOT_FOUND) {
|
||||
bProjectSupportsNvidiaGPU = true;
|
||||
if ((pDoc->state.have_cuda) && (strClientPlatform == strRootProjectPlatform)) {
|
||||
bProjectSupportsNvidiaGPU = true;
|
||||
bSupportedPlatformFound = true;
|
||||
}
|
||||
}
|
||||
|
||||
if (strProjectPlatform.Find(_T("[ati")) != wxNOT_FOUND) {
|
||||
bProjectSupportsATIGPU = true;
|
||||
if ((pDoc->state.have_ati) && (strClientPlatform == strRootProjectPlatform)) {
|
||||
bProjectSupportsATIGPU = true;
|
||||
bSupportedPlatformFound = true;
|
||||
}
|
||||
}
|
||||
|
||||
if (strProjectPlatform.Find(_T("[mt")) != wxNOT_FOUND) {
|
||||
bProjectSupportsMulticore = true;
|
||||
if (strClientPlatform == strRootProjectPlatform) {
|
||||
if ((pDoc->host.p_ncpus >= 4) && (strClientPlatform == strRootProjectPlatform)) {
|
||||
bProjectSupportsMulticore = true;
|
||||
bSupportedPlatformFound = true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue