Video Common: Avoid 'presenting' duplicate frames by detecting when swap

hasn't changed since the last frame
This commit is contained in:
iwubcode
2017-08-20 14:24:37 -05:00
parent c58010404d
commit e6d85b0915
4 changed files with 6 additions and 3 deletions

View File

@ -89,6 +89,7 @@ public:
bool is_xfb_copy = false;
float y_scale = 1.0f;
float gamma = 1.0f;
u64 id;
unsigned int native_width,
native_height; // Texture dimensions from the GameCube's point of view
@ -268,6 +269,7 @@ private:
TexAddrCache textures_by_address;
TexHashCache textures_by_hash;
TexPool texture_pool;
u64 last_entry_id = 0;
// Backup configuration values
struct BackupConfig