Lines Matching refs:Crtc
83 py::class_<Crtc, DrmPropObject, unique_ptr<Crtc, py::nodelete>>(m, "Crtc") in init_pykmsbase()
84 .def("set_mode", (int (Crtc::*)(Connector*, const Videomode&)) & Crtc::set_mode) in init_pykmsbase()
85 .def("set_mode", (int (Crtc::*)(Connector*, Framebuffer&, const Videomode&)) & Crtc::set_mode) in init_pykmsbase()
86 .def("disable_mode", &Crtc::disable_mode) in init_pykmsbase()
89 [](Crtc* self, Framebuffer& fb, uint32_t data) { in init_pykmsbase()
93 .def("set_plane", &Crtc::set_plane) in init_pykmsbase()
94 .def_property_readonly("possible_planes", &Crtc::get_possible_planes) in init_pykmsbase()
95 .def_property_readonly("primary_plane", &Crtc::get_primary_plane) in init_pykmsbase()
96 .def_property_readonly("mode", &Crtc::mode) in init_pykmsbase()
97 .def_property_readonly("mode_valid", &Crtc::mode_valid) in init_pykmsbase()
98 .def("__repr__", [](const Crtc& o) { return "<pykms.Crtc " + to_string(o.id()) + ">"; }) in init_pykmsbase()
99 .def("refresh", &Crtc::refresh) in init_pykmsbase()
100 .def("legacy_gamma_size", &Crtc::legacy_gamma_size) in init_pykmsbase()
101 .def("legacy_gamma_set", &Crtc::legacy_gamma_set); in init_pykmsbase()