mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-15 23:08:51 +00:00
Implement scaled partial texture updates
This commit is contained in:
parent
8d69c2b4b7
commit
d8cd2c3252
7 changed files with 211 additions and 43 deletions
|
@ -26,7 +26,10 @@ private:
|
|||
TCacheEntry(const TCacheEntryConfig& config, D3DTexture2D *_tex) : TCacheEntryBase(config), texture(_tex) {}
|
||||
~TCacheEntry();
|
||||
|
||||
void DoPartialTextureUpdate(TCacheEntryBase* entry, u32 x, u32 y) override;
|
||||
void CopyRectangleFromTexture(
|
||||
const TCacheEntryBase* source,
|
||||
const MathUtil::Rectangle<int> &srcrect,
|
||||
const MathUtil::Rectangle<int> &dstrect) override;
|
||||
|
||||
void Load(unsigned int width, unsigned int height,
|
||||
unsigned int expanded_width, unsigned int levels) override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue