Searched refs:displayProto (Results 1 – 2 of 2) sorted by relevance
468 auto displayProto = displays.Add(); in writeDisplayInfoToProto() local469 displayProto->set_id(displayInfo.info.displayId.val()); in writeDisplayInfoToProto()470 displayProto->set_layer_stack(layerStack.id); in writeDisplayInfoToProto()471 displayProto->mutable_size()->set_w(displayInfo.info.logicalWidth); in writeDisplayInfoToProto()472 displayProto->mutable_size()->set_h(displayInfo.info.logicalHeight); in writeDisplayInfoToProto()473 writeTransformToProto(displayInfo.transform, displayProto->mutable_transform()); in writeDisplayInfoToProto()474 displayProto->set_is_virtual(displayInfo.isVirtual); in writeDisplayInfoToProto()
6729 perfetto::protos::DisplayProto* displayProto = displays.Add(); in dumpDisplayProto() local6730 displayProto->set_id(display->getId().value); in dumpDisplayProto()6731 displayProto->set_name(display->getDisplayName()); in dumpDisplayProto()6732 displayProto->set_layer_stack(display->getLayerStack().id); in dumpDisplayProto()6736 displayProto->set_dpi_x(dpi.x); in dumpDisplayProto()6737 displayProto->set_dpi_y(dpi.y); in dumpDisplayProto()6741 [&]() { return displayProto->mutable_size(); }); in dumpDisplayProto()6743 return displayProto->mutable_layer_stack_space_rect(); in dumpDisplayProto()6746 displayProto->mutable_transform()); in dumpDisplayProto()6747 displayProto->set_is_virtual(display->isVirtual()); in dumpDisplayProto()