Fix another bug introduced by r6301: Using observer variables now to check for ring buffer wraps.
Small performance improvements by increasing the ring buffer size and using a better offset algorithm.
Fix a small but severe and stupid bug introduced by r6301…
DX11: Use a ring buffer in the utility functions for speedup.
Main change: Implemented EFB pokes in DX9/DX11.
Games affected by this change: Mario Smash Football, Mario Strikers Charged Football, Monster Hunter Tri.
Other games possibly affected: Shaun White Snowboarding, Resident Evil Code: Veronica, Baten Kaitos.
This implementation will decrease performance if the game uses this feature, but the glitches will be gone. I’ll add an option for this in a later commit. EFB pokes are somewhat slow in DX11 right now, speed should be okayish in DX9 though.
— SOMEWHAT cleaned up the EFB access code in DX9
— Fixed incompatible parameter list of AccessEFB and TVideo_AccessEFB.
— Fixed a theoretical bug in ReplaceRGBATexture2D, add support for STAGING textures
— Removed unused parameters in various DX9 functions