summaryrefslogtreecommitdiffstats
path: root/src/video_core/gpu.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1016 from lioncash/videobunnei2018-08-111-9/+1
|\ | | | | video_core: Get rid of global variable g_toggle_framelimit_enabled
| * video_core; Get rid of global g_toggle_framelimit_enabled variableLioncash2018-08-111-9/+1
| | | | | | | | | | | | | | | | | | Instead, we make a struct for renderer settings and allow the renderer to update all of these settings, getting rid of the need for global-scoped variables. This also uncovered a few indirect inclusions for certain headers, which this commit also fixes.
* | Implement R16S & R16UI & R16I RenderTargetFormats & PixelFormats and more (R16_UNORM needed by Fate Extella) (#848)greggameplayer2018-08-111-0/+7
|/ | | | | | | | | | | | | | | * Implement R16S & R16UI & R16I RenderTargetFormats & PixelFormats Do a separate function in order to get Bytes Per Pixel of DepthFormat Apply the new function in gpu.h delete unneeded white space * correct merging error
* gl_rasterizer_cached: Implement RenderTargetFormat::B5G6R5_UNORM.bunnei2018-08-081-0/+1
| | | | - Used by Super Mario Odyssey.
* video_core: Eliminate the g_renderer global variableLioncash2018-08-041-1/+5
| | | | | | | | | | | | | | 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.
* Implement R32_FLOAT RenderTargetFormatUnknown2018-08-011-0/+1
|
* GPU: Allow using R16F as a render target format.Subv2018-07-261-0/+1
|
* Implement R16_G16Unknown2018-07-261-0/+5
| | | | | | | | | | | | | | | | | | correct trailing white spaces Delete tabs correct placement Add RG16F & RG16UI & RG16I & RG16S PixelFormats Return correct data according to changes done previously correct PixelFormat declaration correct coding style error correct coding style error part 2 correct RG16S Declaration error correct alignment
* Merge pull request #816 from Subv/z32_s8bunnei2018-07-251-0/+1
|\ | | | | GPU: Implemented the Z32_S8_X24 depth buffer format.
| * GPU: Implemented the Z32_S8_X24 depth buffer format.Subv2018-07-251-0/+1
| |
* | GPU: Allow the usage of R8 as a render target format.Subv2018-07-251-0/+1
|/
* gl_rasterizer_cache: Implement RenderTargetFormat RG32_FLOAT.bunnei2018-07-241-0/+1
|
* gl_rasterizer_cache: Implement RenderTargetFormat BGRA8_UNORM.bunnei2018-07-241-0/+1
|
* gpu: Rename Get3DEngine() to Maxwell3D()Lioncash2018-07-211-5/+4
| | | | This makes it match its const qualified equivalent.
* vi: Partially implement buffer crop parameters.bunnei2018-07-181-0/+1
|
* GPU: Implemented the Z24S8 depth format and load the depth framebuffer.Subv2018-07-021-0/+9
|
* GPU: Implemented the RGBA32_UINT rendertarget format.Subv2018-06-301-0/+1
|
* GPU: Partially implemented the Maxwell DMA engine.Subv2018-06-121-0/+3
| | | | Only tiled->linear and linear->tiled copies that aren't offsetted are supported for now. Queries are not supported. Swizzled copies are not supported.
* Merge pull request #527 from Subv/rgba32f_texcopybunnei2018-06-061-0/+1
|\ | | | | GPU: Allow the usage of RGBA32_FLOAT and RGBA16_FLOAT in the texture copy engine.
| * GPU: Allow the usage of RGBA32_FLOAT in the texture copy engine.Subv2018-06-061-0/+1
| |
* | GPU: Implemented the R11FG11FB10F texture and rendertarget formats.Subv2018-06-061-0/+1
|/
* GPU: Added a function to retrieve the bytes per pixel of the render target formats.Subv2018-04-251-0/+3
|
* GPU: Move the Maxwell3D macro uploading code to the inside of the Maxwell3D processor.Subv2018-04-251-7/+0
| | | | It doesn't belong in the PFIFO handler.
* gpu: Add several framebuffer formats to RenderTargetFormat.bunnei2018-04-181-0/+3
|
* graphics_surface: Fix merge conflicts.bunnei2018-03-271-0/+1
|
* maxwell: Add RenderTargetFormat enum.bunnei2018-03-271-1/+1
|
* Frontend: Updated the surface view debug widget to work with Maxwell surfaces.Subv2018-03-241-0/+4
|
* Frontend: Ported the GPU breakpoints and surface viewer widgets from citra.Subv2018-03-241-0/+5
|
* renderer_opengl: Better handling of framebuffer transform flags.bunnei2018-03-231-1/+4
|
* video_core: Move FramebufferInfo to FramebufferConfig in GPU.bunnei2018-03-231-0/+29
|
* gpu: Expose Maxwell3D engine.bunnei2018-03-231-0/+4
|
* GPU: Move the GPU's class constructor and destructors to a cpp file.Subv2018-03-181-10/+8
| | | | This should reduce recompile times when editing the Maxwell3D register structure.
* GPU: Store uploaded GPU macros and keep track of the number of method parameters.Subv2018-03-181-1/+9
|
* GPU: Macros are specific to the Maxwell3D engine, so handle them internally.Subv2018-03-181-3/+0
|
* GPU: Process command mode 5 (IncreaseOnce) differently from other commands.Subv2018-03-171-0/+3
| | | | | | Accumulate all arguments before calling the desired method. Note: Maybe we should do the same for the NonIncreasing mode?
* GPU: Partially implemented the QUERY_* registers in the Maxwell3D engine.Subv2018-02-121-1/+1
| | | | Only QueryMode::Write is supported at the moment.
* Make a GPU class in VideoCore to contain the GPU state.Subv2018-02-121-0/+55
Also moved the GPU MemoryManager class to video_core since it makes more sense for it to be there.