[osg-users] High event times
Mathias Fröhlich
Mathias.Froehlich at gmx.net
Sat Oct 31 09:28:22 PDT 2015
Hi Robert,
I am currently tracking higher than expected event times as displayed
in the stats HUD with an application of mine.
It turns out that we gained one or more round trips to the X server
with change 14805. There is a call to XGetWindowAttributes and XTranslateCoordinates
introduced unconditionally on each frame.
Do you remember what problem is solved with this part of new code?
I just did a quick test here by just disabling the new code lines roughly at
line GraphicsWindowX11.cpp:1555. Removing these 4 lines did not change anything
in the behavior of my application with respect to resizing/moving/? so far.
Well, except that removing this did bring back the short event times that
I had before.
I wonder if this is really required?
At least if this is required unconditionally on each frame?
May be we can reduce execution of this two calls to the case
when a ConfigureNoify event is received before?
Thanks
Mathias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20151031/11e24aed/attachment-0002.htm>
More information about the osg-users
mailing list