Hi Mathias, I have had a look at the revision and vaguely remember hunting double a long time troublesome bug, but can't recall the details of the recreating the bug off hand. I'd have to look up what stuff I was doing around March this year. The r14805 commit message was "Fixed resize dimensions of X11 window".
At a guess, perhaps we can just do this check when we suspect a resize. What are the event times you are seeing? What platform are you testing on? Robert. On 31 October 2015 at 16:28, Mathias Fröhlich <[email protected]> wrote: > > > 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 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

