diff options
author | Sven Gothel <[email protected]> | 2012-01-13 16:13:40 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-01-13 16:13:40 +0100 |
commit | 48767a40c2461405dfce14e8d9eafbbab21d203e (patch) | |
tree | 3323739f3416eb5f8a00d6c10ac935ff6c6158b0 /src/newt/native/X11Common.h | |
parent | d23b08203e32f8f50991a48132eb3c2236b4efc0 (diff) |
NEWT/OSX Performance Fix: Cache CGDisplayScreenSize() result, since it's ridiculous slow
Each call to CGDisplayScreenSize() took around 6ms (5ms .. 20ms, avrg 6ms)
which added up to ~2s for ~400 Screen modes.
Diffstat (limited to 'src/newt/native/X11Common.h')
0 files changed, 0 insertions, 0 deletions