commit | 196b0f209fd0cbc9133e6d87faf99f3faf2fb22a | [log] [tgz] |
---|---|---|
author | Alec Mouri <alecmouri@google.com> | Fri Mar 04 22:13:48 2022 +0000 |
committer | Alec Mouri <alecmouri@google.com> | Thu Mar 17 00:03:12 2022 +0000 |
tree | c40c76b990064013474b0fa5a5b9846877b428ca | |
parent | aedf10c2d5dbb93a75988920dc95f7afa7c631ab [diff] |
Tweak libtonemap's CPU interface to support batching. This is in response to feedback that utilizing the tonemap api to generate a LUT may require more CPU cycles as common parameters describing the tone-mapping curve must be regenerated. Support this by taking in a list of colors, rather than a single color, so that a LUT can be one-shot computed. Bug: 200310159 Test: librenderengine_test Change-Id: I4b9ef8ef6bd95eb25aedd2b16268dc6e58828208