diff options
| author | 2022-05-09 23:02:54 +0000 | |
|---|---|---|
| committer | 2022-06-03 20:44:58 +0000 | |
| commit | d3c595abee0ae0c3055bd877b02111171054ec33 (patch) | |
| tree | 184f4bbefd4451bfd97be5a1a94c27e9f30a1252 /libs/gui/BufferQueueThreadState.cpp | |
| parent | 5caafddc6ba268b60a3c3be97b39e073c342c295 (diff) | |
binder: Use variant for backend specific Parcel fields
This frees up some space to add RPC binder specific bookkeeping to
Parcel. `variant` has a size overhead of one pointer, but since there is
at least one pointer worth of fields in each case, it works out as an
overall win. We could probably do it cheaper by using a union and hiding
a bit field somewhere to indicate the active case, but that isn't
necessary yet.
Bug: 185909244
Test: TH
Change-Id: Id53ea0cbfe51b3246e6f9f1f3d9df7c8c193808e
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions