Mac SCR: Add a test to directly determine when a graphics application window obscures our moving logo animation; if so, stop showing moving logo to avoid wasting CPU cycles.

svn path=/trunk/boinc/; revision=14805
This commit is contained in:
Charlie Fenton 2008-02-27 03:23:10 +00:00
parent ec5ff1be99
commit db06f506dd
2 changed files with 5 additions and 0 deletions

View File

@ -1679,3 +1679,6 @@ Charlie Feb 25 2008
mac_saver_module.cpp
Mac_Saver_Module.h
Mac_Saver_ModuleView.m,h
mac_build/
boinc.xcodeproj/
project.pbxproj

View File

@ -231,6 +231,7 @@
DDAEC9FF07FA5A5C00A7BC36 /* SetVersion.C in Sources */ = {isa = PBXBuildFile; fileRef = DDAEC9E707FA58A000A7BC36 /* SetVersion.C */; };
DDB693500ABFE9C600689FD8 /* procinfo_mac.C in Sources */ = {isa = PBXBuildFile; fileRef = DDB6934F0ABFE9C600689FD8 /* procinfo_mac.C */; };
DDB6E3EF0D5B27AA00ED12B8 /* Carbon.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 20286C33FDCF999611CA2CEA /* Carbon.framework */; };
DDB74A6C0D74259E00E97A40 /* AppKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DDFE854A0B60CFD0009B43D9 /* AppKit.framework */; };
DDB873990C85072500E0DE1F /* mac_saver_module.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DDB873960C85072500E0DE1F /* mac_saver_module.cpp */; };
DDB8739A0C85072500E0DE1F /* Mac_Saver_ModuleView.m in Sources */ = {isa = PBXBuildFile; fileRef = DDB873980C85072500E0DE1F /* Mac_Saver_ModuleView.m */; };
DDB873EE0C850BC800E0DE1F /* gutil.C in Sources */ = {isa = PBXBuildFile; fileRef = DD40825507D3076400163EF5 /* gutil.C */; };
@ -988,6 +989,7 @@
files = (
DD130E740820C422001A0291 /* ScreenSaver.framework in Frameworks */,
DDB6E3EF0D5B27AA00ED12B8 /* Carbon.framework in Frameworks */,
DDB74A6C0D74259E00E97A40 /* AppKit.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};