summaryrefslogtreecommitdiffstats
path: root/src/newt/native/NewtMacWindow.m
diff options
context:
space:
mode:
authorSven Gothel <sgothel@jausoft.com>2012-01-13 16:13:40 +0100
committerSven Gothel <sgothel@jausoft.com>2012-01-13 16:13:40 +0100
commit48767a40c2461405dfce14e8d9eafbbab21d203e (patch)
tree3323739f3416eb5f8a00d6c10ac935ff6c6158b0 /src/newt/native/NewtMacWindow.m
parentd23b08203e32f8f50991a48132eb3c2236b4efc0 (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/NewtMacWindow.m')
0 files changed, 0 insertions, 0 deletions