summaryrefslogtreecommitdiffstats
path: root/src/video_core/gpu_asynch.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-08-22video_core: Initialize renderer with a GPUReinUsesLisp1-6/+4
Add an extra step in GPU initialization to be able to initialize render backends with a valid GPU instance.
2020-06-27General: Correct rebase, sync gpu and context management.Fernando Sahmkow1-1/+8
2020-04-22OpenGL: Implement Fencing backend.Fernando Sahmkow1-0/+4
2020-04-15CMakeLists: Make -Wreorder a compile-time errorLioncash1-2/+3
This can result in silent logic bugs within code, and given the amount of times these kind of warnings are caused, they should be flagged at compile-time so no new code is submitted with them.
2020-04-06GPU: Setup Flush/Invalidate to use VAddr instead of CacheAddrFernando Sahmkow1-3/+3
2020-03-25Frontend/GPU: Refactor context managementJames Rowe1-3/+6
Changes the GraphicsContext to be managed by the GPU core. This eliminates the need for the frontends to fool around with tricky MakeCurrent/DoneCurrent calls that are dependent on the settings (such as async gpu option). This also refactors out the need to use QWidget::fromWindowContainer as that caused issues with focus and input handling. Now we use a regular QWidget and just access the native windowHandle() directly. Another change is removing the debug tool setting in FrameMailbox. Instead of trying to block the frontend until a new frame is ready, the core will now take over presentation and draw directly to the window if the renderer detects that its hooked by NSight or RenderDoc Lastly, since it was in the way, I removed ScopeAcquireWindowContext and replaced it with a simple subclass in GraphicsContext that achieves the same result
2019-10-05Core: Wait for GPU to be idle before shutting down.Fernando Sahmkow1-0/+4
2019-08-21gpu: Change optional<reference_wrapper<T>> to T* for FramebufferConfigReinUsesLisp1-3/+2
2019-07-05GPU: Correct Interrupts to interrupt on syncpt/value instead of event, mirroring hardwareFernando Sahmkow1-2/+2
2019-07-05nv_host_ctrl: Make Sync GPU variant always return synced result.Fernando Sahmkow1-1/+1
2019-07-05Gpu: Implement Hardware Interrupt Manager and manage GPU interruptsFernando Sahmkow1-0/+7
2019-04-12video_core/gpu: Create threads separately from initializationLioncash1-1/+5
Like with CPU emulation, we generally don't want to fire off the threads immediately after the relevant classes are initialized, we want to do this after all necessary data is done loading first. This splits the thread creation into its own interface member function to allow controlling when these threads in particular get created.
2019-04-02gpu_thread: Improve synchronization by using CoreTiming.bunnei1-1/+1
2019-03-15gpu: Use host address for caching instead of guest address.bunnei1-3/+3
2019-03-07gpu: Refactor a/synchronous implementations into their own classes.bunnei1-0/+37