Hi,
Following krh's advice, I wrote a minimal software renderer that implements the
__DRIcoreExtension interface and can be loaded by xorg in place of libGLcore.so
. The patches are available at:
http://people.freedesktop.org/~gsap7/drixorg/
I tested it with Xephyr and seems pretty stable with most common 32-bit rgba
double-buffered visuals.
wrt implementation details, drixorg uses "external" __DRIcoreExtension (from
dri_interface.h) but does not use the "internal" __DRI types (from
dri_utils.h). The reason being that very few fields and surrounding
functionality is needed so I choose to minimally redefine them.
I also added __DRIcoreExtension with two methods: getPixmapInfo() for getting a
pixmap's size (though not sure if it's actually needed) and putImage() for
blitting to the front pixmap during swapbuffers.
We also need some extension for converting __GLXconfigs to _DRIconfigs because
for GLcore, the loader is the one the defines the set of supported FBconfigs.
The current implementation works only because of a gross hack (all configs,
visuals, ... are currently __GLcontextModes ...)
drixorg at least needs support for front-buffer rendering and some debugging
for depths other than 32.
I'll probably won't have much time during the next period, so if someone wants
to pick up and put it in merge-able state, they are welcome.
regards,
George.
_________________________________________________________________
Explore the seven wonders of the world
http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev