From: Pauli Nieminen <[email protected]> This reduces about 1us runtime for each main loop iteration on ARM.
Signed-off-by: Pauli Nieminen <[email protected]> --- hw/dmx/dmxsync.c | 9 +-------- 1 files changed, 1 insertions(+), 8 deletions(-) diff --git a/hw/dmx/dmxsync.c b/hw/dmx/dmxsync.c index 2c7ccb8..a9680af 100644 --- a/hw/dmx/dmxsync.c +++ b/hw/dmx/dmxsync.c @@ -99,11 +99,6 @@ static void dmxSyncBlockHandler(pointer blockData, OSTimePtr pTimeout, TimerForce(dmxSyncTimer); } -static void dmxSyncWakeupHandler(pointer blockData, int result, - pointer pReadMask) -{ -} - /** Request the XSync() batching optimization with the specified \a * interval (in mS). If the \a interval is 0, 100mS is used. If the \a * interval is less than 0, then the XSync() batching optimization is @@ -124,9 +119,7 @@ void dmxSyncActivate(const char *interval) void dmxSyncInit(void) { if (dmxSyncInterval) { - RegisterBlockAndWakeupHandlers(dmxSyncBlockHandler, - dmxSyncWakeupHandler, - NULL); + RegisterBlockHandler(dmxSyncBlockHandler, NULL); dmxLog(dmxInfo, "XSync batching with %d ms interval\n", dmxSyncInterval); } else { -- 1.7.0.4 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
