GSdx: Remove some DXGI stuff, which is being moved to PCSX2.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2281 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
Jake.Stine 2009-12-01 15:31:31 +00:00
parent 4bdb1e1dee
commit 62384ea56a
2 changed files with 5 additions and 13 deletions

View File

@ -56,16 +56,6 @@ bool GSDevice10::Create(GSWnd* wnd)
memset(&scd, 0, sizeof(scd));
// FIXME : Someone with a brain for DX10 and COM figure out how to make this IDXGIFactory
// call mess work. I fail at this stuff. Thanks! --air
// Also... should this be GS plugin territory, or should we incorporate it into PCSX2?
// (I'm thinking a dynamic loading of the DXGI dll, and general invocation that way).
//CComPtr<IDXGIFactory> pFactory;
//hr = CreateDXGIFactory(__uuidof(IDXGIFactory), (void**)(&pFactory) );
//pFactory->MakeWindowAssociation( (HWND)m_wnd->GetHandle(), DXGI_MWA_NO_WINDOW_CHANGES );
scd.BufferCount = 2;
scd.BufferDesc.Width = 1;
scd.BufferDesc.Height = 1;
@ -82,8 +72,10 @@ bool GSDevice10::Create(GSWnd* wnd)
// an external window handle (which could be attached to any thread other than the GS one).
// (but if we're managing our own window then it's safe to enable)
// FIXME : Figure out a way to have this flag anyway, since it's a measurable speedup (may
// not be possible though).
// NOTE : This flag can be enabled for both managed and unmanaged windows, as soon as
// PCSX2-side properly implements DXGIFactory mess to disable the internal alt-enter crap
// that DirectX10 forces upon us (and thus causes threading issues because the window
// message pump isn't on the sae thread as the MTGS).
uint32 flags = m_wnd->IsManaged() ? D3D10_CREATE_DEVICE_SINGLETHREADED : 0;

View File

@ -16,7 +16,7 @@
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="JITProfiling.lib d3d11.lib d3dx11.lib d3d10_1.lib d3dx10.lib d3d9.lib d3dx9.lib dxgi.lib ddraw.lib dxguid.lib winmm.lib strmiids.lib xinput.lib cg.lib cgGL.lib glut32.lib glew_static.lib"
AdditionalDependencies="JITProfiling.lib d3d11.lib d3dx11.lib d3d10_1.lib d3dx10.lib d3d9.lib d3dx9.lib ddraw.lib dxguid.lib winmm.lib strmiids.lib xinput.lib cg.lib cgGL.lib glut32.lib glew_static.lib"
OutputFile="$(OutDir)\$(ProjectName)-$(SSEtype).dll"
AdditionalLibraryDirectories="./vtune"
DelayLoadDLLs="d3d9.dll;d3dx9_42.dll;d3d10.dll;d3d10_1.dll;d3dx10_42.dll;d3d11.dll;d3dx11_42.dll;cg.dll;cgGL.dll;glut32.dll"