Getting to a GL based X server

Keith Whitwell keith at tungstengraphics.com
Tue May 31 05:19:07 PDT 2005


Ian Romanick wrote:
> Adam Jackson wrote:
> 
>> On Thursday 26 May 2005 19:00, Ian Romanick wrote:
>>
>>> So, here's my question:  what are the common, 2D operations that aren't
>>> easilly accelerated by GL on 2D cards but are accelerated by the
>>> hardware?  It should be easy enough to craft fast paths for the common
>>> clear, fill, and line-draw operations.   Screen-to-screen and
>>> off-screen-to-screen blits will be simple enough with the aforementioned
>>> extension.  Is there anything else "big" that I'm missing?
>>
>>
>> KAA basically just accelerates blits and solid fills (and Render 
>> blends, but we're assuming no hardware alpha).  I really wouldn't 
>> worry about line drawing at all; it never gets used by real apps and 
>> it almost assuredly won't conform to the X spec.
> 
> 
> That's *it*?  To do this, how many functions does the driver expose? The 
> idea of adding one or two trivial GL extensions that expose fast paths 
> for all the KAA functionality is sounding better and better to me.

Especially considering all the drivers implement fills (glClear) and 
copies (glXswapBuffers) already, most of the low-level work is done.

You'll need a pixmap cache from somewhere as well.

Keith




More information about the xorg mailing list