summaryrefslogtreecommitdiffstats
path: root/src/newt/native/BroadcomEGL.c
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-01-13 16:13:40 +0100
committerSven Gothel <[email protected]>2012-01-13 16:13:40 +0100
commit48767a40c2461405dfce14e8d9eafbbab21d203e (patch)
tree3323739f3416eb5f8a00d6c10ac935ff6c6158b0 /src/newt/native/BroadcomEGL.c
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/BroadcomEGL.c')
0 files changed, 0 insertions, 0 deletions