aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/gpu.cpp
AgeCommit message (Collapse)Author
2018-08-04video_core: Eliminate the g_renderer global variableLioncash
We move the initialization of the renderer to the core class, while keeping the creation of it and any other specifics in video_core. This way we can ensure that the renderer is initialized and doesn't give unfettered access to the renderer. This also makes dependencies on types more explicit. For example, the GPU class doesn't need to depend on the existence of a renderer, it only needs to care about whether or not it has a rasterizer, but since it was accessing the global variable, it was also making the renderer a part of its dependency chain. By adjusting the interface, we can get rid of this dependency.
2018-08-01Implement R32_FLOAT RenderTargetFormatUnknown
2018-07-23gl_rasterizer_cache: Implement RenderTargetFormat RG32_FLOAT.bunnei
2018-07-23gl_rasterizer_cache: Implement RenderTargetFormat BGRA8_UNORM.bunnei
2018-07-20gpu: Rename Get3DEngine() to Maxwell3D()Lioncash
This makes it match its const qualified equivalent.
2018-06-12GPU: Partially implemented the Maxwell DMA engine.Subv
Only tiled->linear and linear->tiled copies that aren't offsetted are supported for now. Queries are not supported. Swizzled copies are not supported.
2018-06-05GPU: Allow the usage of RGBA16_FLOAT in the texture copy engine.Subv
2018-06-05GPU: Allow the usage of RGBA32_FLOAT in the texture copy engine.Subv
2018-04-27general: Convert assertion macros over to be fmt-compatibleLioncash
2018-04-25GPU: Added a function to retrieve the bytes per pixel of the render target ↵Subv
formats.
2018-04-25GPU: Added boilerplate code for the Fermi2D engineSubv
2018-03-24Frontend: Ported the GPU breakpoints and surface viewer widgets from citra.Subv
2018-03-18GPU: Move the GPU's class constructor and destructors to a cpp file.Subv
This should reduce recompile times when editing the Maxwell3D register structure.