The attached patch implements shadow framebuffer and screen rotation support in the i830 driver. Most of the code was almost directly ported from the savage driver. Documentation (man page) update is included. Delta is against CVS head from a few days ago. The original patch was also based on work done by Helmar Spangenberg <hspangenberg@frey.de> (see http://www.mail- archive.com/devel@xfree86.org/msg06235.html).
Created attachment 2679 [details] [review] Patch to implement shadowfb and rotate options in the i830 driver The patch is exepcted to be complete. If I forgot something, please let me know.
couple of cosmetic comments: -static const char *driShadowFBSymbols[] = { +const char *I810shadowFBSymbols[] = { not that it matters much, but there's no need to make this non-static. + xf86DrvMsg(pScrn->scrnIndex, X_WARNING, + "HW acceleration not supported with \"shadowFB\".\n"); should be \"ShadowFB\" also i830_shadow.c has some minor whitespace issues. looks good though!
Thanks for the patch. I'll get this integrated.
Committed to CVS. Thanks.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.