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