diff options
| author | 2024-11-18 02:37:20 +0000 | |
|---|---|---|
| committer | 2024-11-20 00:40:40 +0000 | |
| commit | 081ed30648328dc465b50ff4db4df892aa8b1d4d (patch) | |
| tree | 0d9d97ab042f7a8bb103dcaa6753db381eb805c0 /libs/gui/BLASTBufferQueue.cpp | |
| parent | b9bbaadf952047242ddd34619806a408b0add9d3 (diff) | |
Remove the extra parameters in onCommitNotComposited
The PhysicalDisplayId parameter of the onCommitNotComposited function is passed by value. PhysicalDisplayId is a structure, but the parameter value is never used inside the onCommitNotComposited function, which will cause a certain amount of memory waste. You can remove this parameter first, or change it to reference passing. (But reference passing here should not be necessary).
Signed-off-by:
Shuangxi Xiang <xiangshuangxi@xiaomi.corp-partner.google.com>
Change-Id: I996351c8224c286f204975955e5fbbbb52d44e61
Diffstat (limited to 'libs/gui/BLASTBufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions