[Mesa3d-dev] [Bug 22561] Some GLX_SGIX_fbconfig functions improperly check direct extensions available when using indirect rendering

2009-10-01 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=22561


Jon TURNEY jon.tur...@dronecode.org.uk changed:

   What|Removed |Added

  Attachment #27364|0   |1
is obsolete||




--- Comment #2 from Jon TURNEY jon.tur...@dronecode.org.uk  2009-10-01 
06:26:12 PST ---
Created an attachment (id=29975)
 -- (http://bugs.freedesktop.org/attachment.cgi?id=29975)
Patch to move initialization of ext_list_first_time out of DRI driver

Refreshed patch for git master


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev


[Mesa3d-dev] [Bug 22561] Some GLX_SGIX_fbconfig functions improperly check direct extensions available when using indirect rendering

2009-07-03 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=22561


Jon TURNEY jon.tur...@dronecode.org.uk changed:

   What|Removed |Added

  Attachment #27273|0   |1
is obsolete||




--- Comment #1 from Jon TURNEY jon.tur...@dronecode.org.uk  2009-07-03 
03:54:28 PST ---
Created an attachment (id=27364)
 -- (http://bugs.freedesktop.org/attachment.cgi?id=27364)
Patch to  move initialization of ext_list_first_time out of DRI driver

After a bit more staring at the code, the attached patch may be a more correct
way to fix this: 

ext_list_first_time is only set in the DRI driver loader CreateScreen routine
at the moment, so never gets set if DRI drivers are disabled by setting
LIBGL_ALWAYS_INDIRECT.

If ext_list_first_time isn't set, the screen's direct_support flags (which
seems to be a bit misnamed as it actually reflects the extensions supported by
the client/server combination when direct rendering isn't available) are never
intialized, so when __glXExtensionBitIsEnabled() is used to check them, they
are always false.

So, this patch moves the initialization of ext_list_first_time out of the DRI
driver loaders and up to where the screen config is allocated and initalized.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

--
___
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev