[osg-users] High event times
Robert Osfield
robert.osfield at gmail.com
Sat Oct 31 11:02:24 PDT 2015
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 <Mathias.Froehlich at gmx.net>
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
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20151031/0cbba7af/attachment-0003.htm>
More information about the osg-users
mailing list