Files
ppsspp/UI/DriverManagerScreen.h
T
Henrik RydgårdandClaude Opus 5.5 60b053d7be Android: Allow custom Vulkan drivers on Mali too
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>
2026-10-31 16:44:27 +01:00

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);
};