diff options
| author | 2020-02-27 22:40:27 +0800 | |
|---|---|---|
| committer | 2020-03-01 14:41:51 +0000 | |
| commit | c7812be6375a2a9f2c7db1e5f0015d452721d9c2 (patch) | |
| tree | 69e7f7932efe4033935594870d4e75a2db437481 /vulkan/libvulkan/api.cpp | |
| parent | 2e2bb5b89ccd8e3f7023a13a846d32329f9ee645 (diff) | |
Pass source to dispatchBatchedInputEventPending (2/2)
The API requestUnbufferedDispatch allow View could receive the event in
unbuffered way. But doing processUnbufferedRequest in onInputEvent is
too late for the first event. Instead, we should pass the source of
the input event up to dispatchBatchedInputEventPending, and then we can
use that to determine whether we could consume event immediately or not.
Bug: 149715123
Test: atest ViewUnbufferedTest
Change-Id: I9cd6f76cc3ba74647b57036b3f4979efa8751b95
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions