xserver on OpenGL

Brian Paul brian@tungstengraphics.com
Fri, 05 Dec 2003 14:39:44 -0700


Sure, you could write pseudo frame buffer map/unmap functions in terms 
of glReadPixels and glDrawPixels.  You could do the same for textures 
with glGetTexImage and glTexSubImage2D().

-Brian


Jon Smirl wrote:
> Can you simulate a framebuffer environment on X/DRI by wrapping an existing X
> API? It wouldn't matter how slow it is since the ultimate goal would be to
> remove it.
> 
> --- Keith Packard <keithp@keithp.com> wrote:
> 
>>Around 12 o'clock on Dec 5, Jon Smirl wrote:
>>
>>
>>>Does the current X DRI environment (with pbuffers) provide a good enough
>>>platform for starting a conversion of xserver to the OpenGL API?
>>
>>Yes, given pbuffers I think the OpenGL API is sufficient to support X
>>output.  Of course, the X/DRI environment is going to make keyboard and
>>mouse input a total mess, so this really wouldn't be a usable X environment
>>without a bunch of additional work.
>>
>>However, I'm not personally interested in attempting an OpenGL server
>>backend without starting from a frame buffer, so I think that leaves out
>>the X/DRI environment for me, even for an output-only server.  Perhaps
>>others will have more time to start in this direction.  I think the
>>end result of either development effort would be worthwhile, and perhaps 
>>the native-OpenGL even better in many ways.
>>
>>-keith
>>
>>
> 
> 
> 
> =====
> Jon Smirl
> jonsmirl@yahoo.com
> 
> __________________________________
> Do you Yahoo!?
> Free Pop-Up Blocker - Get it now
> http://companion.yahoo.com/
> 
> _______________________________________________
> Xserver mailing list
> Xserver@pdx.freedesktop.org
> http://pdx.freedesktop.org/cgi-bin/mailman/listinfo/xserver
> 
>