Searched refs:layersProto (Results 1 – 8 of 8) sorted by relevance
55 perfetto::protos::LayersProto layersProto; in generateLayerProto() local58 layers[i] = layersProto.add_layers(); in generateLayerProto()98 return layersProto; in generateLayerProto()106 perfetto::protos::LayersProto layersProto = generateLayerProto(); in TEST() local107 auto layerTree = surfaceflinger::LayerProtoParser::generateLayerTree(layersProto); in TEST()
41 const perfetto::protos::LayersProto& layersProto) { in generateLayerTree() argument43 layerTree.allLayers = generateLayerList(layersProto); in generateLayerTree()57 const perfetto::protos::LayersProto& layersProto) { in generateLayerList() argument62 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()
134 static LayerTree generateLayerTree(const perfetto::protos::LayersProto& layersProto);138 static std::vector<Layer> generateLayerList(const perfetto::protos::LayersProto& layersProto);
163 auto layersProto = in generate() local172 *snapshotProto.mutable_layers() = std::move(layersProto); in generate()
650 perfetto::protos::LayerProto* writeToProto(perfetto::protos::LayersProto& layersProto,
2175 perfetto::protos::LayerProto* Layer::writeToProto(perfetto::protos::LayersProto& layersProto, in writeToProto() argument2177 perfetto::protos::LayerProto* layerProto = layersProto.add_layers(); in writeToProto()2188 layer->writeToProto(layersProto, traceFlags); in writeToProto()
1185 void dumpOffscreenLayersProto(perfetto::protos::LayersProto& layersProto,
6371 perfetto::protos::LayersProto layersProto = dumpProtoFromMainThread(); in doDump() local6372 layersTrace->mutable_layers()->Swap(&layersProto); in doDump()6756 void SurfaceFlinger::dumpOffscreenLayersProto(perfetto::protos::LayersProto& layersProto, in dumpOffscreenLayersProto() argument6760 perfetto::protos::LayerProto* rootProto = layersProto.add_layers(); in dumpOffscreenLayersProto()6771 auto* layerProto = offscreenLayer->writeToProto(layersProto, traceFlags); in dumpOffscreenLayersProto()