Home
last modified time | relevance | path

Searched refs:layersProto (Results 1 – 8 of 8) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/
DStress_test.cpp55 perfetto::protos::LayersProto layersProto; in generateLayerProto() local
58 layers[i] = layersProto.add_layers(); in generateLayerProto()
98 return layersProto; in generateLayerProto()
106 perfetto::protos::LayersProto layersProto = generateLayerProto(); in TEST() local
107 auto layerTree = surfaceflinger::LayerProtoParser::generateLayerTree(layersProto); in TEST()
/frameworks/native/services/surfaceflinger/layerproto/
DLayerProtoParser.cpp41 const perfetto::protos::LayersProto& layersProto) { in generateLayerTree() argument
43 layerTree.allLayers = generateLayerList(layersProto); in generateLayerTree()
57 const perfetto::protos::LayersProto& layersProto) { in generateLayerList() argument
62 layerList.reserve(layersProto.layers_size()); in generateLayerList()
63 layerMap.reserve(layersProto.layers_size()); in generateLayerList()
64 for (int i = 0; i < layersProto.layers_size(); i++) { in generateLayerList()
65 layerList.emplace_back(generateLayer(layersProto.layers(i))); in generateLayerList()
71 for (int i = 0; i < layersProto.layers_size(); i++) { in generateLayerList()
72 updateChildrenAndRelative(layersProto.layers(i), layerMap); in generateLayerList()
/frameworks/native/services/surfaceflinger/layerproto/include/layerproto/
DLayerProtoParser.h134 static LayerTree generateLayerTree(const perfetto::protos::LayersProto& layersProto);
138 static std::vector<Layer> generateLayerList(const perfetto::protos::LayersProto& layersProto);
/frameworks/native/services/surfaceflinger/Tracing/tools/
DLayerTraceGenerator.cpp163 auto layersProto = in generate() local
172 *snapshotProto.mutable_layers() = std::move(layersProto); in generate()
/frameworks/native/services/surfaceflinger/
DLayer.h650 perfetto::protos::LayerProto* writeToProto(perfetto::protos::LayersProto& layersProto,
DLayer.cpp2175 perfetto::protos::LayerProto* Layer::writeToProto(perfetto::protos::LayersProto& layersProto, in writeToProto() argument
2177 perfetto::protos::LayerProto* layerProto = layersProto.add_layers(); in writeToProto()
2188 layer->writeToProto(layersProto, traceFlags); in writeToProto()
DSurfaceFlinger.h1185 void dumpOffscreenLayersProto(perfetto::protos::LayersProto& layersProto,
DSurfaceFlinger.cpp6371 perfetto::protos::LayersProto layersProto = dumpProtoFromMainThread(); in doDump() local
6372 layersTrace->mutable_layers()->Swap(&layersProto); in doDump()
6756 void SurfaceFlinger::dumpOffscreenLayersProto(perfetto::protos::LayersProto& layersProto, in dumpOffscreenLayersProto() argument
6760 perfetto::protos::LayerProto* rootProto = layersProto.add_layers(); in dumpOffscreenLayersProto()
6771 auto* layerProto = offscreenLayer->writeToProto(layersProto, traceFlags); in dumpOffscreenLayersProto()