Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | prefer system reference over global accessor | Michael Scire | 2019-07-09 | 1 | -1/+7 |
| | |||||
* | GPUVM: Correct GPU VM virtual address space | Fernando Sahmkow | 2019-06-09 | 1 | -2/+2 |
| | |||||
* | video_core/memory_manager: Mark IsBlockContinuous() as a const member function | Lioncash | 2019-05-10 | 1 | -2/+2 |
| | | | | | Corrects the typo in its name and marks the function as a const member function, given it doesn't actually modify memory manager state. | ||||
* | video_core/memory_manager: Mark the constructor as explicit | Lioncash | 2019-05-10 | 1 | -1/+1 |
| | | | | Prevents implicit converting constructions of the memory manager. | ||||
* | video_core/memory_manager: Default the destructor within the cpp file | Lioncash | 2019-05-10 | 1 | -0/+1 |
| | | | | | | Makes the class less surprising when it comes to forward declaring the type, and also prevents inlining the destruction code of the class, given it contains non-trivial types. | ||||
* | video_core/memory_manager: Amend doxygen comments | Lioncash | 2019-05-10 | 1 | -7/+7 |
| | | | | Corrects references to non-existent parameters and corrects typos. | ||||
* | video_core/memory_manager: Remove superfluous const from function declarations | Lioncash | 2019-05-10 | 1 | -7/+7 |
| | | | | | | | | These are able to be omitted from the declaration of functions, since they don't do anything at the type system level. The definitions of the functions can retain the use of const though, since they make the variables immutable in the implementation of the function where they're used. | ||||
* | Implement IsBlockContinous | Fernando Sahmkow | 2019-04-17 | 1 | -2/+5 |
| | | | | | This detects when a GPU Memory Block is not continous within host cpu memory. | ||||
* | Use ReadBlockUnsafe for fetyching DMA CommandLists | Fernando Sahmkow | 2019-04-16 | 1 | -2/+0 |
| | |||||
* | Document unsafe versions and add BlockCopyUnsafe | Fernando Sahmkow | 2019-04-16 | 1 | -5/+25 |
| | |||||
* | GPU MemoryManager: Implement ReadBlockUnsafe and WriteBlockUnsafe | Fernando Sahmkow | 2019-04-16 | 1 | -0/+2 |
| | |||||
* | memory_manager: Improved implementation of read/write/copy block. | bunnei | 2019-04-06 | 1 | -1/+6 |
| | | | | | - Fixes graphical issues with Chocobo's Mystery Dungeon EVERY BUDDY! - Fixes a crash with Mario Tennis Aces | ||||
* | video_core/memory_manager: Make Read() a const qualified member function | Lioncash | 2019-04-06 | 1 | -1/+1 |
| | | | | | Given this doesn't actually alter internal state, this can be made a const member function. | ||||
* | video_core/memory_manager: Make ReadBlock() a const qualifier member function | Lioncash | 2019-04-06 | 1 | -1/+1 |
| | | | | | | | | Now, since we have a const qualified variant of GetPointer(), we can put it to use in ReadBlock() to retrieve the source pointer that is passed into memcpy. Now block reading may be done from a const context. | ||||
* | video_core/memory_manager: Add a const qualified variant of GetPointer() | Lioncash | 2019-04-06 | 1 | -0/+1 |
| | | | | Allows retrieving read-only pointers from a const context externally. | ||||
* | video_core/memory_manager: Make FindFreeRegion() a const member function | Lioncash | 2019-04-06 | 1 | -1/+1 |
| | | | | | This doesn't modify internal state, so it can be made a const member function. | ||||
* | video_core/memory_manager: Make GpuToCpuAddress() a const member function | Lioncash | 2019-04-06 | 1 | -1/+1 |
| | | | | | This doesn't modify any internal state, so it can be made a const member function to allow its use in const contexts. | ||||
* | memory_manager: Cleanup FindFreeRegion. | bunnei | 2019-03-21 | 1 | -2/+2 |
| | |||||
* | memory_manager: Bug fixes and further cleanup. | bunnei | 2019-03-21 | 1 | -7/+7 |
| | |||||
* | memory_manager: Add protections for invalid GPU addresses. | bunnei | 2019-03-21 | 1 | -7/+8 |
| | | | | - Avoid a crash in Xenoblade Chronicles 2. | ||||
* | gpu: Rewrite virtual memory manager using PageTable. | bunnei | 2019-03-21 | 1 | -47/+115 |
| | |||||
* | gpu: Move GPUVAddr definition to common_types. | bunnei | 2019-03-21 | 1 | -3/+0 |
| | |||||
* | video_core: Refactor to use MemoryManager interface for all memory access. | bunnei | 2019-03-16 | 1 | -1/+16 |
| | | | | | | | | | | | # 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 | ||||
* | memory_manager: Do not allow 0 to be a valid GPUVAddr. | bunnei | 2018-11-23 | 1 | -1/+2 |
| | | | | - Fixes a bug with Undertale using 0 for a render target. | ||||
* | memory_manager: Do not MapBufferEx over already in use memory. | bunnei | 2018-11-01 | 1 | -4/+4 |
| | | | | - This fixes rendering when changing areas in Super Mario Odyssey. | ||||
* | global: Use std::optional instead of boost::optional (#1578) | Frederic L | 2018-10-30 | 1 | -4/+3 |
| | | | | | | | | | | | | | | | | * get rid of boost::optional * Remove optional references * Use std::reference_wrapper for optional references * Fix clang format * Fix clang format part 2 * Adressed feedback * Fix clang format and MacOS build | ||||
* | memory_manager: Add a method for querying the end of a mapped GPU region. | bunnei | 2018-10-16 | 1 | -0/+1 |
| | |||||
* | GPU: Implemented nvhost-as-gpu's UnmapBuffer ioctl. | Subv | 2018-05-20 | 1 | -0/+1 |
| | | | | It removes a mapping previously created with the MapBufferEx ioctl. | ||||
* | gl_rasterizer_cache: Update to be based on GPU addresses, not CPU addresses. | bunnei | 2018-04-25 | 1 | -1/+0 |
| | |||||
* | memory_manager: Add implement CpuToGpuAddress. | bunnei | 2018-04-24 | 1 | -0/+10 |
| | |||||
* | memory_manager: Make GpuToCpuAddress return an optional. | bunnei | 2018-04-24 | 1 | -1/+4 |
| | |||||
* | memory_manager: Use GPUVAdddr, not PAddr, for GPU addresses. | bunnei | 2018-04-24 | 1 | -8/+8 |
| | |||||
* | GPU: Make the GPU virtual memory manager use 16 page bits and 10 page table bits. | Subv | 2018-04-23 | 1 | -1/+5 |
| | | | | Also removed some dead code and added memory map consistency asserts. | ||||
* | Make a GPU class in VideoCore to contain the GPU state. | Subv | 2018-02-12 | 1 | -0/+49 |
Also moved the GPU MemoryManager class to video_core since it makes more sense for it to be there. |