diff options
| author | Scott Mansell <phiren@gmail.com> | 2015-09-07 00:10:42 +1200 |
|---|---|---|
| committer | Scott Mansell <phiren@gmail.com> | 2015-09-07 00:10:42 +1200 |
| commit | c08a83a5aae41e7c8904295cfa62f932ea87ce02 (patch) | |
| tree | b68a913ead1727132fbbb3f4a1bd472f47b9cb1e /Source/Core/VideoCommon/BPFunctions.cpp | |
| parent | be4caa3dc025d18d57cf53b27e505c19bb70544e (diff) | |
| parent | d797b5d0b55e6354af6ba66942b9a6766087e5f9 (diff) | |
Merge pull request #2957 from phire/unify_efbcopy
Cleanup and unify efb copy implemtations into VideoCommon
Diffstat (limited to 'Source/Core/VideoCommon/BPFunctions.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/BPFunctions.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/Source/Core/VideoCommon/BPFunctions.cpp b/Source/Core/VideoCommon/BPFunctions.cpp index 4150a7cf31..e4b5f54901 100644 --- a/Source/Core/VideoCommon/BPFunctions.cpp +++ b/Source/Core/VideoCommon/BPFunctions.cpp @@ -9,7 +9,6 @@ #include "VideoCommon/BPFunctions.h" #include "VideoCommon/RenderBase.h" -#include "VideoCommon/TextureCacheBase.h" #include "VideoCommon/VertexManagerBase.h" #include "VideoCommon/VertexShaderManager.h" #include "VideoCommon/VideoConfig.h" @@ -85,15 +84,6 @@ void SetColorMask() g_renderer->SetColorMask(); } -void CopyEFB(u32 dstAddr, const EFBRectangle& srcRect, - unsigned int dstFormat, PEControl::PixelFormat srcFormat, - bool isIntensity, bool scaleByHalf) -{ - // bpmem.zcontrol.pixel_format to PEControl::Z24 is when the game wants to copy from ZBuffer (Zbuffer uses 24-bit Format) - TextureCache::CopyRenderTargetToTexture(dstAddr, dstFormat, srcFormat, - srcRect, isIntensity, scaleByHalf); -} - /* Explanation of the magic behind ClearScreen: There's numerous possible formats for the pixel data in the EFB. However, in the HW accelerated backends we're always using RGBA8 |
