mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-03 04:52:14 +01:00
Custom drivers that target Mali's kbase kernel interface exist now, and AdrenoTools can load them the same way it loads Turnip. Offer the driver manager when /dev/mali0 exists, not just /dev/kgsl-3d0, like Dolphin does (dolphin-emu/dolphin#14958). The manager is now called "Custom driver manager", and the Turnip flags are only shown on Adreno. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
31 lines
871 B
C++
31 lines
871 B
C++
#pragma once
|
|
|
|
#include "ppsspp_config.h"
|
|
|
|
#include "Common/UI/UIScreen.h"
|
|
#include "UI/BaseScreens.h"
|
|
#include "UI/TabbedDialogScreen.h"
|
|
|
|
// Whether custom Vulkan drivers can be loaded through AdrenoTools. Works on Adreno (KGSL)
|
|
// and on Mali (kbase), for drivers that target those kernel interfaces.
|
|
bool SupportsCustomDriver();
|
|
|
|
// Per-game settings screen - enables you to configure graphic options, control options, etc
|
|
// per game.
|
|
class DriverManagerScreen : public UITabbedBaseDialogScreen {
|
|
public:
|
|
DriverManagerScreen(const Path &gamePath);
|
|
|
|
const char *tag() const override { return "DriverManagerScreen"; }
|
|
|
|
protected:
|
|
void CreateTabs() override;
|
|
|
|
private:
|
|
void OnCustomDriverInstall(UI::EventParams &e);
|
|
void OnCustomDriverUninstall(UI::EventParams &e);
|
|
void OnCustomDriverChange(UI::EventParams &e);
|
|
|
|
void CreateDriverTab(UI::ViewGroup *drivers);
|
|
};
|