diff options
author | bunnei <bunneidev@gmail.com> | 2018-04-24 06:46:51 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-04-25 04:31:46 +0200 |
commit | fbb3cd110c598003bf58a2aca5be489b5f3fb772 (patch) | |
tree | 570d425c25583a3609d719e3b5f495a5dbbf00b1 /src/video_core/renderer_opengl/gl_rasterizer_cache.h | |
parent | gl_rasterizer_cache: Handle compressed texture sizes. (diff) | |
download | yuzu-fbb3cd110c598003bf58a2aca5be489b5f3fb772.tar yuzu-fbb3cd110c598003bf58a2aca5be489b5f3fb772.tar.gz yuzu-fbb3cd110c598003bf58a2aca5be489b5f3fb772.tar.bz2 yuzu-fbb3cd110c598003bf58a2aca5be489b5f3fb772.tar.lz yuzu-fbb3cd110c598003bf58a2aca5be489b5f3fb772.tar.xz yuzu-fbb3cd110c598003bf58a2aca5be489b5f3fb772.tar.zst yuzu-fbb3cd110c598003bf58a2aca5be489b5f3fb772.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_rasterizer_cache.h')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer_cache.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer_cache.h b/src/video_core/renderer_opengl/gl_rasterizer_cache.h index 08858bab4..dfddcce90 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer_cache.h +++ b/src/video_core/renderer_opengl/gl_rasterizer_cache.h @@ -411,6 +411,9 @@ public: Surface GetSurface(const SurfaceParams& params, ScaleMatch match_res_scale, bool load_if_create); + /// Tries to find a framebuffer GPU address based on the provided CPU address + boost::optional<Tegra::GPUVAddr> TryFindFramebufferGpuAddress(VAddr cpu_addr) const; + /// Attempt to find a subrect (resolution scaled) of a surface, otherwise loads a texture from /// Switch memory to OpenGL and caches it (if not already cached) SurfaceRect_Tuple GetSurfaceSubRect(const SurfaceParams& params, ScaleMatch match_res_scale, |