Drop the PFD_GENERIC_ACCELERATED flag?

Lionel Ulmer lionel.ulmer at free.fr
Wed Nov 16 12:08:36 CST 2005


On Wed, Nov 16, 2005 at 03:21:29PM +0100, Peter Beutner wrote:
> At the moment wine always set the PFD_GENERIC_ACCELERATED flag in X11DRV_DescribePixelFormat.
> SeriousSam uses this flag to determine if the pixelformat is hardware accelerated.
> If the flag is set it is interpreted as _no_ hardware acceleration available.

Well, the best way to check this would be to run a test case on a Windows
box with OpenGL installed and accelerated.

Then create the most standard pixel format (ie double buffer + depth buffer)
and see what the pixel format is. If it does not fill GENERIC_ACCELERATED,
we should do the same in Wine.

Note that the equivalent does not really exist in GLX (except maybe between
the direct / indirect rendering pathes but this is not the same distinction
than in Windows).

       Lionel

-- 
		 Lionel Ulmer - http://www.bbrox.org/



More information about the wine-devel mailing list