aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/rasterizer_interface.h
AgeCommit message (Collapse)Author
2020-02-14maxwell_3d: Unify draw methodsReinUsesLisp
Pass instanced state of a draw invocation as an argument instead of having two separate virtual methods.
2020-02-14gl_query_cache: Optimize query cacheReinUsesLisp
Use a custom cache instead of relying on a ranged cache.
2020-02-14gl_query_cache: Implement host queries using a deferred cacheReinUsesLisp
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.
2020-02-14maxwell_3d: Slow implementation of passed samples (query 21)ReinUsesLisp
Implements GL_SAMPLES_PASSED by waiting immediately for queries.
2020-01-24Shader_IR: Address FeedbackFernando Sahmkow
2020-01-24Shader_IR: Allow constant access of guest driver.Fernando Sahmkow
2020-01-24GPU: Implement guest driver profile and deduce texture handler sizes.Fernando Sahmkow
2019-09-22Maxwell3D: Corrections and refactors to MME instance refactorFernando Sahmkow
2019-09-19Rasterizer: Refactor and simplify DrawBatch Interface.Fernando Sahmkow
2019-09-19Rasterizer: Refactor draw calls, remove deadcode and clean up.Fernando Sahmkow
2019-09-19Video Core: initial Implementation of InstanceDraw PackagingFernando Sahmkow
2019-08-30video_core: Silent miscellaneous warnings (#2820)Rodrigo Locatti
* 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
2019-07-26GPU: Flush commands on every dma pusher step.Fernando Sahmkow
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.
2019-07-15gl_rasterizer: Implement compute shadersReinUsesLisp
2019-07-06gl_buffer_cache: Implement with generic buffer cacheReinUsesLisp
2019-06-25texture_cache: Query MemoryManager from the systemFernando Sahmkow
2019-06-20texture_cache: Fermi2D reform and implement View MirageFernando Sahmkow
This also does some fixes on compressed textures reinterpret and on the Fermi2D engine in general.
2019-06-20Change texture_cache chaching from GPUAddr to CacheAddrFernando Sahmkow
This also reverses the changes to make invalidation and flushing through the GPU address.
2019-06-20Deglobalize Memory Manager on texture cahe and Implement Invalidation and ↵Fernando Sahmkow
Flushing using GPUVAddr
2019-03-20gpu: Rewrite virtual memory manager using PageTable.bunnei
2019-03-14gpu: Use host address for caching instead of guest address.bunnei
2019-02-27common/math_util: Move contents into the Common namespaceLioncash
These types are within the common library, so they should be within the Common namespace.
2019-02-06gl_rasterizer: Implement a more accurate fermi 2D copy.bunnei
- This is a blit, use the blit registers.
2019-02-06gl_shader_cache: Link loading screen with disk shader cache loadReinUsesLisp
2019-02-06rasterizer_interface: Add disk cache entry for the rasterizerReinUsesLisp
2019-02-01rasterizer_interface: Remove unused AccelerateFill operationReinUsesLisp
2019-01-20Rename step 1 and step 2 to be a little more descriptiveJames Rowe
2019-01-20QT: Upgrade the Loading Bar to look much betterJames Rowe
2018-10-06gl_rasterizer: Add rasterizer cache code to handle accerated fermi copies.bunnei
2018-09-10rasterizer: Drop unused handler.Markus Wick
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.
2018-08-31gl_renderer: Cache textures, framebuffers, and shaders based on CPU address.bunnei
2018-08-31gl_rasterizer: Fix issues with the rasterizer cache.bunnei
- Use a single cached page map. - Fix calculation of ending page.
2018-08-20rasterizer_interface: Remove ScreenInfo from AccelerateDraw()'s signatureLioncash
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.
2018-07-03GPU: Bind and clear the render target when the CLEAR_BUFFERS register is ↵Subv
written to.
2018-06-27gl_rasterizer: Implement AccelerateDisplay to forward textures to framebuffers.bunnei
2018-04-24gl_rasterizer_cache: Update to be based on GPU addresses, not CPU addresses.bunnei
2018-04-17renderer_opengl: Implement BlendEquation and BlendFunc.bunnei
2018-04-04rasterizer_interface.h: Update from citra to yuzuN00byKing
2018-03-26rasterizer: Rename DrawTriangles to DrawArrays.bunnei
2018-03-23rasterizer: Flush and invalidate regions should be 64-bit.bunnei
2018-03-22video_core: Remove usage of PAddr and replace with VAddr.bunnei
2018-03-22video_core: Move FramebufferInfo to FramebufferConfig in GPU.bunnei
2018-03-20renderer_gl: Port boilerplate rasterizer code over from Citra.bunnei
2018-01-12Remove references to PICA and rasterizers in video_coreJames Rowe
2018-01-01core/video_core: Fix a bunch of u64 -> u32 warnings.bunnei
2016-09-29rasterizer: separate TextureCopy from DisplayTransferwwylele
2016-09-21Remove empty newlines in #include blocks.Emmanuel Gil Peyrot
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
2016-09-18Manually tweak source formatting and then re-run clang-formatYuri Kunde Schlesner
2016-09-18Sources: Run clang-format on everything.Emmanuel Gil Peyrot
2016-04-21HWRasterizer: Texture forwardingtfarley