Commit Graph

23 Commits (2c0b0ad50d71ff3b9a50052362b2ffc5ca7977da)

Author SHA1 Message Date
bunnei 011cf77796 gl_rasterizer: Add rasterizer cache code to handle accerated fermi copies. 7 years ago
Markus Wick c560043581 rasterizer: Drop unused handler.
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.
7 years ago
bunnei d647d9550c gl_renderer: Cache textures, framebuffers, and shaders based on CPU address. 7 years ago
bunnei 16d65182f9 gl_rasterizer: Fix issues with the rasterizer cache.
- Use a single cached page map.
- Fix calculation of ending page.
7 years ago
Lioncash 46ef072cf9 rasterizer_interface: Remove ScreenInfo from AccelerateDraw()'s signature
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.
7 years ago
Subv be51120d23 GPU: Bind and clear the render target when the CLEAR_BUFFERS register is written to. 8 years ago
bunnei 3f9f047375 gl_rasterizer: Implement AccelerateDisplay to forward textures to framebuffers. 8 years ago
bunnei 4415e00181 gl_rasterizer_cache: Update to be based on GPU addresses, not CPU addresses. 8 years ago
bunnei 174cba5c58 renderer_opengl: Implement BlendEquation and BlendFunc. 8 years ago
N00byKing d1d7582a5b
rasterizer_interface.h: Update from citra to yuzu 8 years ago
bunnei d89bfec5f5 rasterizer: Rename DrawTriangles to DrawArrays. 8 years ago
bunnei 11047d7fd5 rasterizer: Flush and invalidate regions should be 64-bit. 8 years ago
bunnei 8a250de987 video_core: Remove usage of PAddr and replace with VAddr. 8 years ago
bunnei bfe45774f1 video_core: Move FramebufferInfo to FramebufferConfig in GPU. 8 years ago
bunnei 6e3222363c renderer_gl: Port boilerplate rasterizer code over from Citra. 8 years ago
James Rowe 1d28b2e142 Remove references to PICA and rasterizers in video_core 8 years ago
bunnei 93480b10ef core/video_core: Fix a bunch of u64 -> u32 warnings. 8 years ago
wwylele d2419570b9 rasterizer: separate TextureCopy from DisplayTransfer 9 years ago
Emmanuel Gil Peyrot ebdae19fd2 Remove empty newlines in #include blocks.
This makes clang-format useful on those.

Also add a bunch of forgotten transitive includes, which otherwise
prevented compilation.
9 years ago
Yuri Kunde Schlesner 396a8d91a4 Manually tweak source formatting and then re-run clang-format 9 years ago
Emmanuel Gil Peyrot dc8479928c Sources: Run clang-format on everything. 9 years ago
tfarley 22f3a7e94c HWRasterizer: Texture forwarding 10 years ago
Yuri Kunde Schlesner 195fedccf0 VideoCore: Unify interface to OpenGL and SW rasterizers
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.
10 years ago