Getting event's time

New Message Reply Date view Thread view Subject view Author view

Salvador Bayarri. Univ. Valencia (Salvador.Bayarri++at++uv.es)
Mon, 24 Nov 1997 20:14:42 GMT


   Hi, Performer world.

   My point is the following one. I would like to get accurate timing
 information about user events, especially about key strokes, and also
 about the precise moment where the user can start seeing a new frame,
 that is, the time when the new frame is actually presented in the
 display.

   In the first case, the device events, I wonder if there is in
 the GL or X system any function to directly check the state of the device,
 like there was the 'Boolean getbutton(device)' function in IRIS GL.
 In that case I could perform a periodic checking with the desired
 time accuracy.
 Otherwise, is there any timing information associated to events in
 OpenGL or X events that can be retrieved?

   Concerning the new visible frame timing, I'm aware that the new frame
 becomes visible at one of the video updates, but I don't see any easy way
 to know exactly which of them and associate time information to it.

   Any information or reference would be appreciated for ever...

   Salva

----------------------------------------------------
Dr.Salvador Bayarri
Dept.Informatica y Electronica. Grupo de Gráficos 3D.
Instituto de Trafico y Seguridad Vial (INTRAS)
Universitat de Valencia
e-mail: Salvador.Bayarri++at++uv.es
Ph: +34 6 3601472
Fax: +34 6 3607366
--------------------------------------------------

===================================List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:56:15 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.