Eric Anholt wrote:

My current diff is at:
http://people.freebsd.org/~anholt/dri/files/sis-14.diff

Since building the SiS driver is disabled, I don't see any reason to not commit your changes. This will allow more adventureous people to start testing. :)


It's against DRI CVS.  Should work fine on Linux/FreeBSD, with or
without sisfb.  I haven't tested the linux-without-sisfb case, though.

My progress so far: * glxgears, geartrain, tunnel, ipers, fire, multiarb, ray,
morph3d, isosurf, spectex, gloss, bounce, teapot, reflect all
work. tuxracer works on FreeBSD.
* DRM and DDX changes are in DRI CVS HEAD.

Woohoo!


To do: * Tuxracer crashes in sisDDDeleteTexture on linux. I have no idea
why (it's crashing freeing memory which I swear is allocated).
* Not sure if the fogging in fire is correct -- it looks like I
would expect it to, but it disagrees with software rendering.

That is common. The sw path does per-pixel fog calculations and the hw path likely does per-vertex fog calculations.


      * Issues with clipping/scissoring (texenv, tessdemo -- GLUT_SINGLE
        buffering)
      * Implement / advertise GL extensions.

Just by looking at sis_reg.h, it looks like you should be able to get at least the following:


        GL_ARB_multitexture
        GL_EXT_paletted_texture
        GL_EXT_shared_texture_palette
        GL_EXT_fog_coord
        GL_NV_blend_square
        GL_ARB_texture_border_clamp and/or GL_EXT_texture_edge_clamp
        GL_ARB_texture_mirrored_repeat / GL_IBM_texture_mirrored_repeat
        GL_MESA_ycbcr_texture
        GL_EXT_texture_filter_anisotropic
        GL_EXT_texture_lod_bias

If you play with some of the missing values, I bet that the following are also supportable:

        GL_EXT_stencil_wrap
        GL_EXT_blend_logic_op
        GL_ARB_texture_env_add (maybe even some of the other env modes)

At some point we'll want to disect what the various bits of A_REPLACE_RGB_STAGE0 actually mean. Who knows what will be possible then.

"Fake" / software support can be added for the following. The only one that you actually need to do anything for is ARB_texture_compression. Look at the mga, radeon, r128, or r200 for an example.

        GL_ARB_texture_compression
        GL_ARB_multisample
        GL_SGIS_generate_mipmap
        GL_EXT_multi_draw_arrays

* Get AGP support working (waiting for the card to come)

You will probably also want to convert the driver to use the texmem interface. There are also some utility functions in xc/lib/GL/mesa/src/drv/common/utils.[ch] that you should use.





------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to