mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-04 13:07:52 +00:00
Bug 910908 - Remove obsolete optimus blocking in d3d9. r=bas
This was added when we only had a d3d9 layer manager and needed to interoperate between d2d and d3d9. We don't have that anymore. --HG-- rename : browser/config/mozconfigs/win64/common-opt => browser/config/mozconfigs/win64/nightly rename : mfbt/Maybe.h => mfbt/Util.h rename : toolkit/components/social/FrameWorkerContent.js => toolkit/components/social/FrameWorker.jsm rename : webapprt/content/mochitest-shared.js => webapprt/content/mochitest.js rename : widget/gonk/HwcUtils.cpp => widget/gonk/HwcComposer2D.cpp extra : rebase_source : 91711ea886a20d74b68dbaf4dd571deb10df606f
This commit is contained in:
parent
7fcc6b89fc
commit
499c58c707
@ -248,12 +248,6 @@ DeviceManagerD3D9::Init()
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!PL_strncasecmp(ident.Driver, "nvumdshim.dll", strlen(ident.Driver))) {
|
||||
// XXX - This is a device using NVidia Optimus. We have no idea how to do
|
||||
// interop here so let's fail and use BasicLayers. See bug 597320.
|
||||
return false;
|
||||
}
|
||||
|
||||
D3DPRESENT_PARAMETERS pp;
|
||||
memset(&pp, 0, sizeof(D3DPRESENT_PARAMETERS));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user