Please do not reply to this email: if you want to comment on the bug, go to     
the URL shown below and enter your comments there.  
  
http://freedesktop.org/bugzilla/show_bug.cgi?id=709   
   




------- Additional Comments From [EMAIL PROTECTED]  2004-06-02 08:57 -------
Drivers need to use the libGL supplied version of _gl_context_modes_create if
the libGL version is higher than the version linked with the driver (i.e., the
libGL API version is higher than the driver knows about).  This is because there
may be added fields in the structure.  libGL will allocate a structure with the
added fields and initialize them.  Since the driver doesn't even know these
fields exist, it will blissfully ignore them.

There seems to be some problem with this, however.  My first thought was that
libGL was allocating a structure smaller than what the driver wanted.  When the
driver accessed fields beyond what libGL allocated there was memory corruption.
 I took a quick glance at the code, and the minimum_size parameter was added to
_gl_context_modes_create to solve just this problem.  I'd have to look at the
Xorg code to see what other differences might exist.

I probably won't be able to look at this until Friday (6/4/2004) at the soonest.
 If I start working on it, I will assign it to myself.  Until then, it's up for
grabs. :)  I should be available on #dri-devel if anyone wants to discuss it.   
   
--    
Configure bugmail: http://freedesktop.org/bugzilla/userprefs.cgi?tab=email   
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to