Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/layerproto/
DLayerProtoParser.cpp41 const LayersProto& layersProto) { in generateLayerGlobalInfo() argument
43 layerGlobal.resolution = {layersProto.resolution().w(), layersProto.resolution().h()}; in generateLayerGlobalInfo()
44 layerGlobal.colorMode = layersProto.color_mode(); in generateLayerGlobalInfo()
45 layerGlobal.colorTransform = layersProto.color_transform(); in generateLayerGlobalInfo()
46 layerGlobal.globalTransform = layersProto.global_transform(); in generateLayerGlobalInfo()
50 LayerProtoParser::LayerTree LayerProtoParser::generateLayerTree(const LayersProto& layersProto) { in generateLayerTree() argument
52 layerTree.allLayers = generateLayerList(layersProto); in generateLayerTree()
66 const LayersProto& layersProto) { in generateLayerList() argument
71 layerList.reserve(layersProto.layers_size()); in generateLayerList()
72 layerMap.reserve(layersProto.layers_size()); in generateLayerList()
[all …]
/frameworks/native/services/surfaceflinger/tests/
DStress_test.cpp51 surfaceflinger::LayersProto layersProto; in generateLayerProto() local
54 layers[i] = layersProto.add_layers(); in generateLayerProto()
94 return layersProto; in generateLayerProto()
102 surfaceflinger::LayersProto layersProto = generateLayerProto(); in TEST() local
103 auto layerTree = surfaceflinger::LayerProtoParser::generateLayerTree(layersProto); in TEST()
/frameworks/native/services/surfaceflinger/layerproto/include/layerproto/
DLayerProtoParser.h139 static const LayerGlobal generateLayerGlobalInfo(const LayersProto& layersProto);
140 static LayerTree generateLayerTree(const LayersProto& layersProto);
144 static std::vector<Layer> generateLayerList(const LayersProto& layersProto);
/frameworks/native/services/surfaceflinger/
DLayerStats.cpp93 void LayerStats::logLayerStats(const LayersProto& layersProto) { in logLayerStats() argument
96 auto layerGlobal = LayerProtoParser::generateLayerGlobalInfo(layersProto); in logLayerStats()
97 auto layerTree = LayerProtoParser::generateLayerTree(layersProto); in logLayerStats()
DLayerStats.h34 void logLayerStats(const LayersProto& layersProto);
DSurfaceFlinger.cpp4666 LayersProto layersProto = dumpProtoFromMainThread(); in doDump() local
4668 result.append(layersProto.SerializeAsString().c_str(), layersProto.ByteSize()); in doDump()
4670 auto layerTree = LayerProtoParser::generateLayerTree(layersProto); in doDump()
4916 LayersProto layersProto; in dumpDrawingStateProto() local
4918 LayerProto* layerProto = layersProto.add_layers(); in dumpDrawingStateProto()
4923 return layersProto; in dumpDrawingStateProto()
4927 LayersProto layersProto; in dumpProtoFromMainThread() local
4928 postMessageSync(new LambdaMessage([&]() { layersProto = dumpDrawingStateProto(traceFlags); })); in dumpProtoFromMainThread()
4929 return layersProto; in dumpProtoFromMainThread()
4934 LayersProto layersProto; in dumpVisibleLayersProtoInfo() local
[all …]