summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorPrabir Pradhan <prabirmsp@google.com>2021-08-06 13:42:56 +0000
committerPrabir Pradhan <prabirmsp@google.com>2021-09-20 16:43:46 +0000
commit56e3f4e527045674f0307be1f45a9b6c5334518b (patch)
tree8bfd09f54d8b3c6740300de1beb012b306bcab41 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent72afe9d68249eff3ed2f68b59bf6029c564ba002 (diff)
Use sequence numbers to synchronize enabling Pointer Capture (2/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: I52eb7493012d476664de45d2913ceefa23466a7c Change-Id: I52eb7493012d476664de45d2913ceefa23466a7c
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions