-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Lukas,

Questions and patches about 3D driver code should be posted to the
mesa3d-dev list.  All of the 3D driver developers are there, and
messages are less likely to get lost in the noise.

Lukas Hejtmanek wrote:

> why this extension is not included in i915 driver? I added it to sources,
> recompiled and tested with www.glest.org, it seems to be ok, so I think it 
> could
> be included into Mesa/src/mesa/drivers/dri/i915/i915_context.c:

The i915 driver uses (used to use?) code within the driver to convert
texture environments to fragment programs.  At the time, this code did
not support GL_ARB_texture_env_crossbar.  There is also generic code in
core Mesa for translating texture environments to fragment programs.
This code, which is used by the r300 driver, does support
GL_ARB_texture_env_crossbar.  I proposed a similar patch sometime ago,
but the patch was rejected until the i915 driver was modified to use the
generic code in Mesa.

> --- i915_context.c.old  2006-04-21 17:01:24.000000000 +0200
> +++ i915_context.c      2006-04-21 16:56:47.000000000 +0200
> @@ -47,6 +47,7 @@
> 
>  static const struct dri_extension i915_extensions[] =
>  {
> +    { "GL_ARB_texture_env_crossbar",       NULL },
>      { "GL_ARB_depth_texture",              NULL },
>      { "GL_ARB_fragment_program",           NULL },
>      { "GL_ARB_shadow",                     NULL },

This is the only extension support by the i830 code that isn't (yet)
supported by the i915 code.  I think it's better to just move this
extension string from i830_extensions to card_extensions.  This is the
approach that I took in my earlier patch:

http://marc.theaimsgroup.com/?l=mesa3d-dev&m=111765472500944&w=2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (GNU/Linux)

iD8DBQFESTEQX1gOwKyEAw8RAoMQAJwNp7SE99RXtzi2QzRKHoHUrMkSnwCfdfB+
QYLVnkInn9FQhcnrB7UF3Ds=
=Kw4m
-----END PGP SIGNATURE-----


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to