mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-05-17 12:01:18 +00:00
[host] dxgi: use standard MinGW libd3d11.a
MinGW has been shipping this file since 2014, and that version contains the only function from the dll that we call: D3D11CreateDevice.
This commit is contained in:
parent
6387bf2d2e
commit
61a4b0744d
@ -7,16 +7,9 @@ add_library(capture_DXGI STATIC
|
||||
|
||||
add_definitions("-DCOBJMACROS -DINITGUID")
|
||||
|
||||
FIND_PROGRAM(DLLTOOL_EXECUTABLE NAMES "x86_64-w64-mingw32-dlltool" "dlltool" "dlltool.exe" DOC "dlltool executable")
|
||||
ADD_CUSTOM_COMMAND(TARGET capture_DXGI POST_BUILD
|
||||
WORKING_DIRECTORY "${PROJECT_SOURCE_DIR}/dll"
|
||||
COMMAND ${DLLTOOL_EXECUTABLE} --def libd3d11.def --output-lib "${PROJECT_BINARY_DIR}/libd3d11.dll"
|
||||
VERBATIM
|
||||
)
|
||||
|
||||
target_link_libraries(capture_DXGI
|
||||
lg_common
|
||||
${PROJECT_BINARY_DIR}/libd3d11.dll
|
||||
d3d11
|
||||
dxgi
|
||||
)
|
||||
|
||||
|
@ -1,44 +0,0 @@
|
||||
LIBRARY "d3d11.dll"
|
||||
EXPORTS
|
||||
D3DKMTCloseAdapter
|
||||
D3DKMTDestroyAllocation
|
||||
D3DKMTDestroyContext
|
||||
D3DKMTDestroyDevice
|
||||
D3DKMTDestroySynchronizationObject
|
||||
D3DKMTQueryAdapterInfo
|
||||
D3DKMTSetDisplayPrivateDriverFormat
|
||||
D3DKMTSignalSynchronizationObject
|
||||
D3DKMTUnlock
|
||||
D3DKMTWaitForSynchronizationObject
|
||||
OpenAdapter10
|
||||
OpenAdapter10_2
|
||||
D3D11CoreCreateDevice
|
||||
D3D11CoreCreateLayeredDevice
|
||||
D3D11CoreGetLayeredDeviceSize
|
||||
D3D11CoreRegisterLayers
|
||||
D3D11CreateDevice
|
||||
D3D11CreateDeviceAndSwapChain
|
||||
D3DKMTCreateAllocation
|
||||
D3DKMTCreateContext
|
||||
D3DKMTCreateDevice
|
||||
D3DKMTCreateSynchronizationObject
|
||||
D3DKMTEscape
|
||||
D3DKMTGetContextSchedulingPriority
|
||||
D3DKMTGetDeviceState
|
||||
D3DKMTGetDisplayModeList
|
||||
D3DKMTGetMultisampleMethodList
|
||||
D3DKMTGetRuntimeData
|
||||
D3DKMTGetSharedPrimaryHandle
|
||||
D3DKMTLock
|
||||
D3DKMTOpenAdapterFromHdc
|
||||
D3DKMTOpenResource
|
||||
D3DKMTPresent
|
||||
D3DKMTQueryAllocationResidency
|
||||
D3DKMTQueryResourceInfo
|
||||
D3DKMTRender
|
||||
D3DKMTSetAllocationPriority
|
||||
D3DKMTSetContextSchedulingPriority
|
||||
D3DKMTSetDisplayMode
|
||||
D3DKMTSetGammaRamp
|
||||
D3DKMTSetVidPnSourceOwner
|
||||
D3DKMTWaitForVerticalBlankEvent
|
Loading…
x
Reference in New Issue
Block a user