What are the cause(s) of input touch/display lag in android?
问题 I have a very simple app that render a square with opengl, input touch are read by the GLSurfaceView and last position is exchanged with the rendering thread using a volatile variable. What I observe (and as been also very well described in https://www.mail-archive.com/android-developers@googlegroups.com/msg235325.html) is that there is a delay (a lag) between the touch position and the display. When activating the developer option to show touch position, I see that when moving rapidly: the