GPU: Implement guest driver profile and deduce texture handler sizes.

This commit is contained in:
Fernando Sahmkow 2020-01-03 16:16:29 -04:00 committed by FernandoS27
parent a104b985a8
commit c921e496eb
13 changed files with 127 additions and 0 deletions

View file

@ -9,6 +9,7 @@
#include "common/common_types.h"
#include "video_core/engines/fermi_2d.h"
#include "video_core/gpu.h"
#include "video_core/guest_driver.h"
namespace Tegra {
class MemoryManager;
@ -78,5 +79,12 @@ public:
/// Initialize disk cached resources for the game being emulated
virtual void LoadDiskResources(const std::atomic_bool& stop_loading = false,
const DiskResourceLoadCallback& callback = {}) {}
GuestDriverProfile& AccessGuestDriverProfile() {
return guest_driver_profile;
}
private:
GuestDriverProfile guest_driver_profile{};
};
} // namespace VideoCore