Move VideoBackendBase from Common to VideoCommon
This commit is contained in:
parent
94397a44cc
commit
ffdd79df36
|
@ -20,7 +20,6 @@ set(SRCS Src/BreakPoints.cpp
|
||||||
Src/Thread.cpp
|
Src/Thread.cpp
|
||||||
Src/Timer.cpp
|
Src/Timer.cpp
|
||||||
Src/Version.cpp
|
Src/Version.cpp
|
||||||
Src/VideoBackendBase.cpp
|
|
||||||
Src/x64ABI.cpp
|
Src/x64ABI.cpp
|
||||||
Src/x64Analyzer.cpp
|
Src/x64Analyzer.cpp
|
||||||
Src/x64Emitter.cpp
|
Src/x64Emitter.cpp
|
||||||
|
|
|
@ -195,7 +195,6 @@
|
||||||
<ClCompile Include="Src\Thread.cpp" />
|
<ClCompile Include="Src\Thread.cpp" />
|
||||||
<ClCompile Include="Src\Timer.cpp" />
|
<ClCompile Include="Src\Timer.cpp" />
|
||||||
<ClCompile Include="Src\Version.cpp" />
|
<ClCompile Include="Src\Version.cpp" />
|
||||||
<ClCompile Include="Src\VideoBackendBase.cpp" />
|
|
||||||
<ClCompile Include="Src\x64ABI.cpp" />
|
<ClCompile Include="Src\x64ABI.cpp" />
|
||||||
<ClCompile Include="Src\x64Analyzer.cpp" />
|
<ClCompile Include="Src\x64Analyzer.cpp" />
|
||||||
<ClCompile Include="Src\x64CPUDetect.cpp" />
|
<ClCompile Include="Src\x64CPUDetect.cpp" />
|
||||||
|
@ -250,7 +249,6 @@
|
||||||
<ClInclude Include="Src\Thread.h" />
|
<ClInclude Include="Src\Thread.h" />
|
||||||
<ClInclude Include="Src\Thunk.h" />
|
<ClInclude Include="Src\Thunk.h" />
|
||||||
<ClInclude Include="Src\Timer.h" />
|
<ClInclude Include="Src\Timer.h" />
|
||||||
<ClInclude Include="Src\VideoBackendBase.h" />
|
|
||||||
<ClInclude Include="Src\x64ABI.h" />
|
<ClInclude Include="Src\x64ABI.h" />
|
||||||
<ClInclude Include="Src\x64Analyzer.h" />
|
<ClInclude Include="Src\x64Analyzer.h" />
|
||||||
<ClInclude Include="Src\x64Emitter.h" />
|
<ClInclude Include="Src\x64Emitter.h" />
|
||||||
|
|
|
@ -23,7 +23,6 @@
|
||||||
<ClCompile Include="Src\Thread.cpp" />
|
<ClCompile Include="Src\Thread.cpp" />
|
||||||
<ClCompile Include="Src\Timer.cpp" />
|
<ClCompile Include="Src\Timer.cpp" />
|
||||||
<ClCompile Include="Src\Version.cpp" />
|
<ClCompile Include="Src\Version.cpp" />
|
||||||
<ClCompile Include="Src\VideoBackendBase.cpp" />
|
|
||||||
<ClCompile Include="Src\x64Analyzer.cpp" />
|
<ClCompile Include="Src\x64Analyzer.cpp" />
|
||||||
<ClCompile Include="Src\x64Emitter.cpp" />
|
<ClCompile Include="Src\x64Emitter.cpp" />
|
||||||
<ClCompile Include="Src\LogManager.cpp">
|
<ClCompile Include="Src\LogManager.cpp">
|
||||||
|
@ -92,7 +91,6 @@
|
||||||
<ClInclude Include="Src\Thread.h" />
|
<ClInclude Include="Src\Thread.h" />
|
||||||
<ClInclude Include="Src\Thunk.h" />
|
<ClInclude Include="Src\Thunk.h" />
|
||||||
<ClInclude Include="Src\Timer.h" />
|
<ClInclude Include="Src\Timer.h" />
|
||||||
<ClInclude Include="Src\VideoBackendBase.h" />
|
|
||||||
<ClInclude Include="Src\x64Analyzer.h" />
|
<ClInclude Include="Src\x64Analyzer.h" />
|
||||||
<ClInclude Include="Src\x64Emitter.h" />
|
<ClInclude Include="Src\x64Emitter.h" />
|
||||||
<ClInclude Include="Src\Log.h">
|
<ClInclude Include="Src\Log.h">
|
||||||
|
|
|
@ -33,6 +33,7 @@ set(SRCS Src/BPFunctions.cpp
|
||||||
Src/VertexManagerBase.cpp
|
Src/VertexManagerBase.cpp
|
||||||
Src/VertexShaderGen.cpp
|
Src/VertexShaderGen.cpp
|
||||||
Src/VertexShaderManager.cpp
|
Src/VertexShaderManager.cpp
|
||||||
|
Src/VideoBackendBase.cpp
|
||||||
Src/VideoConfig.cpp
|
Src/VideoConfig.cpp
|
||||||
Src/VideoState.cpp
|
Src/VideoState.cpp
|
||||||
Src/XFMemory.cpp
|
Src/XFMemory.cpp
|
||||||
|
|
|
@ -19,6 +19,8 @@ VideoBackend* g_video_backend = NULL;
|
||||||
static VideoBackend* s_default_backend = NULL;
|
static VideoBackend* s_default_backend = NULL;
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
#include <windows.h>
|
||||||
|
|
||||||
// http://msdn.microsoft.com/en-us/library/ms725491.aspx
|
// http://msdn.microsoft.com/en-us/library/ms725491.aspx
|
||||||
static bool IsGteVista()
|
static bool IsGteVista()
|
||||||
{
|
{
|
|
@ -213,6 +213,7 @@
|
||||||
<ClCompile Include="Src\VertexManagerBase.cpp" />
|
<ClCompile Include="Src\VertexManagerBase.cpp" />
|
||||||
<ClCompile Include="Src\VertexShaderGen.cpp" />
|
<ClCompile Include="Src\VertexShaderGen.cpp" />
|
||||||
<ClCompile Include="Src\VertexShaderManager.cpp" />
|
<ClCompile Include="Src\VertexShaderManager.cpp" />
|
||||||
|
<ClCompile Include="Src\VideoBackendBase.cpp" />
|
||||||
<ClCompile Include="Src\VideoConfig.cpp" />
|
<ClCompile Include="Src\VideoConfig.cpp" />
|
||||||
<ClCompile Include="Src\VideoState.cpp" />
|
<ClCompile Include="Src\VideoState.cpp" />
|
||||||
<ClCompile Include="Src\x64DLCache.cpp" />
|
<ClCompile Include="Src\x64DLCache.cpp" />
|
||||||
|
@ -266,6 +267,7 @@
|
||||||
<ClInclude Include="Src\VertexShaderGen.h" />
|
<ClInclude Include="Src\VertexShaderGen.h" />
|
||||||
<ClInclude Include="Src\VertexShaderManager.h" />
|
<ClInclude Include="Src\VertexShaderManager.h" />
|
||||||
<ClInclude Include="Src\VideoCommon.h" />
|
<ClInclude Include="Src\VideoCommon.h" />
|
||||||
|
<ClInclude Include="Src\VideoBackendBase.h" />
|
||||||
<ClInclude Include="Src\VideoConfig.h" />
|
<ClInclude Include="Src\VideoConfig.h" />
|
||||||
<ClInclude Include="Src\VideoState.h" />
|
<ClInclude Include="Src\VideoState.h" />
|
||||||
<ClInclude Include="Src\XFMemory.h" />
|
<ClInclude Include="Src\XFMemory.h" />
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
<ClCompile Include="Src\CommandProcessor.cpp" />
|
<ClCompile Include="Src\CommandProcessor.cpp" />
|
||||||
<ClCompile Include="Src\memcpy_amd.cpp" />
|
<ClCompile Include="Src\memcpy_amd.cpp" />
|
||||||
<ClCompile Include="Src\PixelEngine.cpp" />
|
<ClCompile Include="Src\PixelEngine.cpp" />
|
||||||
|
<ClCompile Include="Src\VideoBackendBase.cpp" />
|
||||||
<ClCompile Include="Src\VideoConfig.cpp" />
|
<ClCompile Include="Src\VideoConfig.cpp" />
|
||||||
<ClCompile Include="Src\VertexLoader.cpp">
|
<ClCompile Include="Src\VertexLoader.cpp">
|
||||||
<Filter>Vertex Loading</Filter>
|
<Filter>Vertex Loading</Filter>
|
||||||
|
@ -128,6 +129,7 @@
|
||||||
<ClInclude Include="Src\NativeVertexFormat.h" />
|
<ClInclude Include="Src\NativeVertexFormat.h" />
|
||||||
<ClInclude Include="Src\PixelEngine.h" />
|
<ClInclude Include="Src\PixelEngine.h" />
|
||||||
<ClInclude Include="Src\VideoCommon.h" />
|
<ClInclude Include="Src\VideoCommon.h" />
|
||||||
|
<ClInclude Include="Src\VideoBackendBase.h" />
|
||||||
<ClInclude Include="Src\VideoConfig.h" />
|
<ClInclude Include="Src\VideoConfig.h" />
|
||||||
<ClInclude Include="Src\DataReader.h">
|
<ClInclude Include="Src\DataReader.h">
|
||||||
<Filter>Vertex Loading</Filter>
|
<Filter>Vertex Loading</Filter>
|
||||||
|
|
Loading…
Reference in New Issue