Home
last modified time | relevance | path

Searched refs:snapshotProto (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/services/surfaceflinger/Tracing/tools/
DLayerTraceGenerator.cpp168 perfetto::protos::LayersSnapshotProto snapshotProto{}; in generate() local
169 snapshotProto.set_vsync_id(entry.vsync_id()); in generate()
170 snapshotProto.set_elapsed_realtime_nanos(entry.elapsed_realtime_nanos()); in generate()
171 snapshotProto.set_where(visibleRegionsDirty ? "visibleRegionsDirty" : "bufferLatched"); in generate()
172 *snapshotProto.mutable_layers() = std::move(layersProto); in generate()
174 snapshotProto.set_excludes_composition_state(true); in generate()
176 *snapshotProto.mutable_displays() = std::move(displayProtos); in generate()
178 layerTracing.addProtoSnapshotToOstream(std::move(snapshotProto), in generate()
/frameworks/native/services/surfaceflinger/Tracing/
DLayerTracing.cpp199 auto* snapshotProto = packet->set_surfaceflinger_layers_snapshot(); in writeSnapshotToPerfetto() local
200 snapshotProto->AppendRawProtoBytes(snapshotBytes.data(), snapshotBytes.size()); in writeSnapshotToPerfetto()