[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Re: Getting to a GL based X server
From:       Keith Whitwell <keith () tungstengraphics ! com>
Date:       2005-05-31 12:19:07
Message-ID: 429C563B.8020401 () tungstengraphics ! com
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic