summaryrefslogtreecommitdiff
path: root/opengl/java/android/opengl/Texture.java
diff options
context:
space:
mode:
authorChet Haase <chet@google.com>2011-11-09 17:48:54 -0800
committerChet Haase <chet@google.com>2011-11-10 07:55:47 -0800
commit532147b308580ec6360dba4c19c41bf4708bfd93 (patch)
tree66e344678557fe125c1269ad6568d2daecbd49b2 /opengl/java/android/opengl/Texture.java
parenteae6c9972d91b9af58c3bf7ba0235c0a3e95c408 (diff)
increase the rate at which we dispatch events.
Previously, the input dispatch rate was capped by default to 55. This worked fine for systems with a refresh rate of 55 or lower. But on devices with a higher frame rate (such as stingray at 60 fps), we do not receive events as fast as the rendering system wants to redraw the frames, so we would occasionally miss events between frames, resulting in a visual stutter during drag operations where the dragged object would essentially stay still for a frame. This fix increases the default rate to 90, or 1.5 times the highest typical refresh rate of our devices. Change-Id: Id8622185b3da93f9f6505157d2e6f3f33e36bd04
Diffstat (limited to 'opengl/java/android/opengl/Texture.java')
0 files changed, 0 insertions, 0 deletions