mirror of https://github.com/BOINC/boinc.git
- graphics API: default max graphics CPU fraction is 0.2
(see accompanying changes in example app; app should parse project-specific prefs) svn path=/trunk/boinc/; revision=14635
This commit is contained in:
parent
60c56c9e0a
commit
5efd1cf38a
|
@ -26,7 +26,9 @@
|
|||
#include "graphics2.h"
|
||||
|
||||
double boinc_max_fps = 30.;
|
||||
double boinc_max_gfx_cpu_frac;
|
||||
double boinc_max_gfx_cpu_frac = 0.2;
|
||||
// needs to be fairly low. Graphics apps run at normal priority,
|
||||
// so they can prevent main app from getting any time
|
||||
|
||||
bool throttled_app_render(int x, int y, double t) {
|
||||
static double total_render_time = 0;
|
||||
|
|
|
@ -862,3 +862,11 @@ Charlie Jan 29 2008
|
|||
ViewProjectsGrid.cpp
|
||||
ViewWork.cpp
|
||||
ViewWorkGrid.cpp
|
||||
|
||||
David Jan 20 2008
|
||||
- graphics API: default max graphics CPU fraction is 0.2
|
||||
(see accompanying changes in example app;
|
||||
app should parse project-specific prefs)
|
||||
|
||||
api/
|
||||
graphics2.C
|
||||
|
|
BIN
doc/ogm.png
BIN
doc/ogm.png
Binary file not shown.
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 9.9 KiB |
Loading…
Reference in New Issue