2018-03-28 13:57:46 +00:00
|
|
|
add_library(videocommon
|
2018-01-21 10:22:45 +00:00
|
|
|
AbstractFramebuffer.cpp
|
2017-10-21 14:49:40 +00:00
|
|
|
AbstractStagingTexture.cpp
|
2017-04-23 04:44:34 +00:00
|
|
|
AbstractTexture.cpp
|
2017-03-01 12:43:43 +00:00
|
|
|
AsyncRequests.cpp
|
2017-06-19 04:17:18 +00:00
|
|
|
AsyncShaderCompiler.cpp
|
2017-03-01 12:43:43 +00:00
|
|
|
BoundingBox.cpp
|
|
|
|
BPFunctions.cpp
|
|
|
|
BPMemory.cpp
|
|
|
|
BPStructs.cpp
|
|
|
|
CPMemory.cpp
|
|
|
|
CommandProcessor.cpp
|
|
|
|
DriverDetails.cpp
|
|
|
|
Fifo.cpp
|
|
|
|
FPSCounter.cpp
|
2019-02-15 01:59:50 +00:00
|
|
|
FramebufferManager.cpp
|
|
|
|
FramebufferShaderGen.cpp
|
2017-03-01 12:43:43 +00:00
|
|
|
GeometryShaderGen.cpp
|
|
|
|
GeometryShaderManager.cpp
|
|
|
|
HiresTextures.cpp
|
2017-04-16 09:30:11 +00:00
|
|
|
HiresTextures_DDSLoader.cpp
|
2017-03-01 12:43:43 +00:00
|
|
|
ImageWrite.cpp
|
|
|
|
IndexGenerator.cpp
|
|
|
|
LightingShaderGen.cpp
|
|
|
|
OnScreenDisplay.cpp
|
|
|
|
OpcodeDecoding.cpp
|
|
|
|
PerfQueryBase.cpp
|
|
|
|
PixelEngine.cpp
|
|
|
|
PixelShaderGen.cpp
|
|
|
|
PixelShaderManager.cpp
|
|
|
|
PostProcessing.cpp
|
|
|
|
RenderBase.cpp
|
|
|
|
RenderState.cpp
|
2018-02-24 15:15:35 +00:00
|
|
|
ShaderCache.cpp
|
2017-07-20 07:10:02 +00:00
|
|
|
ShaderGenCommon.cpp
|
2017-03-01 12:43:43 +00:00
|
|
|
Statistics.cpp
|
2017-07-20 05:25:24 +00:00
|
|
|
UberShaderCommon.cpp
|
|
|
|
UberShaderPixel.cpp
|
2017-07-20 05:25:27 +00:00
|
|
|
UberShaderVertex.cpp
|
2017-03-01 12:43:43 +00:00
|
|
|
TextureCacheBase.cpp
|
2017-04-23 04:44:34 +00:00
|
|
|
TextureConfig.cpp
|
2017-03-01 12:43:43 +00:00
|
|
|
TextureConversionShader.cpp
|
2017-08-04 15:56:24 +00:00
|
|
|
TextureConverterShaderGen.cpp
|
2017-03-01 12:43:43 +00:00
|
|
|
TextureDecoder_Common.cpp
|
|
|
|
VertexLoader.cpp
|
|
|
|
VertexLoaderBase.cpp
|
|
|
|
VertexLoaderManager.cpp
|
|
|
|
VertexLoader_Color.cpp
|
|
|
|
VertexLoader_Normal.cpp
|
|
|
|
VertexLoader_Position.cpp
|
|
|
|
VertexLoader_TextCoord.cpp
|
|
|
|
VertexManagerBase.cpp
|
|
|
|
VertexShaderGen.cpp
|
|
|
|
VertexShaderManager.cpp
|
|
|
|
VideoBackendBase.cpp
|
|
|
|
VideoConfig.cpp
|
|
|
|
VideoState.cpp
|
|
|
|
XFMemory.cpp
|
|
|
|
XFStructs.cpp
|
|
|
|
)
|
|
|
|
|
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
|
|
|
|
)
|
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
|
|
|
|
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)
|
|
|
|
target_sources(videocommon PRIVATE AVIDump.cpp)
|
|
|
|
target_link_libraries(videocommon PRIVATE
|
|
|
|
FFmpeg::avcodec
|
|
|
|
FFmpeg::avformat
|
|
|
|
FFmpeg::avutil
|
|
|
|
FFmpeg::swscale
|
|
|
|
)
|
2010-11-17 01:03:39 +00:00
|
|
|
endif()
|