summaryrefslogtreecommitdiff
path: root/shared-core/mga_state.c
AgeCommit message (Expand)Author
2008-01-03drm: cleanup DRM_DEBUG() parametersMárton Németh
2007-11-22drm: major whitespace/coding style realignment with kernelDave Airlie
2007-11-05drm: remove lots of spurious whitespace.Dave Airlie
2007-07-20Replace DRM_IOCTL_ARGS with (dev, data, file_priv) and remove DRM_DEVICE.Eric Anholt
2007-07-20Replace filp in ioctl arguments with drm_file *file_priv.Eric Anholt
2007-07-20Remove DRM_ERR OS macro.Eric Anholt
2007-07-16drm: remove drm_buf_tDave Airlie
2007-07-16drm: remove drmP.h internal typedefsDave Airlie
2007-07-16drm: detypedef drm.h and fixup all problemsDave Airlie
2005-11-28Assert an MIT copyright on sis_drm.h, since one was lacking and I createdEric Anholt
2005-10-20fix G550 cardsDave Airlie
2005-09-03convert ioctl flags to use flags instead of separate intsDave Airlie
2005-08-04Split the control of master vs root priv. Everything is still marked asJon Smirl
2005-08-04Fix the MGA driver on BSD by passing in the proper chipset flags to theEric Anholt
2005-06-14Adds support for PCI cards to MGA DRMIan Romanick
2005-02-01cleanup patch from Adrian Bunk <bunk@stusta.de>Dave Airlie
2004-11-06Convert more drivers for bsd-core, moving the ioctl definitions to sharedEric Anholt
2004-10-16Fixed off by one errors in clipping.Ville Syrjala
2004-10-16Fixed bad formatting.Ville Syrjala
2004-09-30Lindent of core build. Drivers checked for no binary diffs. A few filesJon Smirl
2004-09-27First check in for DRM that splits core from personality modulesJon Smirl
2004-07-25sync up with current 2.6 kernel bk tree - mostly __user annotationsDave Airlie
2003-03-28merged drm-filp-0-1-branchKeith Whitwell
2002-10-30Kernel support for vblank syncing on Rage 128 and Matrox.Eric Anholt
2002-10-29updated e-mail addresses for Keith, Alan and JensJens Owen
2002-08-29standardize use of __FUNCTION__ (Linus)Keith Whitwell
2002-08-06Updates from Rusty Russell to:Rik Faith
2002-07-05merged bsd-3-0-0-branchAlan Hourihane
ass="hl kwc">py::arg("format") = PixelFormat::Undefined) .def("reserve_generic_plane", &ResourceManager::reserve_generic_plane, py::arg("crtc"), py::arg("format") = PixelFormat::Undefined) .def("reserve_primary_plane", &ResourceManager::reserve_primary_plane, py::arg("crtc"), py::arg("format") = PixelFormat::Undefined) .def("reserve_overlay_plane", &ResourceManager::reserve_overlay_plane, py::arg("crtc"), py::arg("format") = PixelFormat::Undefined) ; py::enum_<YUVType>(m, "YUVType") .value("BT601_Lim", YUVType::BT601_Lim) .value("BT601_Full", YUVType::BT601_Full) .value("BT709_Lim", YUVType::BT709_Lim) .value("BT709_Full", YUVType::BT709_Full) ; // Use lambdas to handle IMappedFramebuffer m.def("draw_test_pattern", [](MappedFramebuffer& fb, YUVType yuvt) { draw_test_pattern(fb, yuvt); }, py::arg("fb"), py::arg("yuvt") = YUVType::BT601_Lim); m.def("draw_color_bar", [](MappedFramebuffer& fb, int old_xpos, int xpos, int width) { draw_color_bar(fb, old_xpos, xpos, width); } ); m.def("draw_rect", [](MappedFramebuffer& fb, uint32_t x, uint32_t y, uint32_t w, uint32_t h, RGB color) { draw_rect(fb, x, y, w, h, color); } ); m.def("draw_text", [](MappedFramebuffer& fb, uint32_t x, uint32_t y, const string& str, RGB color) { draw_text(fb, x, y, str, color); } ); }