From 2cdc93f4ab690279df064832d4c9688741556f0c Mon Sep 17 00:00:00 2001 From: iwubcode Date: Sat, 22 Apr 2017 23:44:34 -0500 Subject: Video Backends: Split texture cache code out into separate files, introduce 'AbstractTexture' --- Source/Core/VideoBackends/Software/SWTexture.cpp | 28 ++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Source/Core/VideoBackends/Software/SWTexture.cpp (limited to 'Source/Core/VideoBackends/Software/SWTexture.cpp') diff --git a/Source/Core/VideoBackends/Software/SWTexture.cpp b/Source/Core/VideoBackends/Software/SWTexture.cpp new file mode 100644 index 0000000000..164c0d5314 --- /dev/null +++ b/Source/Core/VideoBackends/Software/SWTexture.cpp @@ -0,0 +1,28 @@ +// Copyright 2017 Dolphin Emulator Project +// Licensed under GPLv2+ +// Refer to the license.txt file included. + +#include "VideoBackends/Software/SWTexture.h" + +namespace SW +{ +SWTexture::SWTexture(const TextureConfig& tex_config) : AbstractTexture(tex_config) +{ +} + +void SWTexture::Bind(unsigned int stage) +{ +} + +void SWTexture::CopyRectangleFromTexture(const AbstractTexture* source, + const MathUtil::Rectangle& srcrect, + const MathUtil::Rectangle& dstrect) +{ +} + +void SWTexture::Load(u32 level, u32 width, u32 height, u32 row_length, const u8* buffer, + size_t buffer_size) +{ +} + +} // namespace SW -- cgit v1.2.3