mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
Software Backend: Fix xfb output and add vertical scaling support
This commit is contained in:
parent
e6d85b0915
commit
6e686f6ea1
14 changed files with 179 additions and 117 deletions
|
@ -4,6 +4,8 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include "Common/CommonTypes.h"
|
||||
|
||||
#include "VideoCommon/AbstractTexture.h"
|
||||
|
@ -23,6 +25,15 @@ public:
|
|||
const MathUtil::Rectangle<int>& dstrect) override;
|
||||
void Load(u32 level, u32 width, u32 height, u32 row_length, const u8* buffer,
|
||||
size_t buffer_size) override;
|
||||
|
||||
const u8* GetData() const;
|
||||
u8* GetData();
|
||||
|
||||
private:
|
||||
|
||||
std::optional<RawTextureInfo> MapFullImpl() override;
|
||||
|
||||
std::vector<u8> m_data;
|
||||
};
|
||||
|
||||
} // namespace SW
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue