summaryrefslogtreecommitdiff
path: root/src/video_core/gpu.h
diff options
context:
space:
mode:
authorGravatar bunnei2020-02-13 20:18:26 -0500
committerGravatar GitHub2020-02-13 20:18:26 -0500
commit3563af2364a08db21e95ca1ac344f34251bfa27b (patch)
tree36cc82478d46104db82f64b3bd8f14bb53cb6763 /src/video_core/gpu.h
parentMerge pull request #3405 from lioncash/thread (diff)
parentGPU: Address Feedback. (diff)
downloadyuzu-3563af2364a08db21e95ca1ac344f34251bfa27b.tar.gz
yuzu-3563af2364a08db21e95ca1ac344f34251bfa27b.tar.xz
yuzu-3563af2364a08db21e95ca1ac344f34251bfa27b.zip
Merge pull request #3395 from FernandoS27/queries
GPU: Refactor queries implementation and correct GPU Clock.
Diffstat (limited to 'src/video_core/gpu.h')
-rw-r--r--src/video_core/gpu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/gpu.h b/src/video_core/gpu.h
index b648317bb..07727210c 100644
--- a/src/video_core/gpu.h
+++ b/src/video_core/gpu.h
@@ -192,6 +192,8 @@ public:
192 192
193 bool CancelSyncptInterrupt(u32 syncpoint_id, u32 value); 193 bool CancelSyncptInterrupt(u32 syncpoint_id, u32 value);
194 194
195 u64 GetTicks() const;
196
195 std::unique_lock<std::mutex> LockSync() { 197 std::unique_lock<std::mutex> LockSync() {
196 return std::unique_lock{sync_mutex}; 198 return std::unique_lock{sync_mutex};
197 } 199 }