Re: XRENDER extension docs?

2003-02-27 Thread Sven Luther
On Wed, Feb 26, 2003 at 05:06:48PM -0800, Kendall Bennett wrote: Kurt Wall [EMAIL PROTECTED] wrote: Feigning erudition, Kendall Bennett wrote: % Hi Guys, % % Is thete any documentation on the XRENDER extension and more specifically % the Matrox implementation of it? Do any other

Re: XRENDER extension docs?

2003-02-27 Thread Keith Packard
Around 9 o'clock on Feb 27, Sven Luther wrote: Yes, it would indeed be great if the XAA.HOWTO would be expanded by a new paragraph speaking about the XRENDER acceleration hooks. There is already the xaa.h which gives some info, but a discution of the hooks would be welcome. The current

Re: XRENDER extension docs?

2003-02-27 Thread Kendall Bennett
Keith Packard [EMAIL PROTECTED] wrote: Yes, it would indeed be great if the XAA.HOWTO would be expanded by a new paragraph speaking about the XRENDER acceleration hooks. There is already the xaa.h which gives some info, but a discution of the hooks would be welcome. The current Render

Re: XRENDER extension docs?

2003-02-27 Thread Keith Packard
Around 10 o'clock on Feb 27, Kendall Bennett wrote: Ok, so it is a little early yet to start implementing this in our drivers? Or should we just implement what the Matrox driver is doing and follow that model for now (ie: just alpha blits)? I think the interfaces currently provided by XAA

Re: XRENDER extension docs?

2003-02-27 Thread Kendall Bennett
Keith Packard [EMAIL PROTECTED] wrote: I think the interfaces currently provided by XAA will probably remain usable, so you might as well implement them. Ok. Plus, we should have XAA expose special higher level functions for glyph rendering to the driver so that the graphics card can use

Re: XRENDER extension docs?

2003-02-27 Thread Keith Packard
Around 11 o'clock on Feb 27, Kendall Bennett wrote: So fast, efficient text could be done in XFree86 if a single function was used to transfer an entire bitmap in the driver code (pre-clipping could easily be done before the driver code is called), and some high level code to maintain and

Re: XRENDER extension docs?

2003-02-27 Thread Mark Vojkovich
On Thu, 27 Feb 2003, Kendall Bennett wrote: Keith Packard [EMAIL PROTECTED] wrote: I think the interfaces currently provided by XAA will probably remain usable, so you might as well implement them. Ok. Plus, we should have XAA expose special higher level functions for glyph

Re: XRENDER extension docs?

2003-02-27 Thread Kendall Bennett
Mark Vojkovich [EMAIL PROTECTED] wrote: What are you guys talking about? XAA already has hooks all over the place. Yes, it does! Now that I am learning more about this I am happy to see that someone saw fit to make it so XAA drivers can hook stuff at many levels. Very cool. It should be

Re: XRENDER extension docs?

2003-02-27 Thread Kendall Bennett
Keith Packard [EMAIL PROTECTED] wrote: So fast, efficient text could be done in XFree86 if a single function was used to transfer an entire bitmap in the driver code (pre-clipping could easily be done before the driver code is called), and some high level code to maintain and render

Re: XRENDER extension docs?

2003-02-27 Thread Mark Vojkovich
On Thu, 27 Feb 2003, Kendall Bennett wrote: Mark Vojkovich [EMAIL PROTECTED] wrote: What are you guys talking about? XAA already has hooks all over the place. Yes, it does! Now that I am learning more about this I am happy to see that someone saw fit to make it so XAA drivers can

Re: XRENDER extension docs?

2003-02-27 Thread Owen Taylor
On Thu, 2003-02-27 at 14:42, Keith Packard wrote: Granted, if you have hardware alpha blits that will be the fastest way to do this. But if you don't have hardware alpha blits (and lots of cards supported by XFree86 do not), you can still speed up anti-aliased text quite a lot by

Re: XRENDER extension docs?

2003-02-27 Thread Kendall Bennett
Mark Vojkovich [EMAIL PROTECTED] wrote: We do. We have our own device driver abstraction layer and using the low level XAA functions does not map at all well to our driver modle. Hence hooking at the next level up (MID) will allow us to avoid the overheads of translating between the

Re: XRENDER extension docs?

2003-02-27 Thread Matt Wilson
On Thu, Feb 27, 2003 at 05:01:19PM -0500, Owen Taylor wrote: (*) There are two levels of server-side optimization you can do for text-on-constant-background. Well, we can start with even more simple optimizations, like not doing the compositing when the clip region is empty. Currently if

Re: XRENDER extension docs?

2003-02-27 Thread Keith Packard
Around 23 o'clock on Feb 27, Matt Wilson wrote: Well, we can start with even more simple optimizations, like not doing the compositing when the clip region is empty. Yeah, that would help in some cases. One does have to be careful to keep backing store working though. -keith

Re: XRENDER extension docs?

2003-02-26 Thread Kendall Bennett
Kurt Wall [EMAIL PROTECTED] wrote: Feigning erudition, Kendall Bennett wrote: % Hi Guys, % % Is thete any documentation on the XRENDER extension and more specifically % the Matrox implementation of it? Do any other drivers other than the % Matrox driver implement this extension?