commit | 628ef6ec39d08666745d4aafc39db3422e2dfec0 | [log] [tgz] |
---|---|---|
author | Sally Qi <sallyqi@google.com> | Thu Mar 30 14:49:03 2023 -0700 |
committer | Sally Qi <sallyqi@google.com> | Tue Apr 04 13:50:00 2023 -0700 |
tree | 682000702117ad8af86c43524a4ccda44c739abd | |
parent | d6e0bae884ce7599a4a712c3c8703b93ffc406d2 [diff] |
Fix tone shift issue when switching between GPU and DPU composition. - This fixes the issue that extended layer gets crushed in Adaptive mode. - When playing with extended HDR api in Adaptive mode, dim in gamma space and convert transfer to gamma22 to get a `OETF_gamma22(EOTF_sRGB(color))` SkRuntimeEffect. Bug: 267530123 Test: play extended HDR on SilkFx and toggle between GPU/DPU composition. Change-Id: I029c86ea98969d736a72b9099d8e457006d9db38