mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 908905 - Reduce blocking of packed_depth_stencil on mac+nv. r=bjacob
This commit is contained in:
parent
73253ed26f
commit
3c332b6649
@ -435,6 +435,17 @@ GLContext::InitWithPrefix(const char *prefix, bool trygl)
|
||||
if (Renderer() == RendererAdrenoTM320) {
|
||||
MarkUnsupported(GLFeature::standard_derivatives);
|
||||
}
|
||||
|
||||
#ifdef XP_MACOSX
|
||||
// The Mac Nvidia driver, for versions up to and including 10.8, don't seem
|
||||
// to properly support this. See 814839
|
||||
// this has been fixed in Mac OS X 10.9. See 907946
|
||||
if (Vendor() == gl::GLContext::VendorNVIDIA &&
|
||||
!nsCocoaFeatures::OnMavericksOrLater())
|
||||
{
|
||||
MarkUnsupported(GLFeature::depth_texture);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
NS_ASSERTION(!IsExtensionSupported(GLContext::ARB_pixel_buffer_object) ||
|
||||
@ -917,18 +928,6 @@ GLContext::InitExtensions()
|
||||
MarkExtensionSupported(OES_EGL_sync);
|
||||
}
|
||||
|
||||
#ifdef XP_MACOSX
|
||||
// The Mac Nvidia driver, for versions up to and including 10.8, don't seem
|
||||
// to properly support this. See 814839
|
||||
// this has been fixed in Mac OS X 10.9. See 907946
|
||||
if (WorkAroundDriverBugs() &&
|
||||
Vendor() == gl::GLContext::VendorNVIDIA &&
|
||||
!nsCocoaFeatures::OnMavericksOrLater())
|
||||
{
|
||||
MarkExtensionUnsupported(gl::GLContext::EXT_packed_depth_stencil);
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef DEBUG
|
||||
firstRun = false;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user