summaryrefslogtreecommitdiffstats
path: root/src/video_core/rasterizer_interface.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* video_core: Remove all Core::System references in rendererReinUsesLisp2020-09-061-5/+2
| | | | | | | | | 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.
* {maxwell_3d,buffer_cache}: Implement memory barriers using 3D registersReinUsesLisp2020-04-281-0/+3
| | | | | | | | | | | | | Drop MemoryBarrier from the buffer cache and use Maxwell3D's register WaitForIdle. To implement this on OpenGL we just call glMemoryBarrier with the necessary bits. Vulkan lacks this synchronization primitive, so we set an event and immediately wait for it. This is not a pretty solution, but it's what Vulkan can do without submitting the current command buffer to the queue (which ends up being more expensive on the CPU).
* Address Feedback.Fernando Sahmkow2020-04-221-0/+1
|
* FenceManager: Manage syncpoints and rename fences to semaphores.Fernando Sahmkow2020-04-221-2/+5
|
* Rasterizer: Document SignalFence & ReleaseFences and setup skeletons on Vulkan.Fernando Sahmkow2020-04-221-2/+4
|
* ThreadManager: Sync async reads on accurate gpu.Fernando Sahmkow2020-04-221-6/+4
|
* OpenGL: Implement Fencing backend.Fernando Sahmkow2020-04-221-0/+8
|
* GPU: Refactor synchronization on Async GPUFernando Sahmkow2020-04-221-0/+6
|
* GPU: Setup Flush/Invalidate to use VAddr instead of CacheAddrFernando Sahmkow2020-04-061-3/+3
|
* yuzu/loading_screen: Remove unused shader progress modeReinUsesLisp2020-03-091-1/+0
|
* video_core: Reintroduce dirty flags infrastructureReinUsesLisp2020-02-281-0/+3
|
* Merge pull request #3414 from ReinUsesLisp/maxwell-3d-drawbunnei2020-02-191-5/+2
|\ | | | | maxwell_3d: Unify draw methods
| * maxwell_3d: Unify draw methodsReinUsesLisp2020-02-141-5/+2
| | | | | | | | | | Pass instanced state of a draw invocation as an argument instead of having two separate virtual methods.
* | gl_query_cache: Optimize query cacheReinUsesLisp2020-02-141-1/+2
| | | | | | | | Use a custom cache instead of relying on a ranged cache.
* | gl_query_cache: Implement host queries using a deferred cacheReinUsesLisp2020-02-141-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of waiting immediately for executed commands, defer the query until the guest CPU reads it. This way we get closer to what the guest program is doing. To archive this we have to build a dependency queue, because host APIs (like OpenGL and Vulkan) use ranged queries instead of counters like NVN. Waiting for queries implicitly uses fences and this requires a command being queued, otherwise the driver will lock waiting until a timeout. To fix this when there are no commands queued, we explicitly call glFlush.
* | maxwell_3d: Slow implementation of passed samples (query 21)ReinUsesLisp2020-02-141-0/+10
|/ | | | Implements GL_SAMPLES_PASSED by waiting immediately for queries.
* Shader_IR: Address FeedbackFernando Sahmkow2020-01-241-0/+2
|
* Shader_IR: Allow constant access of guest driver.Fernando Sahmkow2020-01-241-0/+4
|
* GPU: Implement guest driver profile and deduce texture handler sizes.Fernando Sahmkow2020-01-241-0/+8
|
* Maxwell3D: Corrections and refactors to MME instance refactorFernando Sahmkow2019-09-221-1/+1
|
* Rasterizer: Refactor and simplify DrawBatch Interface.Fernando Sahmkow2019-09-191-10/+2
|
* Rasterizer: Refactor draw calls, remove deadcode and clean up.Fernando Sahmkow2019-09-191-1/+1
|
* Video Core: initial Implementation of InstanceDraw PackagingFernando Sahmkow2019-09-191-0/+7
|
* 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
* GPU: Flush commands on every dma pusher step.Fernando Sahmkow2019-07-261-0/+3
| | | | | | This commit ensures that the host gpu is constantly fed with commands to work with, while the guest gpu keeps producing the rest of the commands. This reduces syncing time between host and guest gpu.
* gl_rasterizer: Implement compute shadersReinUsesLisp2019-07-151-0/+3
|
* gl_buffer_cache: Implement with generic buffer cacheReinUsesLisp2019-07-061-0/+3
|
* texture_cache: Query MemoryManager from the systemFernando Sahmkow2019-06-251-2/+0
|
* texture_cache: Fermi2D reform and implement View MirageFernando Sahmkow2019-06-211-2/+1
| | | | | This also does some fixes on compressed textures reinterpret and on the Fermi2D engine in general.
* Change texture_cache chaching from GPUAddr to CacheAddrFernando Sahmkow2019-06-211-4/+0
| | | | | This also reverses the changes to make invalidation and flushing through the GPU address.
* Deglobalize Memory Manager on texture cahe and Implement Invalidation and Flushing using GPUVAddrFernando Sahmkow2019-06-211-0/+10
|
* gpu: Rewrite virtual memory manager using PageTable.bunnei2019-03-211-1/+0
|
* gpu: Use host address for caching instead of guest address.bunnei2019-03-151-4/+4
|
* common/math_util: Move contents into the Common namespaceLioncash2019-02-271-2/+2
| | | | | These types are within the common library, so they should be within the Common namespace.
* gl_rasterizer: Implement a more accurate fermi 2D copy.bunnei2019-02-071-1/+3
| | | | - This is a blit, use the blit registers.
* gl_shader_cache: Link loading screen with disk shader cache loadReinUsesLisp2019-02-071-1/+3
|
* rasterizer_interface: Add disk cache entry for the rasterizerReinUsesLisp2019-02-071-0/+3
|
* rasterizer_interface: Remove unused AccelerateFill operationReinUsesLisp2019-02-011-5/+0
|
* Rename step 1 and step 2 to be a little more descriptiveJames Rowe2019-01-211-2/+2
|
* QT: Upgrade the Loading Bar to look much betterJames Rowe2019-01-201-0/+9
|
* gl_rasterizer: Add rasterizer cache code to handle accerated fermi copies.bunnei2018-10-061-7/+4
|
* rasterizer: Drop unused handler.Markus Wick2018-09-101-3/+0
| | | | | | | | This virtual function is called in a very hot spot, and it does nothing. If this kind of feature is required, please be more specific and add callbacks in the switch statement within Maxwell3D::WriteReg. There is no point in having another switch statement within the rasterizer.
* gl_renderer: Cache textures, framebuffers, and shaders based on CPU address.bunnei2018-08-311-3/+3
|
* gl_rasterizer: Fix issues with the rasterizer cache.bunnei2018-08-311-0/+3
| | | | | - Use a single cached page map. - Fix calculation of ending page.
* rasterizer_interface: Remove ScreenInfo from AccelerateDraw()'s signatureLioncash2018-08-211-3/+1
| | | | | | This is an OpenGL renderer-specific data type. Given that, this type shouldn't be used within the base interface for the rasterizer. Instead, we can pass this information to the rasterizer via reference.
* GPU: Bind and clear the render target when the CLEAR_BUFFERS register is written to.Subv2018-07-031-0/+3
|
* gl_rasterizer: Implement AccelerateDisplay to forward textures to framebuffers.bunnei2018-06-271-3/+2
|
* gl_rasterizer_cache: Update to be based on GPU addresses, not CPU addresses.bunnei2018-04-251-3/+4
|
* renderer_opengl: Implement BlendEquation and BlendFunc.bunnei2018-04-181-1/+1
|
* rasterizer_interface.h: Update from citra to yuzuN00byKing2018-04-041-3/+3
|
* rasterizer: Rename DrawTriangles to DrawArrays.bunnei2018-03-271-2/+2
|
* rasterizer: Flush and invalidate regions should be 64-bit.bunnei2018-03-231-3/+3
|
* video_core: Remove usage of PAddr and replace with VAddr.bunnei2018-03-231-4/+4
|
* video_core: Move FramebufferInfo to FramebufferConfig in GPU.bunnei2018-03-231-1/+3
|
* renderer_gl: Port boilerplate rasterizer code over from Citra.bunnei2018-03-201-0/+61
|
* Remove references to PICA and rasterizers in video_coreJames Rowe2018-01-131-67/+0
|
* core/video_core: Fix a bunch of u64 -> u32 warnings.bunnei2018-01-011-2/+2
|
* rasterizer: separate TextureCopy from DisplayTransferwwylele2016-09-291-1/+6
|
* Remove empty newlines in #include blocks.Emmanuel Gil Peyrot2016-09-211-1/+0
| | | | | | | This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
* Manually tweak source formatting and then re-run clang-formatYuri Kunde Schlesner2016-09-191-2/+1
|
* Sources: Run clang-format on everything.Emmanuel Gil Peyrot2016-09-181-6/+15
|
* HWRasterizer: Texture forwardingtfarley2016-04-211-12/+19
|
* VideoCore: Unify interface to OpenGL and SW rasterizersYuri Kunde Schlesner2015-12-081-0/+48
This removes explicit checks sprinkled all over the codebase to instead just have the SW rasterizer expose an implementation with no-ops for most operations.