Re: xserver on OpenGL

Brian Paul <brian-CdwZJljFklH+2FeEXyspIVaTQe2KTcn/@public.gmane.org>
Newsgroups gmane.comp.freedesktop.xserver
Organization Tungsten Graphics, Inc.
Message-ID <[email protected]>
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 <[email protected]> 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-/[email protected]
> 
> __________________________________
> Do you Yahoo!?
> Free Pop-Up Blocker - Get it now
> http://companion.yahoo.com/
> 
> _______________________________________________
> Xserver mailing list
> Xserver-u7BhqnqprCWvj1b/[email protected]
> http://pdx.freedesktop.org/cgi-bin/mailman/listinfo/xserver
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.