summaryrefslogtreecommitdiffstats
path: root/src/video_core/buffer_cache (follow)
Commit message (Collapse)AuthorAgeFilesLines
* buffer_cache: Delay buffer destructionsReinUsesLisp2020-01-291-1/+4
| | | | | | Delay buffer destruction some extra frames to avoid destroying buffers that are still being used from older frames. This happens on Nvidia's driver with mailbox.
* buffer_cache: Remove brace initialized for objects with default constructorReinUsesLisp2019-11-201-10/+10
|
* buffer_cache: Add missing includes (#3079)Morph2019-11-071-0/+4
| | | | `boost::make_iterator_range` is available when `boost/range/iterator_range.hpp` is included. Also include `boost/icl/interval_map.hpp` and `boost/icl/interval_set.hpp`.
* gl_rasterizer: Upload constant buffers with glNamedBufferSubDataReinUsesLisp2019-11-021-3/+11
| | | | | | | | | | | | | | | | Nvidia's OpenGL driver maps gl(Named)BufferSubData with some requirements to a fast. This path has an extra memcpy but updates the buffer without orphaning or waiting for previous calls. It can be seen as a better model for "push constants" that can upload a whole UBO instead of 256 bytes. This path has some requirements established here: http://on-demand.gputechconf.com/gtc/2014/presentations/S4379-opengl-44-scene-rendering-techniques.pdf#page=24 Instead of using the stream buffer, this commits moves constant buffers uploads to calls of glNamedBufferSubData and from my testing it brings a performance improvement. This is disabled when the vendor is not Nvidia since it brings performance regressions.
* video_core: Silent miscellaneous warnings (#2820)Rodrigo Locatti2019-08-302-8/+5
| | | | | | | | | | | | | | | | | | | | | | | | * texture_cache/surface_params: Remove unused local variable * rasterizer_interface: Add missing documentation commentary * maxwell_dma: Remove unused rasterizer reference * video_core/gpu: Sort member declaration order to silent -Wreorder warning * fermi_2d: Remove unused MemoryManager reference * video_core: Silent unused variable warnings * buffer_cache: Silent -Wreorder warnings * kepler_memory: Remove unused MemoryManager reference * gl_texture_cache: Add missing override * buffer_cache: Add missing include * shader/decode: Remove unused variables
* Buffer Cache: Adress Feedback.Fernando Sahmkow2019-08-211-4/+3
|
* Buffer_Cache: Implement flushing.Fernando Sahmkow2019-08-211-1/+26
|
* Buffer_Cache: Implement barriers.Fernando Sahmkow2019-08-211-0/+4
|
* Buffer_Cache: Optimize and track written areas.Fernando Sahmkow2019-08-212-12/+104
|
* BufferCache: Rework mapping caching.Fernando Sahmkow2019-08-212-49/+76
|
* Buffer_Cache: Fixes and optimizations.Fernando Sahmkow2019-08-212-68/+38
|
* Video_Core: Implement a new Buffer CacheFernando Sahmkow2019-08-213-0/+498