2018-03-28 13:57:46 +00:00
|
|
|
add_library(videocommon
|
2018-01-21 10:22:45 +00:00
|
|
|
AbstractFramebuffer.cpp
|
2019-05-29 09:40:33 +00:00
|
|
|
AbstractFramebuffer.h
|
|
|
|
AbstractShader.h
|
2017-10-21 14:49:40 +00:00
|
|
|
AbstractStagingTexture.cpp
|
2019-05-29 09:40:33 +00:00
|
|
|
AbstractStagingTexture.h
|
2017-04-23 04:44:34 +00:00
|
|
|
AbstractTexture.cpp
|
2019-05-29 09:40:33 +00:00
|
|
|
AbstractTexture.h
|
2017-03-01 12:43:43 +00:00
|
|
|
AsyncRequests.cpp
|
2019-05-29 09:40:33 +00:00
|
|
|
AsyncRequests.h
|
2017-06-19 04:17:18 +00:00
|
|
|
AsyncShaderCompiler.cpp
|
2019-05-29 09:40:33 +00:00
|
|
|
AsyncShaderCompiler.h
|
2017-03-01 12:43:43 +00:00
|
|
|
BoundingBox.cpp
|
2019-05-29 09:40:33 +00:00
|
|
|
BoundingBox.h
|
2017-03-01 12:43:43 +00:00
|
|
|
BPFunctions.cpp
|
2019-05-29 09:40:33 +00:00
|
|
|
BPFunctions.h
|
2017-03-01 12:43:43 +00:00
|
|
|
BPMemory.cpp
|
2019-05-29 09:40:33 +00:00
|
|
|
BPMemory.h
|
2017-03-01 12:43:43 +00:00
|
|
|
BPStructs.cpp
|
2019-05-29 09:40:33 +00:00
|
|
|
BPStructs.h
|
2017-03-01 12:43:43 +00:00
|
|
|
CommandProcessor.cpp
|
2019-05-29 09:40:33 +00:00
|
|
|
CommandProcessor.h
|
|
|
|
ConstantManager.h
|
|
|
|
CPMemory.cpp
|
|
|
|
CPMemory.h
|
2017-03-01 12:43:43 +00:00
|
|
|
DriverDetails.cpp
|
2019-05-29 09:40:33 +00:00
|
|
|
DriverDetails.h
|
2017-03-01 12:43:43 +00:00
|
|
|
Fifo.cpp
|
2019-05-29 09:40:33 +00:00
|
|
|
Fifo.h
|
2017-03-01 12:43:43 +00:00
|
|
|
FPSCounter.cpp
|
2019-05-29 09:40:33 +00:00
|
|
|
FPSCounter.h
|
2019-02-15 01:59:50 +00:00
|
|
|
FramebufferManager.cpp
|
2019-05-29 09:40:33 +00:00
|
|
|
FramebufferManager.h
|
2019-02-15 01:59:50 +00:00
|
|
|
FramebufferShaderGen.cpp
|
2019-05-29 09:40:33 +00:00
|
|
|
FramebufferShaderGen.h
|
2017-03-01 12:43:43 +00:00
|
|
|
GeometryShaderGen.cpp
|
2019-05-29 09:40:33 +00:00
|
|
|
GeometryShaderGen.h
|
2017-03-01 12:43:43 +00:00
|
|
|
GeometryShaderManager.cpp
|
2019-05-29 09:40:33 +00:00
|
|
|
GeometryShaderManager.h
|
2017-03-01 12:43:43 +00:00
|
|
|
HiresTextures.cpp
|
2019-05-29 09:40:33 +00:00
|
|
|
HiresTextures.h
|
2017-04-16 09:30:11 +00:00
|
|
|
HiresTextures_DDSLoader.cpp
|
2017-03-01 12:43:43 +00:00
|
|
|
ImageWrite.cpp
|
2019-05-29 09:40:33 +00:00
|
|
|
ImageWrite.h
|
2017-03-01 12:43:43 +00:00
|
|
|
IndexGenerator.cpp
|
2019-05-29 09:40:33 +00:00
|
|
|
IndexGenerator.h
|
2017-03-01 12:43:43 +00:00
|
|
|
LightingShaderGen.cpp
|
2019-05-29 09:40:33 +00:00
|
|
|
LightingShaderGen.h
|
|
|
|
LookUpTables.h
|
|
|
|
NativeVertexFormat.h
|
2019-03-17 00:09:06 +00:00
|
|
|
NetPlayChatUI.cpp
|
2019-05-29 09:40:33 +00:00
|
|
|
NetPlayChatUI.h
|
2019-04-02 21:13:42 +00:00
|
|
|
NetPlayGolfUI.cpp
|
2019-05-29 09:40:33 +00:00
|
|
|
NetPlayGolfUI.h
|
2017-03-01 12:43:43 +00:00
|
|
|
OnScreenDisplay.cpp
|
2019-05-29 09:40:33 +00:00
|
|
|
OnScreenDisplay.h
|
2017-03-01 12:43:43 +00:00
|
|
|
OpcodeDecoding.cpp
|
2019-05-29 09:40:33 +00:00
|
|
|
OpcodeDecoding.h
|
2017-03-01 12:43:43 +00:00
|
|
|
PerfQueryBase.cpp
|
2019-05-29 09:40:33 +00:00
|
|
|
PerfQueryBase.h
|
2017-03-01 12:43:43 +00:00
|
|
|
PixelEngine.cpp
|
2019-05-29 09:40:33 +00:00
|
|
|
PixelEngine.h
|
2017-03-01 12:43:43 +00:00
|
|
|
PixelShaderGen.cpp
|
2019-05-29 09:40:33 +00:00
|
|
|
PixelShaderGen.h
|
2017-03-01 12:43:43 +00:00
|
|
|
PixelShaderManager.cpp
|
2019-05-29 09:40:33 +00:00
|
|
|
PixelShaderManager.h
|
2017-03-01 12:43:43 +00:00
|
|
|
PostProcessing.cpp
|
2019-05-29 09:40:33 +00:00
|
|
|
PostProcessing.h
|
2017-03-01 12:43:43 +00:00
|
|
|
RenderBase.cpp
|
2019-05-29 09:40:33 +00:00
|
|
|
RenderBase.h
|
2017-03-01 12:43:43 +00:00
|
|
|
RenderState.cpp
|
2019-05-29 09:40:33 +00:00
|
|
|
RenderState.h
|
|
|
|
SamplerCommon.h
|
2018-02-24 15:15:35 +00:00
|
|
|
ShaderCache.cpp
|
2019-05-29 09:40:33 +00:00
|
|
|
ShaderCache.h
|
2017-07-20 07:10:02 +00:00
|
|
|
ShaderGenCommon.cpp
|
2019-05-29 09:40:33 +00:00
|
|
|
ShaderGenCommon.h
|
2017-03-01 12:43:43 +00:00
|
|
|
Statistics.cpp
|
2019-05-29 09:40:33 +00:00
|
|
|
Statistics.h
|
2017-03-01 12:43:43 +00:00
|
|
|
TextureCacheBase.cpp
|
2019-05-29 09:40:33 +00:00
|
|
|
TextureCacheBase.h
|
2017-04-23 04:44:34 +00:00
|
|
|
TextureConfig.cpp
|
2019-05-29 09:40:33 +00:00
|
|
|
TextureConfig.h
|
2017-03-01 12:43:43 +00:00
|
|
|
TextureConversionShader.cpp
|
2019-05-29 09:40:33 +00:00
|
|
|
TextureConversionShader.h
|
2017-08-04 15:56:24 +00:00
|
|
|
TextureConverterShaderGen.cpp
|
2019-05-29 09:40:33 +00:00
|
|
|
TextureConverterShaderGen.h
|
|
|
|
TextureDecoder.h
|
2017-03-01 12:43:43 +00:00
|
|
|
TextureDecoder_Common.cpp
|
2019-05-29 09:40:33 +00:00
|
|
|
TextureDecoder_Util.h
|
|
|
|
UberShaderCommon.cpp
|
|
|
|
UberShaderCommon.h
|
|
|
|
UberShaderPixel.cpp
|
|
|
|
UberShaderPixel.h
|
|
|
|
UberShaderVertex.cpp
|
|
|
|
UberShaderVertex.h
|
2017-03-01 12:43:43 +00:00
|
|
|
VertexLoader.cpp
|
2019-05-29 09:40:33 +00:00
|
|
|
VertexLoader.h
|
2017-03-01 12:43:43 +00:00
|
|
|
VertexLoaderBase.cpp
|
2019-05-29 09:40:33 +00:00
|
|
|
VertexLoaderBase.h
|
2017-03-01 12:43:43 +00:00
|
|
|
VertexLoaderManager.cpp
|
2019-05-29 09:40:33 +00:00
|
|
|
VertexLoaderManager.h
|
|
|
|
VertexLoaderUtils.h
|
2017-03-01 12:43:43 +00:00
|
|
|
VertexLoader_Color.cpp
|
2019-05-29 09:40:33 +00:00
|
|
|
VertexLoader_Color.h
|
2017-03-01 12:43:43 +00:00
|
|
|
VertexLoader_Normal.cpp
|
2019-05-29 09:40:33 +00:00
|
|
|
VertexLoader_Normal.h
|
2017-03-01 12:43:43 +00:00
|
|
|
VertexLoader_Position.cpp
|
2019-05-29 09:40:33 +00:00
|
|
|
VertexLoader_Position.h
|
2017-03-01 12:43:43 +00:00
|
|
|
VertexLoader_TextCoord.cpp
|
2019-05-29 09:40:33 +00:00
|
|
|
VertexLoader_TextCoord.h
|
2017-03-01 12:43:43 +00:00
|
|
|
VertexManagerBase.cpp
|
2019-05-29 09:40:33 +00:00
|
|
|
VertexManagerBase.h
|
2017-03-01 12:43:43 +00:00
|
|
|
VertexShaderGen.cpp
|
2019-05-29 09:40:33 +00:00
|
|
|
VertexShaderGen.h
|
2017-03-01 12:43:43 +00:00
|
|
|
VertexShaderManager.cpp
|
2019-05-29 09:40:33 +00:00
|
|
|
VertexShaderManager.h
|
2017-03-01 12:43:43 +00:00
|
|
|
VideoBackendBase.cpp
|
2019-05-29 09:40:33 +00:00
|
|
|
VideoBackendBase.h
|
|
|
|
VideoCommon.h
|
2017-03-01 12:43:43 +00:00
|
|
|
VideoConfig.cpp
|
2019-05-29 09:40:33 +00:00
|
|
|
VideoConfig.h
|
2017-03-01 12:43:43 +00:00
|
|
|
VideoState.cpp
|
2019-05-29 09:40:33 +00:00
|
|
|
VideoState.h
|
2017-03-01 12:43:43 +00:00
|
|
|
XFMemory.cpp
|
2019-05-29 09:40:33 +00:00
|
|
|
XFMemory.h
|
2017-03-01 12:43:43 +00:00
|
|
|
XFStructs.cpp
|
2019-05-29 09:40:33 +00:00
|
|
|
XFStructs.h
|
2017-03-01 12:43:43 +00:00
|
|
|
)
|
|
|
|
|
2018-03-28 13:57:46 +00:00
|
|
|
target_link_libraries(videocommon
|
|
|
|
PUBLIC
|
2017-03-01 12:43:43 +00:00
|
|
|
core
|
2018-03-28 13:57:46 +00:00
|
|
|
PRIVATE
|
2017-03-01 12:43:43 +00:00
|
|
|
png
|
2018-03-28 21:00:49 +00:00
|
|
|
xxhash
|
2018-10-09 14:34:26 +00:00
|
|
|
imgui
|
2017-03-01 12:43:43 +00:00
|
|
|
)
|
2013-02-26 19:49:00 +00:00
|
|
|
|
2014-06-08 01:24:02 +00:00
|
|
|
if(_M_X86)
|
2018-03-28 13:57:46 +00:00
|
|
|
target_sources(videocommon PRIVATE
|
|
|
|
TextureDecoder_x64.cpp
|
|
|
|
VertexLoaderX64.cpp
|
2019-05-29 09:40:33 +00:00
|
|
|
VertexLoaderX64.h
|
2018-03-28 13:57:46 +00:00
|
|
|
)
|
2015-02-13 00:52:07 +00:00
|
|
|
elseif(_M_ARM_64)
|
2018-03-28 13:57:46 +00:00
|
|
|
target_sources(videocommon PRIVATE
|
|
|
|
VertexLoaderARM64.cpp
|
2019-05-29 09:40:33 +00:00
|
|
|
VertexLoaderARM64.h
|
2018-03-28 13:57:46 +00:00
|
|
|
TextureDecoder_Generic.cpp
|
|
|
|
)
|
2013-02-26 19:49:00 +00:00
|
|
|
else()
|
2018-03-28 13:57:46 +00:00
|
|
|
target_sources(videocommon PRIVATE
|
|
|
|
TextureDecoder_Generic.cpp
|
|
|
|
)
|
2011-12-05 04:26:28 +00:00
|
|
|
endif()
|
|
|
|
|
2017-05-22 19:13:19 +00:00
|
|
|
if(FFmpeg_FOUND)
|
2019-05-29 09:40:33 +00:00
|
|
|
target_sources(videocommon PRIVATE
|
2019-03-18 04:50:53 +00:00
|
|
|
FrameDump.cpp
|
|
|
|
FrameDump.h
|
2019-05-29 09:40:33 +00:00
|
|
|
)
|
2017-05-22 19:13:19 +00:00
|
|
|
target_link_libraries(videocommon PRIVATE
|
|
|
|
FFmpeg::avcodec
|
|
|
|
FFmpeg::avformat
|
|
|
|
FFmpeg::avutil
|
|
|
|
FFmpeg::swscale
|
|
|
|
)
|
2010-11-17 01:03:39 +00:00
|
|
|
endif()
|