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.cpp4557 LayersProto layersProto = dumpProtoInfo(LayerVector::StateSet::Current); in doDump() local
4558 result.append(layersProto.SerializeAsString().c_str(), layersProto.ByteSize()); in doDump()
4801 LayersProto layersProto; in dumpProtoInfo() local
4805 LayerProto* layerProto = layersProto.add_layers(); in dumpProtoInfo()
4809 return layersProto; in dumpProtoInfo()
4814 LayersProto layersProto; in dumpVisibleLayersProtoInfo() local
4816 SizeProto* resolution = layersProto.mutable_resolution(); in dumpVisibleLayersProtoInfo()
4823 layersProto.set_color_mode(decodeColorMode(displayState.colorMode)); in dumpVisibleLayersProtoInfo()
4824 layersProto.set_color_transform(decodeColorTransform(displayState.colorTransform)); in dumpVisibleLayersProtoInfo()
4825 layersProto.set_global_transform(displayState.orientation); in dumpVisibleLayersProtoInfo()
[all …]