mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
Defer texture invalidation to the video thread from the video configuration dialog. Should fix issue 4069
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7108 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
f0adc3adb4
commit
1f0663c1a8
5 changed files with 17 additions and 7 deletions
|
@ -75,6 +75,7 @@ public:
|
|||
static void Cleanup();
|
||||
|
||||
static void Invalidate(bool shutdown);
|
||||
static void InvalidateDefer();
|
||||
static void InvalidateRange(u32 start_address, u32 size);
|
||||
static void MakeRangeDynamic(u32 start_address, u32 size);
|
||||
static void ClearRenderTargets(); // currently only used by OGL
|
||||
|
@ -89,7 +90,7 @@ public:
|
|||
static void CopyRenderTargetToTexture(u32 address, bool bFromZBuffer, bool bIsIntensityFmt,
|
||||
u32 copyfmt, bool bScaleByHalf, const EFBRectangle &source_rect);
|
||||
|
||||
static Common::CriticalSection texMutex;
|
||||
static bool DeferredInvalidate;
|
||||
|
||||
protected:
|
||||
TextureCache();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue