diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-10-02 05:10:55 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-10-03 06:35:57 +0200 |
commit | 6c0d90237371c9adbe80a26c3e4f53b35ea57a0e (patch) | |
tree | e6f143052a75856d401565fec173bf964d7ed032 /src/video_core/gpu.h | |
parent | gpu: Migrate implementation to the cpp file (diff) | |
download | yuzu-6c0d90237371c9adbe80a26c3e4f53b35ea57a0e.tar yuzu-6c0d90237371c9adbe80a26c3e4f53b35ea57a0e.tar.gz yuzu-6c0d90237371c9adbe80a26c3e4f53b35ea57a0e.tar.bz2 yuzu-6c0d90237371c9adbe80a26c3e4f53b35ea57a0e.tar.lz yuzu-6c0d90237371c9adbe80a26c3e4f53b35ea57a0e.tar.xz yuzu-6c0d90237371c9adbe80a26c3e4f53b35ea57a0e.tar.zst yuzu-6c0d90237371c9adbe80a26c3e4f53b35ea57a0e.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/gpu.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/video_core/gpu.h b/src/video_core/gpu.h index 39b304823..05e5c94f3 100644 --- a/src/video_core/gpu.h +++ b/src/video_core/gpu.h @@ -5,22 +5,12 @@ #pragma once #include <memory> -#include <mutex> #include "common/bit_field.h" #include "common/common_types.h" #include "video_core/cdma_pusher.h" #include "video_core/framebuffer_config.h" -using CacheAddr = std::uintptr_t; -[[nodiscard]] inline CacheAddr ToCacheAddr(const void* host_ptr) { - return reinterpret_cast<CacheAddr>(host_ptr); -} - -[[nodiscard]] inline u8* FromCacheAddr(CacheAddr cache_addr) { - return reinterpret_cast<u8*>(cache_addr); -} - namespace Core { namespace Frontend { class EmuWindow; @@ -230,8 +220,6 @@ public: [[nodiscard]] u64 GetTicks() const; - [[nodiscard]] std::unique_lock<std::mutex> LockSync(); - [[nodiscard]] bool IsAsync() const; [[nodiscard]] bool UseNvdec() const; |