fix up and move the intel crtc xv clipping helper to the server. It's generic enough to be used by any driver. Works fine on radeon. Other drivers may find it useful.
Created attachment 11171 [details] [review] patch to add to server fix and add the crtc xv clipping code to the server.
It'd be nice to get this in for 7.3 so drivers can start to move to the generic code after 7.3 is released.
<anholt> ajax/daniels: you guys fine with #12053 going in? since its pure api addition, and has been used in 2 drivers, I'm inclined to OK it. <ajax> anholt: all API additions should be marked with _X_EXPORT and listed in hw/xfree86/loader/*sym.c <ajax> but, other than that, sure, looks fine.
I've pushed this to master: 1f6ddae003ec65d6bc567831bf32bf75dfefdd6c 53c04351c462d2ae307684e50d5960debe1ee557 FWIW, none of the other functions exported from hw/xfree86/modes are marked with _X_EXPORT except xf86CVTMode(). Should we add _X_EXPORT to all of them?
Created attachment 11200 [details] [review] add _X_EXPORT to exported functions from hw/modes/xfree86/modes add _X_EXPORT to exported functions from hw/modes/xfree86/modes and add a few missing functions to xf86sym.c
committed _X_EXPORT d0dc9698ae4324d44ed4c0482d6858d0b73bff33
Both pieces are merged to server-1.4-branch. 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.