-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Structure change to be more like reactos src + fix some minor issues
- Loading branch information
Showing
83 changed files
with
12,737 additions
and
181 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
add_subdirectory(dxgi) | ||
#add_subdirectory(dxgidebug) # dxgidebug.h is not updated for this | ||
#add_subdirectory(d3d10) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
|
||
|
||
spec2def(dxgi.dll dxgi.spec ADD_IMPORTLIB) | ||
|
||
remove_definitions(-D_WIN32_WINNT=0x502) | ||
add_definitions(-D_WIN32_WINNT=0x601) | ||
|
||
add_definitions(-D_USRDLL) | ||
include_directories(BEFORE ${REACTOS_SOURCE_DIR}/win32ss_vista/include) | ||
|
||
add_library(dxgi MODULE | ||
dllmain.cpp | ||
dxgiadapter.cpp | ||
dxgidevice.cpp | ||
dxgifactory.cpp | ||
dxgikeyedmutex.cpp | ||
dxgioutput.cpp | ||
dxgiresource.cpp | ||
dxgisurface.cpp | ||
dxgiswapchain.cpp | ||
dxgi.rc | ||
guids.cpp | ||
${CMAKE_CURRENT_BINARY_DIR}/dxgi.def | ||
${CMAKE_CURRENT_BINARY_DIR}/dxgi_stubs.c | ||
) | ||
|
||
set_module_type(dxgi win32dll UNICODE) | ||
target_link_libraries(dxgi dxguid uuid atl_classes cppstl) | ||
add_pch(dxgi pch.h SOURCE) | ||
add_cd_file(TARGET dxgi DESTINATION reactos/system32 FOR all) | ||
add_importlibs(dxgi gdi32 user32 comdlg32 msvcrt ntdll) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#define REACTOS_VERSION_DLL | ||
#define REACTOS_STR_FILE_DESCRIPTION "ReactX Graphics Infrastructure\0" | ||
#define REACTOS_STR_INTERNAL_NAME "dxgi\0" | ||
#define REACTOS_STR_ORIGINAL_FILENAME "dxgi.dll\0" | ||
|
||
#include <reactos/reactx.h> | ||
|
||
#include <reactos/version.rc> |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<ItemGroup> | ||
<ResourceCompile Include="d3d10.rc" /> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
|
||
|
||
spec2def(dxgi.dll dxgi.spec ADD_IMPORTLIB) | ||
|
||
remove_definitions(-D_WIN32_WINNT=0x502) | ||
add_definitions(-D_WIN32_WINNT=0x601) | ||
|
||
add_definitions(-D_USRDLL) | ||
include_directories(BEFORE ${REACTOS_SOURCE_DIR}/win32ss_vista/include) | ||
|
||
add_library(dxgi MODULE | ||
dllmain.cpp | ||
dxgiadapter.cpp | ||
dxgidevice.cpp | ||
dxgifactory.cpp | ||
dxgikeyedmutex.cpp | ||
dxgioutput.cpp | ||
dxgiresource.cpp | ||
dxgisurface.cpp | ||
dxgiswapchain.cpp | ||
dxgi.rc | ||
guids.cpp | ||
${CMAKE_CURRENT_BINARY_DIR}/dxgi.def | ||
${CMAKE_CURRENT_BINARY_DIR}/dxgi_stubs.c | ||
) | ||
|
||
set_module_type(dxgi win32dll UNICODE) | ||
target_link_libraries(dxgi dxguid uuid atl_classes cppstl) | ||
add_pch(dxgi pch.h SOURCE) | ||
add_cd_file(TARGET dxgi DESTINATION reactos/system32 FOR all) | ||
add_importlibs(dxgi gdi32 user32 comdlg32 msvcrt ntdll) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#define REACTOS_VERSION_DLL | ||
#define REACTOS_STR_FILE_DESCRIPTION "ReactX Graphics Infrastructure\0" | ||
#define REACTOS_STR_INTERNAL_NAME "dxgi\0" | ||
#define REACTOS_STR_ORIGINAL_FILENAME "dxgi.dll\0" | ||
|
||
#include <reactos/reactx.h> | ||
|
||
#include <reactos/version.rc> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
@ stdcall CreateDXGIFactory(ptr ptr) | ||
@ stdcall CreateDXGIFactory1(ptr ptr) | ||
@ stdcall -version=0x601+ CreateDXGIFactory2(ptr ptr) | ||
@ stub PIXBeginCapture | ||
@ stub PIXEndCapture | ||
@ stub PIXGetCaptureState | ||
@ stub DXGIDumpJournal | ||
@ stub DXGIReportAdapterConfiguration | ||
@ stub SetAppCompatStringPointer | ||
@ stub ApplyCompatResolutionQuirking | ||
@ stub CompatString | ||
@ stub CompatValue | ||
@ stub UpdateHMDEmulationStatus | ||
@ stdcall DXGID3D10CreateDevice(ptr ptr ptr long ptr long ptr) | ||
@ stdcall DXGID3D10CreateLayeredDevice(ptr long ptr ptr ptr) | ||
@ stdcall DXGID3D10GetLayeredDeviceSize(ptr long) | ||
@ stdcall DXGID3D10RegisterLayers(ptr long) | ||
@ stub DXGIDeclareAdapterRemovalSupport | ||
@ stdcall DXGIGetDebugInterface1(long ptr ptr) | ||
@ stdcall OpenAdapter10(ptr) | ||
@ stdcall OpenAdapter10_2(ptr) | ||
@ stdcall D3DKMTCloseAdapter(ptr) | ||
@ stdcall D3DKMTCreateAllocation(ptr) | ||
@ stdcall D3DKMTCreateContext(ptr) | ||
@ stdcall D3DKMTCreateDevice(ptr) | ||
@ stdcall D3DKMTCreateSyncrhonizationObject(ptr) | ||
@ stdcall D3DKMTDestroyAllocation(ptr) | ||
@ stdcall D3DKMTDestroyContext(ptr) | ||
@ stdcall D3DKMTDestroyDevice(ptr) | ||
@ stdcall D3DKMTDestroySynchronizationObject(ptr) | ||
@ stdcall D3DKMTEscape(ptr) | ||
@ stdcall D3DKMTGetContextSchedulingPriority(ptr) | ||
@ stdcall D3DKMTGetDeviceState(ptr) | ||
@ stdcall D3DKMTGetDisplayModeList(ptr) | ||
@ stdcall D3DKMTGetMultisampleMethodList(ptr) | ||
@ stdcall D3DKMTGetRuntimeData(ptr) | ||
@ stdcall D3DKMTGetSharedPrimaryHandle(ptr) | ||
@ stdcall D3DKMTLock(ptr) | ||
@ stdcall D3DKMTOpenAdapterFromHdc(ptr) | ||
@ stdcall D3DKMTOpenResource(ptr) | ||
@ stdcall D3DKMTPresent(ptr) | ||
@ stdcall D3DKMTQueryAdapterInfo(ptr) | ||
@ stdcall D3DKMTQueryAllocationResidency(ptr) | ||
@ stdcall D3DKMTQueryResourceInfo(ptr) | ||
@ stdcall D3DKMTRender(ptr) | ||
@ stdcall D3DKMTSetAllocationPriority(ptr) | ||
@ stdcall D3DKMTSetContextSchedulingPriority(ptr) | ||
@ stdcall D3DKMTSetDisplayMode(ptr) | ||
@ stdcall D3DKMTSetDisplayPrivateDriverFormat(ptr) | ||
@ stdcall D3DKMTSetGammaRamp(ptr) | ||
@ stdcall D3DKMTSetVidPnSourceOwner(ptr) | ||
@ stdcall D3DKMTSignalSynchronizationObject(ptr) | ||
@ stdcall D3DKMTUnlock(ptr) | ||
@ stdcall D3DKMTWaitForSynchronizationObject(ptr) | ||
@ stdcall D3DKMTWaitForVerticalBlankEvent(ptr) |
Oops, something went wrong.