Home
last modified time | relevance | path

Searched refs:regionProto (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/services/surfaceflinger/
DLayerProtoHelper.h51 static void writeToProto(const Region& region, perfetto::protos::RegionProto* regionProto);
52 static void readFromProto(const perfetto::protos::RegionProto& regionProto, Region& outRegion);
DLayerProtoHelper.cpp64 perfetto::protos::RegionProto* regionProto) { in writeToProto() argument
73 writeToProto(*head, regionProto->add_rect()); in writeToProto()
78 void LayerProtoHelper::readFromProto(const perfetto::protos::RegionProto& regionProto, in readFromProto() argument
80 for (int i = 0; i < regionProto.rect_size(); i++) { in readFromProto()
82 readFromProto(regionProto.rect(i), rect); in readFromProto()
/frameworks/native/services/surfaceflinger/layerproto/
DLayerProtoParser.cpp126 const perfetto::protos::RegionProto& regionProto) { in generateRegion() argument
128 for (int i = 0; i < regionProto.rect_size(); i++) { in generateRegion()
129 const perfetto::protos::RectProto& rectProto = regionProto.rect(i); in generateRegion()
/frameworks/native/services/surfaceflinger/layerproto/include/layerproto/
DLayerProtoParser.h141 const perfetto::protos::RegionProto& regionProto);