diff options
| author | 2023-08-19 15:00:13 -0700 | |
|---|---|---|
| committer | 2023-08-21 08:27:33 -0700 | |
| commit | 854ce1c4a87980c79025a9c958911ce35015eb34 (patch) | |
| tree | e6d99a35ce4e9d294fb382101d1627c4aa738522 /libs/ultrahdr/jpegencoderhelper.cpp | |
| parent | 606d9d074646c04bd966ccd752ade0b796748216 (diff) | |
[sf] Set visible regions change flag when layer starts drawing
If a layer state changes so it has a buffer or an effect like
color then, update the flags to indicate that visiblity of a
snapshot has changed. This will mark the visible regions
flag in CE args and force CE to rebuild its layer stack.
Without this flag, there was a scenario where CE
would get a null snapshot and crash.
Also crash early with traces if we ever pass a null snapshot to
CE.
Test: presubmit
Bug: 238781169, 295069311, 294889236
Change-Id: I355502fbe7f1be38c46a5ed25233b6b07c6b4eeb
Diffstat (limited to 'libs/ultrahdr/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions