Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gl_rasterizer_cache: Also use reserve cache for RecreateSurface. | bunnei | 2018-08-31 | 1 | -12/+3 |
| | |||||
* | gl_renderer: Cache textures, framebuffers, and shaders based on CPU address. | bunnei | 2018-08-31 | 1 | -7/+4 |
| | |||||
* | Implement BC6H_UF16 & BC6H_SF16 (#1092) | greggameplayer | 2018-08-31 | 1 | -28/+38 |
| | | | | | | | | | * Implement BC6H_UF16 & BC6H_SF16 Require by ARMS * correct coding style * correct coding style part 2 | ||||
* | gl_rasterizer_cache: Update to use RasterizerCache base class. | bunnei | 2018-08-28 | 1 | -27/+10 |
| | |||||
* | gl_rasterizer_cache: Reserve surfaces that have already been created for later use. | bunnei | 2018-08-23 | 1 | -0/+33 |
| | |||||
* | renderer_opengl: Namespace OpenGL code | Lioncash | 2018-08-22 | 1 | -0/+4 |
| | | | | | | | Namespaces all OpenGL code under the OpenGL namespace. Prevents polluting the global namespace and allows clear distinction between other renderers' code in the future. | ||||
* | Rasterizer: Don't attempt to copy over the old texture's data when doing a format reinterpretation if we're only going to clear the framebuffer. | Subv | 2018-08-20 | 1 | -2/+3 |
| | |||||
* | Implemented RGBA8_UINT | David Marcec | 2018-08-20 | 1 | -45/+53 |
| | | | | Needed by kirby | ||||
* | gl_rasterizer_cache: Treat Depth formats differently from DepthStencil. | bunnei | 2018-08-16 | 1 | -8/+16 |
| | |||||
* | Merge pull request #1077 from bunnei/rgba16u | bunnei | 2018-08-15 | 1 | -1/+9 |
|\ | | | | | gl_rasterizer_cache: Add RGBA16U to PixelFormatFromTextureFormat. | ||||
| * | gl_rasterizer_cache: Add RGBA16U to PixelFormatFromTextureFormat. | bunnei | 2018-08-15 | 1 | -1/+9 |
| | | | | | | | | - Used by Breath of the Wild. | ||||
* | | gl_rasterizer_cache: Cleanup some PixelFormat names and logging. | bunnei | 2018-08-15 | 1 | -26/+56 |
|/ | |||||
* | Merge pull request #1068 from bunnei/g8r8s | bunnei | 2018-08-15 | 1 | -29/+40 |
|\ | | | | | gl_rasterizer_cache: Implement G8R8S format. | ||||
| * | gl_rasterizer_cache: Implement G8R8S format. | bunnei | 2018-08-15 | 1 | -29/+40 |
| | | | | | | | | - Used by Super Mario Odyssey. | ||||
* | | Implement Z16_UNORM in PixelFormatFromTextureFormat function | greggameplayer | 2018-08-15 | 1 | -0/+2 |
|/ | | | Require by Zelda Breath Of The Wild | ||||
* | renderer_opengl: Implement RenderTargetFormat::RGBA16_UNORM. | bunnei | 2018-08-14 | 1 | -37/+43 |
| | | | | - Used by Breath of the Wild. | ||||
* | Implement RG32UI and R32UI | David Marcec | 2018-08-13 | 1 | -7/+35 |
| | | | | Needed for xenoblade | ||||
* | renderer_opengl: Implement RenderTargetFormat::RGBA16_UINT. | bunnei | 2018-08-13 | 1 | -34/+40 |
| | | | | - Used by Breath of the Wild. | ||||
* | renderer_opengl: Implement RenderTargetFormat::RG8_UNORM. | bunnei | 2018-08-13 | 1 | -6/+12 |
| | | | | - Used by Breath of the Wild. | ||||
* | Implement R8_UINT RenderTargetFormat & PixelFormat (#1014) | greggameplayer | 2018-08-12 | 1 | -35/+49 |
| | | | | - Used by Go Vacation | ||||
* | gl_rasterizer: Implement render target format RG8_SNORM. | bunnei | 2018-08-12 | 1 | -5/+11 |
| | | | | - Used by Super Mario Odyssey. | ||||
* | gl_rasterizer: Implement render target format RGBA8_SNORM. | bunnei | 2018-08-12 | 1 | -43/+57 |
| | | | | - Used by Super Mario Odyssey. | ||||
* | Implement R16S & R16UI & R16I RenderTargetFormats & PixelFormats and more (R16_UNORM needed by Fate Extella) (#848) | greggameplayer | 2018-08-11 | 1 | -12/+39 |
| | | | | | | | | | | | | | | | * 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 | ||||
* | Merge pull request #1004 from lioncash/unused | bunnei | 2018-08-10 | 1 | -2/+1 |
|\ | | | | | gl_rasterizer_cache: Remove unused viewport parameter of GetFramebufferSurfaces() | ||||
| * | gl_rasterizer_cache: Remove unused viewport parameter of GetFramebufferSurfaces() | Lioncash | 2018-08-10 | 1 | -2/+1 |
| | | |||||
* | | textures: Refactor out for Texture/Depth FormatFromPixelFormat. | bunnei | 2018-08-10 | 1 | -86/+0 |
|/ | |||||
* | Implement SNORM for BC5/DXN2 (#998) | Khangaroo | 2018-08-10 | 1 | -26/+38 |
| | | | | | | | | | | | * Implement BC5/DXN2 (#996) - Used by Kirby Star Allies. * Implement BC5/DXN2 SNORM UNORM for Kirby Star Allies SNORM for Super Mario Odyssey | ||||
* | Implement BC5/DXN2 (#996) | Khangaroo | 2018-08-09 | 1 | -21/+28 |
| | | | - Used by Kirby Star Allies. | ||||
* | gl_rasterizer_cached: Implement RenderTargetFormat::B5G6R5_UNORM. | bunnei | 2018-08-08 | 1 | -0/+3 |
| | | | | - Used by Super Mario Odyssey. | ||||
* | Fixed the sRGB pixel format (#963) | Hexagon12 | 2018-08-08 | 1 | -1/+2 |
| | | | | | | * Changed the sRGB pixel format return * Add a message about SRGBA -> RGBA conversion | ||||
* | gl_rasterizer_cache: Avoid superfluous surface copies. | bunnei | 2018-08-06 | 1 | -0/+11 |
| | |||||
* | Implement RGB32F PixelFormat (#886) (used by Go Vacation) | greggameplayer | 2018-08-02 | 1 | -6/+13 |
| | |||||
* | Implement R32_FLOAT RenderTargetFormat | Unknown | 2018-08-01 | 1 | -0/+3 |
| | |||||
* | GPU: Allow using R16F as a render target format. | Subv | 2018-07-26 | 1 | -1/+3 |
| | |||||
* | Implement R16_G16 | Unknown | 2018-07-26 | 1 | -6/+67 |
| | | | | | | | | | | | | | | | | | | 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 #819 from Subv/srgb | bunnei | 2018-07-25 | 1 | -6/+11 |
|\ | | | | | GPU: Use the right texture format for sRGBA framebuffers. | ||||
| * | GPU: Use the right texture format for sRGBA framebuffers. | Subv | 2018-07-25 | 1 | -6/+11 |
| | | |||||
* | | GPU: Allow the use of Z24S8 as a texture format. | Subv | 2018-07-25 | 1 | -0/+4 |
|/ | |||||
* | Merge pull request #816 from Subv/z32_s8 | bunnei | 2018-07-25 | 1 | -0/+8 |
|\ | | | | | GPU: Implemented the Z32_S8_X24 depth buffer format. | ||||
| * | GPU: Implemented the Z32_S8_X24 depth buffer format. | Subv | 2018-07-25 | 1 | -0/+8 |
| | | |||||
* | | Merge pull request #815 from Subv/z32f_tex | bunnei | 2018-07-25 | 1 | -0/+4 |
|\ \ | | | | | | | GPU: Allow using Z32 as a texture format. | ||||
| * | | GPU: Allow using Z32 as a texture format. | Subv | 2018-07-25 | 1 | -0/+4 |
| |/ | |||||
* / | GPU: Allow the usage of R8 as a render target format. | Subv | 2018-07-25 | 1 | -0/+3 |
|/ | |||||
* | GPU: Implemented the R16 and R16F texture formats. | Subv | 2018-07-24 | 1 | -4/+23 |
| | |||||
* | GPU: Implement texture format R32F. | Subv | 2018-07-24 | 1 | -4/+11 |
| | |||||
* | gl_rasterizer_cache: Implement RenderTargetFormat RG32_FLOAT. | bunnei | 2018-07-24 | 1 | -4/+14 |
| | |||||
* | gl_rasterizer_cache: Implement RenderTargetFormat RGBA32_FLOAT. | bunnei | 2018-07-24 | 1 | -7/+27 |
| | |||||
* | gl_rasterizer_cache: Implement RenderTargetFormat BGRA8_UNORM. | bunnei | 2018-07-24 | 1 | -4/+14 |
| | |||||
* | gl_rasterizer_cache: Add missing log statements. | bunnei | 2018-07-24 | 1 | -0/+2 |
| | |||||
* | gl_rasterizer_cache: Blit surfaces on recreation instead of flush and load. | bunnei | 2018-07-22 | 1 | -0/+3 |
| | |||||
* | gl_rasterizer_cache: Use GPUVAddr as cache key, not parameter set. | bunnei | 2018-07-22 | 1 | -22/+16 |
| | |||||
* | gl_rasterizer_cache: Use zeta_width and zeta_height registers for depth buffer. | bunnei | 2018-07-22 | 1 | -3/+3 |
| | |||||
* | gl_rasterizer_cache: Implement texture format G8R8. | bunnei | 2018-07-15 | 1 | -4/+11 |
| | |||||
* | gl_rasterizer_cache: Implement depth format Z16_UNORM. | bunnei | 2018-07-15 | 1 | -0/+8 |
| | |||||
* | GPU: Implemented the BC7U texture format. | Subv | 2018-07-07 | 1 | -4/+11 |
| | | | | Note: Our version of glad exports GL_COMPRESSED_RGBA_BPTC_UNORM as GL_COMPRESSED_RGBA_BPTC_UNORM_ARB, maybe it's time we update it. | ||||
* | GPU: Implemented the 32 bit float depth buffer format. | Subv | 2018-07-04 | 1 | -0/+9 |
| | |||||
* | GPU: Only configure the used framebuffers during clear. | Subv | 2018-07-04 | 1 | -2/+7 |
| | | | | Don't try to configure the color buffer if it is not being cleared, it may not be completely valid at this point. | ||||
* | gl_rasterizer_cache: Implement PixelFormat S8Z24. | bunnei | 2018-07-03 | 1 | -0/+8 |
| | |||||
* | Rename logging macro back to LOG_* | James Rowe | 2018-07-03 | 1 | -7/+7 |
| | |||||
* | GPU: Implemented the Z24S8 depth format and load the depth framebuffer. | Subv | 2018-07-02 | 1 | -2/+45 |
| | |||||
* | GPU: Implemented the RGBA32_UINT rendertarget format. | Subv | 2018-06-30 | 1 | -5/+16 |
| | |||||
* | gl_rasterizer_cache: Implement caching for texture and framebuffer surfaces. | bunnei | 2018-06-27 | 1 | -3/+40 |
| | | | | | | gl_rasterizer_cache: Improved cache management based on Citra's implementation. gl_surface_cache: Add some docstrings. | ||||
* | gl_rasterizer_cache: Various fixes for ASTC handling. | bunnei | 2018-06-27 | 1 | -6/+5 |
| | |||||
* | gl_rasterizer_cache: Use SurfaceParams as a key for surface caching. | bunnei | 2018-06-27 | 1 | -13/+33 |
| | |||||
* | gl_rasterizer: Implement AccelerateDisplay to forward textures to framebuffers. | bunnei | 2018-06-27 | 1 | -0/+11 |
| | |||||
* | gl_rasterizer_cache: Cache size_in_bytes as a const per surface. | bunnei | 2018-06-27 | 1 | -0/+1 |
| | |||||
* | gl_rasterizer_cache: Refactor to make SurfaceParams members const. | bunnei | 2018-06-27 | 1 | -13/+13 |
| | |||||
* | gl_rasterizer_cache: Remove Citra's rasterizer cache, always load/flush surfaces. | bunnei | 2018-06-27 | 1 | -274/+49 |
| | |||||
* | gl_rasterizer: Implement texture format ASTC_2D_4X4. | bunnei | 2018-06-18 | 1 | -0/+16 |
| | |||||
* | GPU: Implemented the R11FG11FB10F texture and rendertarget formats. | Subv | 2018-06-06 | 1 | -4/+14 |
| | |||||
* | GPU: Fixed the compression factor for RGBA16F textures. | Subv | 2018-06-06 | 1 | -1/+1 |
| | | | | They're not compressed. | ||||
* | GPU: Implemented the DXN1 (BC4) texture format. | Subv | 2018-06-02 | 1 | -0/+7 |
| | |||||
* | gl_rasterizer_cache: Implement PixelFormat RGBA16F. | bunnei | 2018-05-31 | 1 | -3/+14 |
| | |||||
* | GPU: Implemented the R8 texture format (0x1D) | Subv | 2018-05-30 | 1 | -3/+10 |
| | |||||
* | GPU: Implemented the A1B5G5R5 texture format (0x14) | Subv | 2018-05-27 | 1 | -3/+12 |
| | |||||
* | gl_rasterizer_cache: Use CHAR_BIT for bpp conversions instead of 8. | bunnei | 2018-04-25 | 1 | -1/+1 |
| | |||||
* | gl_rasterizer_cache: Add a function for finding framebuffer GPU address. | bunnei | 2018-04-25 | 1 | -0/+3 |
| | |||||
* | gl_rasterizer_cache: Handle compressed texture sizes. | bunnei | 2018-04-25 | 1 | -4/+48 |
| | |||||
* | gl_rasterizer_cache: Update to be based on GPU addresses, not CPU addresses. | bunnei | 2018-04-25 | 1 | -11/+16 |
| | |||||
* | GPU: Implement the RGB10_A2 RenderTarget format, it will use the same format as the A2BGR10 texture format. | Subv | 2018-04-23 | 1 | -0/+2 |
| | |||||
* | GPU: Implement the A2BGR10 texture format. | Subv | 2018-04-22 | 1 | -3/+9 |
| | |||||
* | GPU: Add support for the DXT23 and DXT45 compressed texture formats. | Subv | 2018-04-19 | 1 | -3/+15 |
| | |||||
* | GPU: Implemented the B5G6R5 format. | Subv | 2018-04-19 | 1 | -3/+13 |
| | |||||
* | GLCache: Added boilerplate code to make supporting configurable texture component types. | Subv | 2018-04-18 | 1 | -0/+44 |
| | | | | For now only the UNORM type is supported. | ||||
* | GLCache: Unify texture and framebuffer formats when converting to OpenGL. | Subv | 2018-04-18 | 1 | -13/+7 |
| | |||||
* | GPU: Texture format 8 and framebuffer format 0xD5 are actually ABGR8. | Subv | 2018-04-18 | 1 | -7/+7 |
| | |||||
* | GLCache: Take into account the texture's block height when caching and unswizzling. | Subv | 2018-04-18 | 1 | -0/+1 |
| | |||||
* | GLCache: Added a function to convert cached PixelFormats back to texture formats. | Subv | 2018-04-18 | 1 | -0/+12 |
| | | | | TODO: The way we handle cached formats must change, framebuffer and texture formats are too different to keep them in the same place. | ||||
* | gl_rasterizer_cache: Add missing LOG statements. | bunnei | 2018-04-18 | 1 | -0/+3 |
| | |||||
* | renderer_opengl: Use OGLProgram instead of OGLShader. | bunnei | 2018-04-14 | 1 | -1/+1 |
| | |||||
* | RasterizerCache: Remove 3DS-specific pixel formats. | Subv | 2018-04-07 | 1 | -59/+30 |
| | | | | We're only left with RGB8 and DXT1 for now. More will be added as they are needed. | ||||
* | gl_rasterizer_cache.h: Update from citra to yuzu | N00byKing | 2018-04-04 | 1 | -3/+3 |
| | |||||
* | gl_rasterizer_cache: Implement UpdatePagesCachedCount. | bunnei | 2018-03-27 | 1 | -1/+1 |
| | |||||
* | gl_rasterizer_cache: Implement GetFramebufferSurfaces. | bunnei | 2018-03-27 | 1 | -1/+10 |
| | |||||
* | gl_rasterizer: Implement AccelerateDisplay method from Citra. | bunnei | 2018-03-23 | 1 | -1/+11 |
| | |||||
* | video_core: Remove usage of PAddr and replace with VAddr. | bunnei | 2018-03-23 | 1 | -9/+9 |
| | |||||
* | renderer: Create rasterizer and cleanup. | bunnei | 2018-03-23 | 1 | -2/+2 |
| | |||||
* | renderer_gl: Port over gl_rasterizer_cache module from Citra. | bunnei | 2018-03-20 | 1 | -0/+350 |
| | |||||
* | Remove references to PICA and rasterizers in video_core | James Rowe | 2018-01-13 | 1 | -239/+0 |
| | |||||
* | VideoCore: Split regs.h inclusions | Yuri Kunde Schlesner | 2017-02-09 | 1 | -1/+2 |
| | |||||
* | VideoCore: Move Regs to its own file | Yuri Kunde Schlesner | 2017-02-04 | 1 | -1/+1 |
| | |||||
* | VideoCore: Split framebuffer regs from Regs struct | Yuri Kunde Schlesner | 2017-02-04 | 1 | -3/+3 |
| | |||||
* | VideoCore: Split texturing regs from Regs struct | Yuri Kunde Schlesner | 2017-02-04 | 1 | -2/+2 |
| | |||||
* | video_core: silence unused-local-typedef boost related warning on GCC | Kloen | 2017-01-29 | 1 | -0/+7 |
| | |||||
* | OpenGL: Drop framebuffer completeness check. | Markus Wick | 2016-12-07 | 1 | -1/+1 |
| | | | | | | | This OpenGL call synchronize the worker thread of the nvidia blob. It can be verified on linux with the __GL_THREADED_OPTIMIZATIONS=1 environment variable. Those errors should not happen on tested drivers. It was used as a workaround for https://bugs.freedesktop.org/show_bug.cgi?id=94148 | ||||
* | OpenGL: Non-zero stride only makes sense for linear buffers | Yuri Kunde Schlesner | 2016-12-04 | 1 | -1/+2 |
| | |||||
* | Remove empty newlines in #include blocks. | Emmanuel Gil Peyrot | 2016-09-21 | 1 | -4/+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-format | Yuri Kunde Schlesner | 2016-09-19 | 1 | -2/+2 |
| | |||||
* | Sources: Run clang-format on everything. | Emmanuel Gil Peyrot | 2016-09-18 | 1 | -33/+45 |
| | |||||
* | VideoCore: Run include-what-you-use and fix most includes. | Emmanuel Gil Peyrot | 2016-04-30 | 1 | -4/+10 |
| | |||||
* | HWRasterizer: Texture forwarding | tfarley | 2016-04-21 | 1 | -18/+191 |
| | |||||
* | OpenGL: Rename cache functions to better match what they actually do | Yuri Kunde Schlesner | 2015-12-07 | 1 | -4/+4 |
| | |||||
* | video_core: Reorganize headers | Lioncash | 2015-09-11 | 1 | -6/+6 |
| | |||||
* | OpenGL: Use Sampler Objects to decouple sampler config from textures | Yuri Kunde Schlesner | 2015-09-03 | 1 | -1/+6 |
| | | | | Fixes #978 | ||||
* | gl_rasterizer_cache: Detect and ignore unnecessary texture flushes. | bunnei | 2015-08-28 | 1 | -1/+3 |
| | |||||
* | OpenGL renderer | tfarley | 2015-05-23 | 1 | -0/+36 |