summaryrefslogtreecommitdiff
path: root/src/video_core/gpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_core/gpu.h')
-rw-r--r--src/video_core/gpu.h12
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 @@
5#pragma once 5#pragma once
6 6
7#include <memory> 7#include <memory>
8#include <mutex>
9 8
10#include "common/bit_field.h" 9#include "common/bit_field.h"
11#include "common/common_types.h" 10#include "common/common_types.h"
12#include "video_core/cdma_pusher.h" 11#include "video_core/cdma_pusher.h"
13#include "video_core/framebuffer_config.h" 12#include "video_core/framebuffer_config.h"
14 13
15using CacheAddr = std::uintptr_t;
16[[nodiscard]] inline CacheAddr ToCacheAddr(const void* host_ptr) {
17 return reinterpret_cast<CacheAddr>(host_ptr);
18}
19
20[[nodiscard]] inline u8* FromCacheAddr(CacheAddr cache_addr) {
21 return reinterpret_cast<u8*>(cache_addr);
22}
23
24namespace Core { 14namespace Core {
25namespace Frontend { 15namespace Frontend {
26class EmuWindow; 16class EmuWindow;
@@ -230,8 +220,6 @@ public:
230 220
231 [[nodiscard]] u64 GetTicks() const; 221 [[nodiscard]] u64 GetTicks() const;
232 222
233 [[nodiscard]] std::unique_lock<std::mutex> LockSync();
234
235 [[nodiscard]] bool IsAsync() const; 223 [[nodiscard]] bool IsAsync() const;
236 224
237 [[nodiscard]] bool UseNvdec() const; 225 [[nodiscard]] bool UseNvdec() const;