From 8da726aa132111df0e644d672c8928c352d2fa44 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Mon, 20 Aug 2007 19:54:42 +0000 Subject: [PATCH] SCR: Only choose applications that are currently being exected. Win SCR: Update screensaver logo. Win SCR: Reduce the amount of time the screensaver is stuck in startup mode from 10 secs down to 2 secs. It still takes a second or two to download state information from the CC. clientscr/ screensaver.cpp screensaver_win.cpp clientscr/res/ boinc.bmp svn path=/trunk/boinc/; revision=13417 --- checkin_notes | 14 ++++++++++++++ clientscr/res/boinc.bmp | Bin 75054 -> 75054 bytes clientscr/screensaver.cpp | 8 ++++++++ clientscr/screensaver_win.cpp | 5 +++-- 4 files changed, 25 insertions(+), 2 deletions(-) diff --git a/checkin_notes b/checkin_notes index f2f2d75306..502449f1a6 100755 --- a/checkin_notes +++ b/checkin_notes @@ -8010,3 +8010,17 @@ Rytis 20 Aug 2007 user/ forum_pm.php white.css + +Rom 20 Aug 2007 + SCR: Only choose applications that are currently being + exected. + Win SCR: Update screensaver logo. + Win SCR: Reduce the amount of time the screensaver is stuck in startup mode + from 10 secs down to 2 secs. It still takes a second or two to download + state information from the CC. + + clientscr/ + screensaver.cpp + screensaver_win.cpp + clientscr/res/ + boinc.bmp diff --git a/clientscr/res/boinc.bmp b/clientscr/res/boinc.bmp index d2b372361baa0b7f527a8f06f632013c6265c688..2a00711d6c99d678ffc7b84a935689faa3b3e40b 100644 GIT binary patch literal 75054 zcmeI5U8p5T5y$U>ulgnmLQsewuqeR?K@gQiB1$Bng02t*SA=yTBC9Cz0|^AwKs1Va zA4G{?2x1iSAQ8j|UGowYMF`|kgD5PrvKV7DTz_{9%G#=$o;l~9Gw0l%TIODQ`t)>n z)vy26HFM9NbM76ldHI=x1EpAbjrSsBx>AZgrl+H`%{jc&xZQZG{rSsBx>AZgr zl+H`%{jc(Li(6D>>AZAaI`7{DrSsBx|EqjaTX$+~>AZAaI`7{DrSsBx|EoOR;ucj| zIxn4<&inU3>AZB_|0-Y9)}0y~bpFuAg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Aez-e1bnYAzrJJj{WZuuvaqicK3yb_+f6hD@;umNtbim=_x&EYxqS zLg+)EtfL$Lm7PL`wUIBF7aMb^Jb;+EO>h3(U%RyT`4$#lh3UUwUJ{r?wWj2kAfxek z^F*PVKdHzsn3oXdKvk<;8Lh9s`lR4h$jleaOAhla5{cJ16sq}?iu^C|_(>@&e`YR{ z?fED86rO&;yyWWnr+}v_Jbc0Y3+4)5(p1HCzNGmNY2Zse|5DGt)br0@1BCn!VT>b* diff --git a/clientscr/screensaver.cpp b/clientscr/screensaver.cpp index c59afe6c2a..0f3857ba1a 100644 --- a/clientscr/screensaver.cpp +++ b/clientscr/screensaver.cpp @@ -33,8 +33,16 @@ // NOTE: Right now it just selects the first graphics app // found. RESULT* random_graphics_app(RESULTS& results) { + bool bIsActive = false; + bool bIsExecuting = false; + bool bIsDownloaded = false; + for (unsigned i=0; i < results.results.size(); i++) { if (results.results[i]->graphics_exec_path.size() > 0) { + bIsDownloaded = (RESULT_FILES_DOWNLOADED == results.results[i]->state); + bIsActive = (results.results[i]->active_task); + bIsExecuting = (CPU_SCHED_SCHEDULED == results.results[i]->scheduler_state); + if (!(bIsActive) || !(bIsDownloaded) || !(bIsExecuting)) continue; return results.results[i]; } } diff --git a/clientscr/screensaver_win.cpp b/clientscr/screensaver_win.cpp index 815b712f56..dde7901710 100755 --- a/clientscr/screensaver_win.cpp +++ b/clientscr/screensaver_win.cpp @@ -1013,7 +1013,7 @@ DWORD WINAPI CScreensaver::DataManagementProc() { tThreadCreateTime = time(0); while(1) { - bScreenSaverStarting = (10 >= (time(0) - tThreadCreateTime)); + bScreenSaverStarting = (2 >= (time(0) - tThreadCreateTime)); BOINCTRACE(_T("CScreensaver::DataManagementProc - ErrorMode = '%d', ErrorCode = '%x'\n"), m_bErrorMode, m_hrError); @@ -1659,6 +1659,7 @@ VOID CScreensaver::UpdateErrorBox() { if (dwTimeLast == 0) { dwTimeLast = timeGetTime(); } + dwTimeNow = timeGetTime(); fTimeDelta = (FLOAT)(dwTimeNow - dwTimeLast) / 10000.0f; dwTimeLast = dwTimeNow; @@ -1726,7 +1727,7 @@ VOID CScreensaver::UpdateErrorBox() { (INT)(pMonitorInfo->xError + pMonitorInfo->widthError), (INT)(pMonitorInfo->yError + pMonitorInfo->heightError)); - if ((dwTimeNow - pMonitorInfo->dwTimeLastUpdate) > 10000) + if ((dwTimeNow - pMonitorInfo->dwTimeLastUpdate) > 1000) { pMonitorInfo->dwTimeLastUpdate = dwTimeNow;