ecore-x-vsync - rearragnge to move vsync event input to thread
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Sat, 2 Aug 2014 03:03:35 +0000 (12:03 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Sat, 2 Aug 2014 03:03:35 +0000 (12:03 +0900)
commitb0d4793d6fdbc1e7568ab9f913144fc711a9d312
tree0f4d16146c908f6dd0015bcf888724e353dd770e
parent87311806c99a050a6667042e08a01d06d5ee6c0e
ecore-x-vsync - rearragnge to move vsync event input to thread

this uses a thread to collect vsync input events and filter them
before forwarding them to the mainloop (as a double timestamp). this
means wakeups only happen for the actual vsync and thus animator and
not for other screens we are filtering out anyway. this should fix the
continual animator wakeups that happen if you have a dri/drm based
driver and > 1 screen.
src/lib/ecore_x/xlib/ecore_x_vsync.c