Searched refs:layersProto (Results 1 - 7 of 7) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/
H A DStress_test.cpp51 surfaceflinger::LayersProto layersProto; local
54 layers[i] = layersProto.add_layers();
94 return layersProto;
102 surfaceflinger::LayersProto layersProto = generateLayerProto(); local
103 auto layerTree = surfaceflinger::LayerProtoParser::generateLayerTree(layersProto);
/frameworks/native/services/surfaceflinger/layerproto/
H A DLayerProtoParser.cpp46 const LayersProto& layersProto) {
48 layerGlobal.resolution = {layersProto.resolution().w(), layersProto.resolution().h()};
49 layerGlobal.colorMode = layersProto.color_mode();
50 layerGlobal.colorTransform = layersProto.color_transform();
51 layerGlobal.globalTransform = layersProto.global_transform();
56 const LayersProto& layersProto) {
57 std::unordered_map<int32_t, LayerProtoParser::Layer*> layerMap = generateMap(layersProto);
73 const LayersProto& layersProto) {
76 for (int i = 0; i < layersProto
45 generateLayerGlobalInfo( const LayersProto& layersProto) argument
55 generateLayerTree( const LayersProto& layersProto) argument
72 generateMap( const LayersProto& layersProto) argument
[all...]
/frameworks/native/include/layerproto/
H A DLayerProtoParser.h129 static const LayerGlobal generateLayerGlobalInfo(const LayersProto& layersProto);
130 static std::vector<std::unique_ptr<Layer>> generateLayerTree(const LayersProto& layersProto);
134 static std::unordered_map<int32_t, Layer*> generateMap(const LayersProto& layersProto);
/frameworks/native/services/surfaceflinger/layerproto/include/layerproto/
H A DLayerProtoParser.h129 static const LayerGlobal generateLayerGlobalInfo(const LayersProto& layersProto);
130 static std::vector<std::unique_ptr<Layer>> generateLayerTree(const LayersProto& layersProto);
134 static std::unordered_map<int32_t, Layer*> generateMap(const LayersProto& layersProto);
/frameworks/native/services/surfaceflinger/
H A DLayerStats.h35 void logLayerStats(const LayersProto& layersProto);
H A DLayerStats.cpp93 void LayerStats::logLayerStats(const LayersProto& layersProto) { argument
96 auto layerGlobal = LayerProtoParser::generateLayerGlobalInfo(layersProto);
97 auto layerTree = LayerProtoParser::generateLayerTree(layersProto);
H A DSurfaceFlinger.cpp3933 LayersProto layersProto = dumpProtoInfo(LayerVector::StateSet::Current); local
3934 result.append(layersProto.SerializeAsString().c_str(), layersProto.ByteSize());
4131 LayersProto layersProto; local
4135 LayerProto* layerProto = layersProto.add_layers();
4139 return layersProto;
4143 LayersProto layersProto; local
4146 SizeProto* resolution = layersProto.mutable_resolution();
4150 layersProto.set_color_mode(decodeColorMode(displayDevice->getActiveColorMode()));
4151 layersProto
4232 LayersProto layersProto = dumpProtoInfo(LayerVector::StateSet::Current); local
[all...]

Completed in 63 milliseconds