summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/gl_stream_buffer.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-06-24gl_stream_buffer: Use InvalidateBufferData instead unmap and mapReinUsesLisp1-14/+5
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).
2020-06-24gl_buffer_cache: Mark buffers as residentReinUsesLisp1-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.
2020-06-24gl_stream_buffer: Always use a non-coherent bufferReinUsesLisp1-11/+9
2020-06-24gl_stream_buffer: Always use persistent memory mapsReinUsesLisp1-27/+13
yuzu no longer supports platforms without persistent maps.
2020-06-09buffer_cache: Avoid passing references of shared pointers and misc style changesReinUsesLisp1-8/+0
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=).
2020-02-28gl_state: Remove completelyReinUsesLisp1-1/+0
2019-06-21video_core: Make ARB_buffer_storage a required extensionReinUsesLisp1-2/+3
2019-01-06gl_stream_buffer: Use DSA for buffer managementReinUsesLisp1-14/+12
2018-11-06gl_stream_buffer: Profile orphaning of stream buffer.Markus Wick1-0/+5
This serialize to the driver thread and so it may block for a while. So if it is in the benchmark, we get noticed if it happens too often.
2018-09-21gl_stream_buffer: Fix use of bitwise OR instead of logical OR in Map()Lioncash1-1/+1
This was very likely intended to be a logical OR based off the conditioning and testing of inversion in one case. Even if this was intentional, this is the kind of non-obvious thing one should be clarifying with a comment.
2018-09-15Port #4182 from Citra: "Prefix all size_t with std::"fearlessTobi1-1/+1
2018-09-09video_core: fixed arithmetic overflow warnings & improved code stylePatrick Elsässer1-1/+1
- Fixed all warnings, for renderer_opengl items, which were indicating a possible incorrect behavior from integral promotion rules and types larger than those in which arithmetic is typically performed. - Added const for variables where possible and meaningful. - Added constexpr where possible.
2018-08-22renderer_opengl: Namespace OpenGL codeLioncash1-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.
2018-08-12Update the stream_buffer helper from Citra.Markus Wick1-142/+59
Please see https://github.com/citra-emu/citra/pull/3666 for more details.
2018-03-20renderer_gl: Port over gl_stream_buffer module from Citra.bunnei1-0/+182