Lines Matching refs:Crtc
80 py::class_<Crtc, DrmPropObject, unique_ptr<Crtc, py::nodelete>>(m, "Crtc") in init_pykmsbase()
81 .def("set_mode", (int (Crtc::*)(Connector*, const Videomode&))&Crtc::set_mode) in init_pykmsbase()
82 .def("set_mode", (int (Crtc::*)(Connector*, Framebuffer&, const Videomode&))&Crtc::set_mode) in init_pykmsbase()
83 .def("disable_mode", &Crtc::disable_mode) in init_pykmsbase()
85 [](Crtc* self, Framebuffer& fb, uint32_t data) in init_pykmsbase()
89 .def("set_plane", &Crtc::set_plane) in init_pykmsbase()
90 .def_property_readonly("possible_planes", &Crtc::get_possible_planes) in init_pykmsbase()
91 .def_property_readonly("primary_plane", &Crtc::get_primary_plane) in init_pykmsbase()
92 .def_property_readonly("mode", &Crtc::mode) in init_pykmsbase()
93 .def_property_readonly("mode_valid", &Crtc::mode_valid) in init_pykmsbase()
94 .def("__repr__", [](const Crtc& o) { return "<pykms.Crtc " + to_string(o.id()) + ">"; }) in init_pykmsbase()
95 .def("refresh", &Crtc::refresh) in init_pykmsbase()