summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/gl_buffer_cache.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-04-20RasterizerCache Redesign: Flush Fernando Sahmkow1-3/+3
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.
2019-03-21gpu: Move GPUVAddr definition to common_types.bunnei1-1/+1
2019-03-15gpu: Use host address for caching instead of guest address.bunnei1-7/+24
2018-11-17gl_rasterizer: Skip VB upload if the state is clean.Markus Wick1-1/+1
2018-11-08rasterizer_cache: Remove reliance on the System singletonLioncash1-1/+3
Rather than have a transparent dependency, we can make it explicit in the interface. This also gets rid of the need to put the core include in a header.
2018-10-16rasterizer_cache: Refactor to support in-order flushing.bunnei1-4/+4
2018-10-16rasterizer_cache: Reintroduce method for flushing.bunnei1-0/+3
2018-10-04gl_rasterizer: Implement quads topologyReinUsesLisp1-0/+7
2018-09-15Port #4182 from Citra: "Prefix all size_t with std::"fearlessTobi1-8/+8
2018-09-06gl_buffer_cache: Default initialize member variablesLioncash1-3/+3
Ensures that the cache always has a deterministic initial state.
2018-09-06gl_buffer_cache: Make GetHandle() a const member functionLioncash1-1/+1
GetHandle() internally calls GetHandle() on the stream_buffer instance, which is a const member function, so this can be made const as well.
2018-09-06gl_buffer_cache: Remove unnecessary includesLioncash1-1/+1
2018-09-06gl_buffer_cache: Make constructor explicitLioncash1-1/+1
Implicit conversions during construction isn't desirable here.
2018-09-05renderer_opengl: Implement a buffer cache.Markus Wick1-0/+57
The idea of this cache is to avoid redundant uploads. So we are going to cache the uploaded buffers within the stream_buffer and just reuse the old pointers. The next step is to implement a VBO cache on GPU memory, but for now, I want to check the overhead of the cache management. Fetching the buffer over PCI-E should be quite fast.