summaryrefslogtreecommitdiffstats
path: root/make/build-newt.xml
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-02-23 16:41:47 +0100
committerSven Gothel <[email protected]>2012-02-23 16:41:47 +0100
commit5b05aa83f57b7492b2705529033a7eaa09cf4463 (patch)
tree788e7a5d16ebce1a984f20f2b94faf96d5c62126 /make/build-newt.xml
parent352013de5564013fe2b6444e6469ef2886f1adb9 (diff)
NEWT: Add time costs in DEBUG mode. NEWT/XRandR: Reuse XRRScreenConfiguration to reduce perf hit on Linux ARM Omap4.
On Linux ARM Omap4, we experience a performance hit when using XRandR: 1st call of XRRSizes: ~ 1668 ms Each call of XRRGetScreenInfo: ~ 1109 ms Even though XRRGetScreenInfo is cached in NEWT's X11Screen initialization, overall init time is ~2s, far too expensive.
Diffstat (limited to 'make/build-newt.xml')
-rw-r--r--make/build-newt.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/build-newt.xml b/make/build-newt.xml
index 6e3d7b262..cc0688378 100644
--- a/make/build-newt.xml
+++ b/make/build-newt.xml
@@ -534,9 +534,9 @@
<patternset id="c.src.files.newt">
<include name="${rootrel.src.c}/NewtCommon.c" />
+ <!-- include name="${rootrel.src.c}/timespec.c" /--> <!-- currently used for X11 and OSX with special PERF DEBUG MODE-->
<include name="${rootrel.src.c}/WindowsWindow.c" if="isWindows"/>
<include name="${rootrel.src.c}/*.m" if="isOSX"/>
- <!-- include name="${rootrel.src.c}/timespec.c" if="isOSX"/--> <!-- currently only used for OSX with special PERF DEBUG MODE-->
<include name="${rootrel.src.c}/AndroidWindow.c" if="isAndroid"/>
<include name="${rootrel.src.c}/X11Display.c" if="isX11"/>
<include name="${rootrel.src.c}/X11Screen.c" if="isX11"/>