>
> On Mon, 28 Feb 2000, James A Simmons wrote:
>
> >
> > On Sun, 27 Feb 2000, teunis wrote:
> >
> > > Heya.
> > > Is it possible to do an accelerated 2D driver under OpenGL?
> > >
> > > Should be, I can't see why not.
> >
> > Yes you can. The 3D stuff would have to be software rendered ontop of the
> > 2D code.
>
> There's enough 2D-style accels support in OpenGL that texture
> blitting, color ramps, clip planes/alpha/stencil masks etc could be used
> to good effect when accelerating X.
>
> > > It'd be cool to have an accelerated X that runs under OpenGL...
> >
> > Thats GLX.
>
> Not exactly. I think he's asking for an "OpenGL target" for
> LibGGI, which would render everything in XGGI using GL primitives. GLX
> only renders its GL contexts using GL, and does all of the rest of its
> (2D) accels its own way, correct?
Thats what I thought too. I think that the acceleration might prove quite
hard, and many cards do not actually have hardware accelerated stencils
anyway for 3D. If implemented well you could run cube3D with accelerated
sessions (or with more work run X sessions on the surface of a transparent
torus).
Unaccelerated of course is simple, just render into a texture using shared
memory and use glTexSubImage to update a texture (say filling the screen)
and then sort out the input.
Justin