mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=9660
This commit is contained in:
parent
ae01b962ea
commit
eb6b058ddf
|
@ -2879,3 +2879,12 @@ Charlie 16 Mar 2006
|
|||
|
||||
api/
|
||||
boinc_api.h
|
||||
|
||||
Rom 16 Mar 2006
|
||||
- Bug Fix: If we detect a condition in which we really can't display
|
||||
graphics, then we should notifity the GUI's that graphics are
|
||||
enabled via the ACTIVE_TASK::write function.
|
||||
|
||||
client/
|
||||
app.C
|
||||
client_state.C, .h
|
||||
|
|
|
@ -352,7 +352,7 @@ int ACTIVE_TASK::write(MIOFILE& fout) {
|
|||
vm_bytes,
|
||||
rss_bytes
|
||||
);
|
||||
if (supports_graphics()) {
|
||||
if (supports_graphics() && !gstate.disable_graphics) {
|
||||
fout.printf(
|
||||
" <supports_graphics/>\n"
|
||||
" <graphics_mode_acked>%d</graphics_mode_acked>\n",
|
||||
|
|
|
@ -97,6 +97,7 @@ CLIENT_STATE::CLIENT_STATE() {
|
|||
pers_giveup = PERS_GIVEUP;
|
||||
executing_as_daemon = false;
|
||||
redirect_io = false;
|
||||
disable_graphics = false;
|
||||
work_fetch_no_new_work = false;
|
||||
cpu_earliest_deadline_first = false;
|
||||
|
||||
|
@ -218,6 +219,7 @@ int CLIENT_STATE::init() {
|
|||
msg_printf(NULL, MSG_INFO,
|
||||
"No application graphics will be available."
|
||||
);
|
||||
disable_graphics = true;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
@ -160,6 +160,11 @@ public:
|
|||
// or as a service on Windows
|
||||
bool redirect_io;
|
||||
// redirect stdout, stderr to log files
|
||||
bool disable_graphics;
|
||||
// a condition has ocurred in which we know graphics will
|
||||
// not be able to be displayed for the user. So the
|
||||
// manager and any other application should disable the
|
||||
// ability to request graphics in the UI.
|
||||
bool detach_console;
|
||||
double now;
|
||||
const char* platform_name;
|
||||
|
|
Loading…
Reference in New Issue