summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines/kepler_memory.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* DMA & InlineToMemory Engines Rework.bunnei2022-10-061-4/+9
|
* general: Convert source file copyright comments over to SPDXMorph2022-04-231-3/+2
| | | | | This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
* video_core: Reduce unused includesameerj2022-03-191-2/+0
|
* Rasterizer: Implement Inline2Memory Acceleration.Fernando Sahmkow2022-01-291-0/+4
|
* video_core: Reimplement the buffer cacheReinUsesLisp2021-02-131-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Reimplement the buffer cache using cached bindings and page level granularity for modification tracking. This also drops the usage of shared pointers and virtual functions from the cache. - Bindings are cached, allowing to skip work when the game changes few bits between draws. - OpenGL Assembly shaders no longer copy when a region has been modified from the GPU to emulate constant buffers, instead GL_EXT_memory_object is used to alias sub-buffers within the same allocation. - OpenGL Assembly shaders stream constant buffer data using glProgramBufferParametersIuivNV, from NV_parameter_buffer_object. In theory this should save one hash table resolve inside the driver compared to glBufferSubData. - A new OpenGL stream buffer is implemented based on fences for drivers that are not Nvidia's proprietary, due to their low performance on partial glBufferSubData calls synchronized with 3D rendering (that some games use a lot). - Most optimizations are shared between APIs now, allowing Vulkan to cache more bindings than before, skipping unnecesarry work. This commit adds the necessary infrastructure to use Vulkan object from OpenGL. Overall, it improves performance and fixes some bugs present on the old cache. There are still some edge cases hit by some games that harm performance on some vendors, this are planned to be fixed in later commits.
* video_core: Resolve more variable shadowing scenariosLioncash2020-12-041-2/+2
| | | | | | Resolves variable shadowing scenarios up to the end of the OpenGL code to make it nicer to review. The rest will be resolved in a following commit.
* VideoCore/Engines: Refactor Engines CallMethod.Fernando Sahmkow2020-04-281-7/+6
|
* Clang Format.Fernando Sahmkow2020-04-231-1/+2
|
* DMAPusher: Propagate multimethod writes into the engines.Fernando Sahmkow2020-04-231-0/+6
|
* video_core: Reintroduce dirty flags infrastructureReinUsesLisp2020-02-281-0/+3
|
* gl_rasterizer: Remove dirty flagsReinUsesLisp2020-02-281-3/+0
|
* video_core: Silent miscellaneous warnings (#2820)Rodrigo Locatti2019-08-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | * 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
* Maxwell3D: Rework the dirty system to be more consistant and scaleableFernando Sahmkow2019-07-171-1/+1
|
* Corrections and stylingFernando Sahmkow2019-04-231-1/+1
|
* Revamp Kepler Memory to use a subegine to manage uploadsFernando Sahmkow2019-04-231-37/+8
|
* Use WriteBlock and ReadBlock.Fernando Sahmkow2019-04-161-10/+6
|
* Implement Block Linear copies in Kepler Memory.Fernando Sahmkow2019-04-161-5/+14
|
* Correct Kepler Memory on Linear Pushes.Fernando Sahmkow2019-04-151-14/+26
|
* video_core/engines: Make memory manager members privateLioncash2019-04-061-1/+1
| | | | | These aren't used externally by anything, so they can be made private data members.
* video_core/engines: Remove unnecessary inclusions where applicableLioncash2019-04-061-1/+1
| | | | | | Replaces header inclusions with forward declarations where applicable and also removes unused headers within the cpp file. This reduces a few more dependencies on core/memory.h
* gpu: Rewrite virtual memory manager using PageTable.bunnei2019-03-211-1/+1
|
* video_core: Refactor to use MemoryManager interface for all memory access.bunnei2019-03-161-10/+5
| | | | | | | | | | | # 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-1/+3
|
* gpu: Move command processing to another thread.bunnei2019-03-071-1/+1
|
* video_core: Remove usages of System::GetInstance() within the enginesLioncash2019-02-161-3/+4
| | | | | Avoids the use of the global accessor in favor of explicitly making the system a dependency within the interface.
* video_core: Assert on invalid GPU to CPU address queriesReinUsesLisp2019-02-031-5/+6
|
* gpu: Rewrite GPU command list processing with DmaPusher class.bunnei2018-11-271-5/+5
| | | | - More accurate impl., fixes Undertale (among other games).
* gl_rasterizer: Skip VB upload if the state is clean.Markus Wick2018-11-171-0/+3
|
* GPU: Invalidate destination address of kepler_memory writes.bunnei2018-10-191-1/+10
|
* GPU: Basic implementation of the Kepler Inline Memory engine (p2mf).Subv2018-09-121-0/+45
This engine writes data from a FIFO register into the configured address.