summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/gl_global_cache.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* gl_rasterizer: Drop gl_global_cache in favor of gl_buffer_cacheReinUsesLisp2019-07-061-82/+0
|
* Rasterizer Cache: Use a temporal storage for Surfaces loading/flushing.Fernando Sahmkow2019-04-211-1/+0
| | | | | This PR should heavily reduce memory usage since temporal buffers are no longer stored per Surface but instead managed by the Rasterizer Cache.
* RasterizerCache Redesign: Flush Fernando Sahmkow2019-04-201-1/+7
| | | | | | flushing is now responsability of children caches instead of the cache object. This change will allow the specific cache to pass extra parameters on flushing and will allow more flexibility.
* shader_ir: Implement STG, keep track of global memory usage and flushReinUsesLisp2019-04-141-7/+9
|
* gpu: Move GPUVAddr definition to common_types.bunnei2019-03-211-1/+1
|
* video_core: Refactor to use MemoryManager interface for all memory access.bunnei2019-03-161-3/+3
| | | | | | | | | | | # Conflicts: # src/video_core/engines/kepler_memory.cpp # src/video_core/engines/maxwell_3d.cpp # src/video_core/morton.cpp # src/video_core/morton.h # src/video_core/renderer_opengl/gl_global_cache.cpp # src/video_core/renderer_opengl/gl_global_cache.h # src/video_core/renderer_opengl/gl_rasterizer_cache.cpp
* gpu: Use host address for caching instead of guest address.bunnei2019-03-151-8/+5
|
* renderer_opengl/gl_global_cache: Replace indexing for assignment with insert_or_assignLioncash2019-03-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | The previous code had some minor issues with it, really not a big deal, but amending it is basically 'free', so I figured, "why not?". With the standard container maps, when: map[key] = thing; is done, this can cause potentially undesirable behavior in certain scenarios. In particular, if there's no value associated with the key, then the map constructs a default initialized instance of the value type. In this case, since it's a std::shared_ptr (as a type alias) that is the value type, this will construct a std::shared_pointer, and then assign over it (with objects that are quite large, or actively heap allocate this can be extremely undesirable). We also make the function take the region by value, as we can avoid a copy (and by extension with std::shared_ptr, a copy causes an atomic reference count increment), in certain scenarios when ownership isn't a concern (i.e. when ReserveGlobalRegion is called with an rvalue reference, then no copy at all occurs). So, it's more-or-less a "free" gain without many downsides.
* renderer_opengl/gl_global_cache: Append missing override specifiersLioncash2019-03-111-2/+2
| | | | | Two of the functions here are overridden functions, so we can append these specifiers to make it explicit.
* gl_rasterizer: Implement global memory managementReinUsesLisp2019-01-301-0/+18
|
* gl_global_cache: Add dummy global cache managerReinUsesLisp2019-01-081-0/+60