Commit 47d2988
zhengchuanlong
Fix the issue of screen flashing when adjusting ambient light when playing HDR video.
Bug:360380695
Test:Manual
The comparison operation comment of the LayerSettings.h file describes "Keep in sync with custom comparison function in compositionengine/impl/ClientCompositionRequestCache.cpp". However, for the comparison of LayerSetting, white point value comparison is added in LayerSettings.h, but not in ClientCompositionRequestCache.cpp, which makes the HDR video dimming cache ineffective and causes screen flickering.
Change-Id: I54d230ddf176660c5e83f771a59154debce7f541
Signed-off-by: zhengchuanlong <zhengchuanlong@xiaomi.com>1 parent 6ff1302 commit 47d2988
1 file changed
Lines changed: 2 additions & 1 deletion
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| |||
0 commit comments