On Mar 28, 2015, at 4:21 AM, Stefan Dösinger stefandoesinger@gmail.com wrote: then check for software fallbacks. There's a CGL function for checking that, but I don't remember from the top of my head how it works.
You mean:
CGLGetParameter(ctx, kCGLCPGPUVertexProcessing, &gpu_vertex); CGLGetParameter(ctx, kCGLCPGPUFragmentProcessing, &gpu_frag);
When each one is false, it means that the corresponding stage fell back to software.
We may need some kind of Wine-specific WGL extension for this, though. wined3d doesn’t know about CGL contexts.
By the way, those are “get” only. You can’t force the driver to do it in hardware by forcing them to true (in case you get that idea).
Chip