diff options
| author | 2019-03-11 15:53:11 -0700 | |
|---|---|---|
| committer | 2019-03-13 15:11:01 -0700 | |
| commit | f0497270f6cf378d0d8b3517a6cdd76bf61bd6ae (patch) | |
| tree | f15b3a7456c57ca89a56c8dd7681abd6b0a6b16f /services/surfaceflinger/RegionSamplingThread.cpp | |
| parent | dd50a3cf4c9f41bf0e4952246cd559da5cfb503a (diff) | |
Add locking within RenderEngine during rendering
Multiple threads are allowed to access RenderEngine, which poses several
issues:
1. The image cache needs to be synchronized
2. It's theoretically possible for a thread other than the SF
main-thread to call drawLayers, which can cause undesirable behavior.
Bug: 128306587
Test: manual tests
Change-Id: Ic18b71924aa3c4d72f02f95ebf928257fb9e50ed
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
0 files changed, 0 insertions, 0 deletions