summaryrefslogtreecommitdiffstats
path: root/src/core/frontend
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2023-02-19 08:42:07 +0100
committerbunnei <bunneidev@gmail.com>2023-06-03 09:05:31 +0200
commit4c38220a644f8292f4915eaabb2f80d3d0badab0 (patch)
treed6a2291e26e3723ec0e3124f9bb117487dd3966c /src/core/frontend
parentcore: frontend: Refactor GraphicsContext to its own module. (diff)
downloadyuzu-4c38220a644f8292f4915eaabb2f80d3d0badab0.tar
yuzu-4c38220a644f8292f4915eaabb2f80d3d0badab0.tar.gz
yuzu-4c38220a644f8292f4915eaabb2f80d3d0badab0.tar.bz2
yuzu-4c38220a644f8292f4915eaabb2f80d3d0badab0.tar.lz
yuzu-4c38220a644f8292f4915eaabb2f80d3d0badab0.tar.xz
yuzu-4c38220a644f8292f4915eaabb2f80d3d0badab0.tar.zst
yuzu-4c38220a644f8292f4915eaabb2f80d3d0badab0.zip
Diffstat (limited to 'src/core/frontend')
-rw-r--r--src/core/frontend/graphics_context.h17
1 files changed, 5 insertions, 12 deletions
diff --git a/src/core/frontend/graphics_context.h b/src/core/frontend/graphics_context.h
index 064b19a96..7554c1583 100644
--- a/src/core/frontend/graphics_context.h
+++ b/src/core/frontend/graphics_context.h
@@ -3,8 +3,9 @@
#pragma once
-#include <optional>
-#include <string>
+#include <memory>
+
+#include "common/dynamic_library.h"
namespace Core::Frontend {
@@ -24,16 +25,8 @@ public:
/// Releases (dunno if this is the "right" word) the context from the caller thread
virtual void DoneCurrent() {}
- /// Parameters used to configure custom drivers (used by Android only)
- struct CustomDriverParameters {
- std::string hook_lib_dir;
- std::string custom_driver_dir;
- std::string custom_driver_name;
- std::string file_redirect_dir;
- };
-
- /// Gets custom driver parameters configured by the frontend (used by Android only)
- virtual std::optional<CustomDriverParameters> GetCustomDriverParameters() {
+ /// Gets the GPU driver library (used by Android only)
+ virtual std::shared_ptr<Common::DynamicLibrary> GetDriverLibrary() {
return {};
}