summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@android.com>2011-05-24 11:23:27 -0700
committerJeff Brown <jeffbrown@android.com>2011-05-25 14:37:16 -0700
commitfa785531f7510e3dee799dd4b37279e1e04f4a81 (patch)
tree7de49efda81648d66c9dd7cb48843cb6a6740083 /opengl/tests/gl_basic/gl_basic.cpp
parentdaf2765b50a57d7c7afb1f36b9d4caa55a33b86c (diff)
Coalesce input events that arrive faster than 333Hz. (DO NOT MERGE)
Some drivers report individual finger updates one at a time instead of all at once. When 10 fingers are down, this can cause the framework to have to handle 10 times as many events each with 10 times as much data. Applications like PointerLocation would get significantly bogged down by all of the redundant samples. This change coalesces samples that are closely spaced in time, before they are dispatched, as part of the motion event batching protocol. Increased the size of the InputChannel shared memory buffer so that applications can catch up faster if they accumulate a backlog of samples. Change-Id: Ibc6abf8af027d9003011ac75caa12941080caba3
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions