[Mesa3d-dev] Remove static_dispatch=false from GL functions exported by ATI or nVidia?

2010-09-14 Thread Luca Barbieri
Currently, there are several functions where static dispatch has been
disabled, but that are exported by either ATI, nVidia or both lib.

To prevent compatibility issues, it seems a good idea to export those
too at least.

What do you think?
Should we export all function exported by both nVidia and ATI, those
exported by any of them, or even just export all functions?

static_dispatch=false but exported by both ATI and nVidia:
glBlendEquationSeparateEXT
glBlitFramebufferEXT
glGetQueryObjecti64vEXT
glGetQueryObjectui64vEXT
glProgramEnvParameters4fvEXT
glProgramLocalParameters4fvEXT

static_dispatch=false but exported by ATI, not by nVidia:
glGetHistogramEXT
glGetHistogramParameterfvEXT
glGetHistogramParameterivEXT
glGetMinmaxEXT
glGetMinmaxParameterfvEXT
glGetMinmaxParameterivEXT
glGetTexParameterPointervAPPLE
glHistogramEXT
glMinmaxEXT
glResetHistogramEXT
glResetMinmaxEXT
glStencilFuncSeparateATI
glStencilOpSeparateATI
glTextureRangeAPPLE

static_dispatch=false but exported by nVidia, not by ATI:
glActiveStencilFaceEXT
glColorSubTableEXT
glDeleteFencesNV
glDepthBoundsEXT
glFinishFenceNV
glGenFencesNV
glGetFenceivNV
glIsFenceNV
glSetFenceNV
glTestFenceNV

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev


Re: [Mesa3d-dev] Remove static_dispatch=false from GL functions exported by ATI or nVidia?

2010-09-14 Thread Michel Dänzer
On Die, 2010-09-14 at 10:38 +0200, Luca Barbieri wrote: 
 Currently, there are several functions where static dispatch has been
 disabled, but that are exported by either ATI, nVidia or both lib.
 
 To prevent compatibility issues, it seems a good idea to export those
 too at least.

No. The libGL ABI is well defined:

http://www.opengl.org/registry/ABI/


-- 
Earthling Michel Dänzer   |http://www.vmware.com
Libre software enthusiast |  Debian, X and DRI developer

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev


Re: [Mesa3d-dev] Remove static_dispatch=false from GL functions exported by ATI or nVidia?

2010-09-14 Thread Luca Barbieri
 No. The libGL ABI is well defined:

 http://www.opengl.org/registry/ABI/

Does the ABI forbid exporting additional functions from libGL.so?

As far as I can tell, it doesn't, and only says what is required to be
exported, and that applications shouldn't statically link to other
functions.

The way things are now, some applications that work with nVidia or ATI
implementations will fail to link or fail to load with Mesa, which
seems undesirable.
A bug on this has just been reported.

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev


Re: [Mesa3d-dev] Remove static_dispatch=false from GL functions exported by ATI or nVidia?

2010-09-14 Thread Michel Dänzer
On Die, 2010-09-14 at 10:57 +0200, Luca Barbieri wrote: 
  No. The libGL ABI is well defined:
 
  http://www.opengl.org/registry/ABI/
 
 Does the ABI forbid exporting additional functions from libGL.so?
 
 As far as I can tell, it doesn't,

Of course it doesn't, but what's the point? They can't be relied on
anyway.

 and only says what is required to be exported, and that applications
 shouldn't statically link to other functions. 
 
 The way things are now, some applications that work with nVidia or ATI
 implementations will fail to link or fail to load with Mesa, which
 seems undesirable.

Applications relying on things not guaranteed by the ABI are broken.


 A bug on this has just been reported.

Sounds like not our bug.


-- 
Earthling Michel Dänzer   |http://www.vmware.com
Libre software enthusiast |  Debian, X and DRI developer

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev