diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2023-04-15 00:03:48 +0200 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2023-04-23 04:48:50 +0200 |
commit | fca72beb2db658e84ceac6e1f46f682bcacf8f25 (patch) | |
tree | b2139045203240661f924a1cbaec017ca666d16a /src/video_core/renderer_opengl | |
parent | Merge pull request #10074 from Kelebek1/fermi_blit (diff) | |
download | yuzu-fca72beb2db658e84ceac6e1f46f682bcacf8f25.tar yuzu-fca72beb2db658e84ceac6e1f46f682bcacf8f25.tar.gz yuzu-fca72beb2db658e84ceac6e1f46f682bcacf8f25.tar.bz2 yuzu-fca72beb2db658e84ceac6e1f46f682bcacf8f25.tar.lz yuzu-fca72beb2db658e84ceac6e1f46f682bcacf8f25.tar.xz yuzu-fca72beb2db658e84ceac6e1f46f682bcacf8f25.tar.zst yuzu-fca72beb2db658e84ceac6e1f46f682bcacf8f25.zip |
Diffstat (limited to 'src/video_core/renderer_opengl')
-rw-r--r-- | src/video_core/renderer_opengl/gl_fence_manager.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_fence_manager.h b/src/video_core/renderer_opengl/gl_fence_manager.h index f1446e732..e21b19dcc 100644 --- a/src/video_core/renderer_opengl/gl_fence_manager.h +++ b/src/video_core/renderer_opengl/gl_fence_manager.h @@ -30,7 +30,17 @@ private: }; using Fence = std::shared_ptr<GLInnerFence>; -using GenericFenceManager = VideoCommon::FenceManager<Fence, TextureCache, BufferCache, QueryCache>; + +struct FenceManagerParams { + using FenceType = Fence; + using BufferCacheType = BufferCache; + using TextureCacheType = TextureCache; + using QueryCacheType = QueryCache; + + static constexpr bool HAS_ASYNC_CHECK = false; +}; + +using GenericFenceManager = VideoCommon::FenceManager<FenceManagerParams>; class FenceManagerOpenGL final : public GenericFenceManager { public: |