summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author Nataniel Borges <natanieljr@google.com> 2019-02-15 13:22:03 -0800
committer Nataniel Borges <natanieljr@google.com> 2019-02-15 14:14:36 -0800
commitdcc0bab76dbf3156f18e4dd2697aa7220ad7a8e0 (patch)
tree424d16952f49ace60e955ca3353f0f14dc23f3ae /libs/gui/BufferQueueThreadState.cpp
parent27eb509e8ced462dbde1b5e171ab019282d9d048 (diff)
Update SF dump to use proto3
The C++ implementation of Proto2 writes default values to the protobuf object, whenever they are set in the app. That is, if we write 0 into an integer or float field, the protobuf writes the value 0 in the object. Proto3 skips default values, even if they are set. Changing from proto2 to proto3 reduces by ~20% the memory requirement for storing SF traces. It also allows default values to be ignored in Winscope Test: Record a SF trace. Flash a device. Record another SF trace. Check the trace size and/or open them in winscope version with "display defaults" unchecked. Change-Id: I69ff09d141f6f31f22a4f5fc90bf58cf222d9aae
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions