summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/gl_stream_buffer.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* gl_stream_buffer: Use InvalidateBufferData instead unmap and mapReinUsesLisp2020-06-241-1/+0
| | | | | | | Making the stream buffer resident increases GPU usage significantly on some games. This seems to be addressed invalidating the stream buffer with InvalidateBufferData instead of using a Unmap + Map (with invalidation flags).
* gl_buffer_cache: Mark buffers as residentReinUsesLisp2020-06-241-2/+9
| | | | | | Make stream buffer and cached buffers as resident and query their address. This allows us to use GPU addresses for several proprietary Nvidia extensions.
* gl_stream_buffer: Always use a non-coherent bufferReinUsesLisp2020-06-241-3/+1
|
* gl_stream_buffer: Always use persistent memory mapsReinUsesLisp2020-06-241-3/+1
| | | | yuzu no longer supports platforms without persistent maps.
* buffer_cache: Avoid passing references of shared pointers and misc style changesReinUsesLisp2020-06-091-3/+8
| | | | | | | | | Instead of using as template argument a shared pointer, use the underlying type and manage shared pointers explicitly. This can make removing shared pointers from the cache more easy. While we are at it, make some misc style changes and general improvements (like insert_or_assign instead of operator[] + operator=).
* video_core: Make ARB_buffer_storage a required extensionReinUsesLisp2019-06-211-1/+2
|
* gl_stream_buffer: Use DSA for buffer managementReinUsesLisp2019-01-061-2/+1
|
* renderer_opengl: Namespace OpenGL codeLioncash2018-08-221-0/+4
| | | | | | | Namespaces all OpenGL code under the OpenGL namespace. Prevents polluting the global namespace and allows clear distinction between other renderers' code in the future.
* gl_stream_buffer: Add missing header guardLioncash2018-08-211-0/+2
| | | | | Prevents potential compilation errors from occuring due to multiple inclusions
* Update the stream_buffer helper from Citra.Markus Wick2018-08-121-18/+24
| | | | Please see https://github.com/citra-emu/citra/pull/3666 for more details.
* renderer_opengl: Add missing header guardsLioncash2018-04-201-0/+2
|
* renderer_gl: Port over gl_stream_buffer module from Citra.bunnei2018-03-201-0/+34