summaryrefslogtreecommitdiffstats
path: root/src/video_core/fence_manager.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* scope_exit: Make constexprFearlessTobi2024-02-191-1/+3
| | | | | Allows the use of the macro in constexpr-contexts. Also avoids some potential problems when nesting braces inside it.
* renderer_vulkan: allow up to 7 swapchain imagesLiam2023-12-171-1/+1
|
* Revert "renderer_vulkan: add locks to avoid scheduler flushes from CPU"Fernando Sahmkow2023-11-101-4/+1
| | | | This reverts commit d9dde7e6f3a90f58d642808900ddd558da21f762.
* renderer_vulkan: add locks to avoid scheduler flushes from CPULiam2023-10-171-1/+4
|
* Query Cache: address issuesFernando Sahmkow2023-09-231-7/+7
|
* Query Cachge: Fully rework Vulkan's query cacheFernando Sahmkow2023-09-231-2/+21
|
* Memory Tracking: Optimize tracking to only use atomic writes when contested with the host GPUFernando Sahmkow2023-06-281-1/+1
|
* Address feedback, add CR notice, etcFernando Sahmkow2023-05-071-1/+6
|
* GPU: Add Reactive flushingFernando Sahmkow2023-05-071-2/+2
|
* QueryCache: Fix write invalidation.Fernando Sahmkow2023-04-281-0/+1
|
* Accuracy Normal: reduce accuracy further for perf improvements in Project LimeFernando Sahmkow2023-04-231-2/+7
|
* Fence Manager: implement async fence management in a sepparate thread.Fernando Sahmkow2023-04-231-32/+105
|
* VideoCore: Refactor fencing system.Fernando Sahmkow2022-10-061-57/+39
|
* VideoCore: Refactor syncing.Fernando Sahmkow2022-10-061-4/+8
|
* VideoCore: implement channels on gpu caches.Fernando Sahmkow2022-10-061-13/+15
|
* 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.
* general: Reduce core.h includesameerj2022-03-181-2/+0
|
* Fence Manager: remove reference fencing.Fernando Sahmkow2021-07-091-21/+2
|
* Fence Manager: Force ordering on WFI.Fernando Sahmkow2021-07-091-0/+6
|
* Fence Manager: Add fences on Reference Count.Fernando Sahmkow2021-07-091-2/+22
|
* video_core: Reimplement the buffer cacheReinUsesLisp2021-02-131-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: Rewrite the texture cacheReinUsesLisp2020-12-301-2/+15
| | | | | | | | | | | | | | The current texture cache has several points that hurt maintainability and performance. It's easy to break unrelated parts of the cache when doing minor changes. The cache can easily forget valuable information about the cached textures by CPU writes or simply by its normal usage.The current texture cache has several points that hurt maintainability and performance. It's easy to break unrelated parts of the cache when doing minor changes. The cache can easily forget valuable information about the cached textures by CPU writes or simply by its normal usage. This commit aims to address those issues.
* video_core: Resolve more variable shadowing scenariosLioncash2020-12-041-4/+4
| | | | | | 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.
* video_core: Remove all Core::System references in rendererReinUsesLisp2020-09-061-15/+12
| | | | | | | | | Now that the GPU is initialized when video backends are initialized, it's no longer needed to query components once the game is running: it can be done when yuzu is booting. This allows us to pass components between constructors and in the process remove all Core::System references in the video backend.
* video_core/fence_manager: Remove unnecessary includesLioncash2020-08-241-5/+0
| | | | | Avoids pulling in unnecessary things that can cause rebuilds when they aren't required.
* fixed_pipeline_state: explicitly use template keyword after 1f345ebe3a55Jan Beich2020-05-021-2/+4
| | | | | | | | | | | | | | | | In file included from src/video_core/renderer_opengl/renderer_opengl.cpp:25: In file included from src/./video_core/renderer_opengl/gl_rasterizer.h:26: In file included from src/./video_core/renderer_opengl/gl_fence_manager.h:11: src/./video_core/fence_manager.h:91:32: error: use 'template' keyword to treat 'Write' as a dependent template name memory_manager.Write<u32>(current_fence->GetAddress(), current_fence->GetPayload()); ^ template src/./video_core/fence_manager.h:137:32: error: use 'template' keyword to treat 'Write' as a dependent template name memory_manager.Write<u32>(current_fence->GetAddress(), current_fence->GetPayload()); ^ template
* Address Feedback.Fernando Sahmkow2020-04-221-6/+6
|
* Address Feedback.Fernando Sahmkow2020-04-221-30/+42
|
* QueryCache: Implement Async Flushes.Fernando Sahmkow2020-04-221-4/+14
|
* FenceManager: Manage syncpoints and rename fences to semaphores.Fernando Sahmkow2020-04-221-9/+49
|
* BufferCache: Refactor async managing.Fernando Sahmkow2020-04-221-3/+3
|
* FenceManager: Implement async buffer cache flushes on High settingsFernando Sahmkow2020-04-221-4/+11
|
* FenceManager: Implement should wait.Fernando Sahmkow2020-04-221-2/+6
|
* GPU: Implement a Fence Manager.Fernando Sahmkow2020-04-221-0/+97