summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
diff options
context:
space:
mode:
authorPrabir Pradhan <prabirmsp@google.com>2021-08-06 14:01:18 +0000
committerPrabir Pradhan <prabirmsp@google.com>2021-09-20 16:43:46 +0000
commitf192a1085a4ea16458a8cc569e945bf090375733 (patch)
treed38342e9f6e515cdfab6900338e819417ab1cb76 /opengl/tests/gl_basic/gl_basic.cpp
parent4095348d8f6d5472289eecebe03ecd667684c247 (diff)
Use sequence numbers to synchronize enabling Pointer Capture (1/2)
InputReader only processes configuration change from its main thread. This means that if there is more than one Pointer Capture change request when the thread is busy or sleeping, it will only process the latest one. To ensure requests to enable Pointer Capture are synchronized with Dispatcher, we must use sequence numbers. Requests to enable Pointer Capture have a sequence number. Requests to disable Pointer Capture do not have a value. Bug: 195312888 Test: atest inputflinger_tests Test: manual with GeforceNow app, see bug. Merged-In: I6ae9c5498dc2f783b4c7211fa3665d42e29d2919 Change-Id: I6ae9c5498dc2f783b4c7211fa3665d42e29d2919
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions