Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2019-05-10 | video_core/renderer_opengl/gl_rasterizer_cache: Remove unused variable in UploadGLMipmapTexture() | Lioncash | 1 | -1/+0 | |
This variable is unused entirely, so it can be removed. | |||||
2019-04-21 | Rasterizer Cache: Use a temporal storage for Surfaces loading/flushing. | Fernando Sahmkow | 1 | -10/+15 | |
This PR should heavily reduce memory usage since temporal buffers are no longer stored per Surface but instead managed by the Rasterizer Cache. | |||||
2019-04-15 | Support compressed formats on linear textures. | Fernando Sahmkow | 1 | -2/+5 | |
2019-04-15 | Correct Pitch in Fermi2D | Fernando Sahmkow | 1 | -4/+1 | |
2019-04-11 | gl_rasterizer_cache: Relax restrictions on FastCopySurface and FastLayeredCopySurface | Fernando Sahmkow | 1 | -4/+10 | |
2019-04-09 | Correct Fermi Copy on Linear Textures. | Fernando Sahmkow | 1 | -0/+4 | |
2019-04-09 | Correct depth compare with color formats for R32F | Fernando Sahmkow | 1 | -2/+17 | |
2019-04-08 | gl_backend: Align Pixel Storage | Fernando Sahmkow | 1 | -4/+4 | |
This commit makes sure GL reads on the correct pack size for the respective texture buffer. | |||||
2019-04-06 | video_core/texures/texture: Remove unnecessary includes | Lioncash | 1 | -0/+1 | |
Nothing in this header relies on common_funcs or the memory manager. This gets rid of reliance on indirect inclusions in the OpenGL caches. | |||||
2019-04-04 | video_core/renderer_opengl: Remove unnecessary includes | Lioncash | 1 | -1/+0 | |
Quite a few unused includes have built up over time, particularly on core/memory.h. Removing these includes means the source files including those files will no longer need to be rebuilt if they're changed, making compilation slightly faster in this scenario. | |||||
2019-03-27 | video_core: Amend constructor initializer list order where applicable | Lioncash | 1 | -2/+2 | |
Specifies the members in the same order that initialization would take place in. This also silences -Wreorder warnings. | |||||
2019-03-22 | Revert "Devirtualize Register/Unregister and use a wrapper instead." | bunnei | 1 | -4/+4 | |
- Fixes graphical issues from transitions in Super Mario Odyssey. | |||||
2019-03-21 | gl_rasterizer_cache: Check that backing memory is valid before creating a surface. | bunnei | 1 | -15/+7 | |
- Fixes a crash in Puyo Puyo Tetris. | |||||
2019-03-21 | gpu: Rewrite virtual memory manager using PageTable. | bunnei | 1 | -5/+5 | |
2019-03-21 | gpu: Move GPUVAddr definition to common_types. | bunnei | 1 | -7/+6 | |
2019-03-16 | video_core: Refactor to use MemoryManager interface for all memory access. | bunnei | 1 | -18/+21 | |
# Conflicts: # src/video_core/engines/kepler_memory.cpp # src/video_core/engines/maxwell_3d.cpp # src/video_core/morton.cpp # src/video_core/morton.h # src/video_core/renderer_opengl/gl_global_cache.cpp # src/video_core/renderer_opengl/gl_global_cache.h # src/video_core/renderer_opengl/gl_rasterizer_cache.cpp | |||||
2019-03-15 | gpu: Use host address for caching instead of guest address. | bunnei | 1 | -18/+18 | |
2019-03-13 | video_core/morton: Remove unused parameter in MortonSwizzle | ReinUsesLisp | 1 | -2/+2 | |
2019-03-02 | fuck git for ruining my day, I will learn but I will not forgive | bunnei | 1 | -1/+1 | |
2019-02-28 | Devirtualize Register/Unregister and use a wrapper instead. | Fernando Sahmkow | 1 | -4/+4 | |
2019-02-28 | Corrections and redesign. | Fernando Sahmkow | 1 | -42/+43 | |
2019-02-28 | Remove NotifyFrameBuffer as we are doing a texception pass every drawcall. | Fernando Sahmkow | 1 | -21/+0 | |
2019-02-28 | Remove certain optimizations that caused texception to fail in certain scenarios. | Fernando Sahmkow | 1 | -18/+1 | |
2019-02-28 | Bug fixes and formatting | Fernando Sahmkow | 1 | -1/+3 | |
2019-02-28 | rasterizer_cache_gl: Implement Texception Pass | Fernando Sahmkow | 1 | -0/+39 | |
2019-02-28 | rasterizer_cache_gl: Implement Partial Reinterpretation of Surfaces. | Fernando Sahmkow | 1 | -0/+89 | |
2019-02-28 | rasterizer_cache: mark reinterpreted surfaces and add ability to reload marked surfaces on next use. | Fernando Sahmkow | 1 | -0/+5 | |
2019-02-28 | rasterizer_cache_gl: Notify on framebuffer change | Fernando Sahmkow | 1 | -3/+17 | |
2019-02-27 | gl_rasterizer_cache: Create texture views for array discrepancies | ReinUsesLisp | 1 | -9/+32 | |
When a texture is sampled in a shader with a different array mode than the cached state, create a texture view and bind that to the shader instead. | |||||
2019-02-27 | common/math_util: Move contents into the Common namespace | Lioncash | 1 | -4/+4 | |
These types are within the common library, so they should be within the Common namespace. | |||||
2019-02-27 | gl_rasterizer_cache: Move format conversion to its own file | ReinUsesLisp | 1 | -102/+13 | |
2019-02-26 | maxwell_3d: Use std::bitset to manage dirty flags | ReinUsesLisp | 1 | -2/+2 | |
2019-02-24 | gl_rasterizer_cache: Fixup parameter order in layered swizzle | ReinUsesLisp | 1 | -1/+1 | |
2019-02-13 | rasterizer_cache_gl: Only do fast layered copy on the same format. As | Fernando Sahmkow | 1 | -1/+5 | |
glCopyImageSubData does not support different formats. | |||||
2019-02-09 | Implement linear textures (#2089) | Fernando Sahmkow | 1 | -5/+37 | |
2019-02-08 | gl_rasterizer_cache: Fixup texture view parameters | ReinUsesLisp | 1 | -2/+2 | |
These parameters were declared as constants and passed to glTextureView but then they were removed on a rabase. This addresses that mistake. | |||||
2019-02-07 | gl_rasterizer_cache: Mark surface copy destinations as modified. | bunnei | 1 | -4/+14 | |
2019-02-07 | gl_rasterizer: Implement a more accurate fermi 2D copy. | bunnei | 1 | -5/+136 | |
- This is a blit, use the blit registers. | |||||
2019-02-01 | video_core: Remove unused Fill surface type | ReinUsesLisp | 1 | -4/+0 | |
2019-01-30 | gl_rasterizer_cache: Fixup test clause | ReinUsesLisp | 1 | -6/+5 | |
2019-01-30 | gl_rasterizer_cache: Guard clause swizzle testing | Mat M | 1 | -1/+3 | |
Co-Authored-By: ReinUsesLisp <reinuseslisp@airmail.cc> | |||||
2019-01-30 | gl_rasterizer_cache: Move swizzling to textures instead of state | ReinUsesLisp | 1 | -0/+20 | |
2019-01-30 | gl_rasterizer: Use DSA for textures | ReinUsesLisp | 1 | -132/+89 | |
2019-01-30 | gl_shader_cache: Fix texture view for cubemaps as cubemap arrays | ReinUsesLisp | 1 | -2/+6 | |
Cubemaps are considered layered and to create a texture view the texture mustn't be a layered texture, resulting in cubemaps being bound as cubemap arrays. To fix this issue this commit introduces an extra surface parameter called "is_array" and uses this to query for texture view creation. Now that texture views for cubemaps are actually being created, this also fixes the number of layers created for the texture view (since they have to be 6 to create a texture view of cubemaps). | |||||
2019-01-07 | gl_rasterizer_cache: Use dirty flags for the depth buffer | ReinUsesLisp | 1 | -3/+10 | |
2019-01-07 | gl_rasterizer_cache: Use dirty flags for color buffers | ReinUsesLisp | 1 | -4/+10 | |
2019-01-05 | gl_rasterizer_cache: Use GL_STREAM_COPY for PBOs | ReinUsesLisp | 1 | -1/+1 | |
Since the data is doing the path CPU -> GPU -> GPU copy is the most approximate hint. Using GL_STREAM_DRAW generated a performance warning on Nvidia's stack. Changing this hint removed the warning. | |||||
2018-12-30 | gl_rasterizer_cache: Texture view if shader samples array but OGL is not | ReinUsesLisp | 1 | -9/+40 | |
When a shader samples a texture array but that texture in OpenGL is created without layers, use a texture view to increase the texture hierarchy. For example, instead of binding a GL_TEXTURE_2D bind a GL_TEXTURE_2D_ARRAY view. | |||||
2018-12-28 | gpu: Remove PixelFormat G8R8U and G8R8S, as they do not seem to exist. | bunnei | 1 | -22/+0 | |
- Fixes UI rendering issues in The Legend of Zelda: Breath of the Wild. | |||||
2018-12-18 | Texture format fixes: Flag RGBA16UI as GL_RGBA_INTEGER format, and interpret R16U as Z16 when depth_compare is enabled. | heapo | 1 | -1/+11 | |
2018-12-09 | Add more info into textures' object labels | FernandoS27 | 1 | -2/+5 | |
2018-11-30 | gl_rasterizer_cache: Update AccurateCopySurface to flush complete source surface. | bunnei | 1 | -1/+4 | |
- Fixes issues with Breath of the Wild with use_accurate_gpu_emulation setting. | |||||
2018-11-29 | gl_rasterizer_cache: Remove BlitSurface and replace with more accurate copy. | bunnei | 1 | -144/+1 | |
- BlitSurface with different texture targets is inherently broken. - When target is the same, we can just use FastCopySurface. - Fixes rendering issues with Breath of the Wild. | |||||
2018-11-29 | gl_rasterizer_cache: Use brackets for two-line single-expresion blocks | ReinUsesLisp | 1 | -1/+2 | |
2018-11-26 | Implemented Tile Width Spacing | FernandoS27 | 1 | -4/+8 | |
2018-11-25 | video_core: Move morton functions to their own file | ReinUsesLisp | 1 | -179/+14 | |
2018-11-21 | Removed pre 4.3 ARB extensions | FernandoS27 | 1 | -8/+8 | |
2018-11-20 | Implemented Fast Layered Copy | FernandoS27 | 1 | -2/+29 | |
2018-11-19 | Eliminated unnessessary memory allocation and copy (#1702) | Frederic L | 1 | -5/+2 | |
2018-11-15 | gl_rasterizer_chache: Minor cleanup | Frederic Laing | 1 | -3/+3 | |
2018-11-13 | Implement ASTC_2D_10X8 & ASTC_2D_10X8_SRGB (#1666) | greggameplayer | 1 | -2/+14 | |
* Implement ASTC_2D_10X8 & ASTC_2D_10X8_SRGB ( needed by Mario+Rabbids Kingdom Battle ) * Small placement correction | |||||
2018-11-11 | Improve state management by splitting some of the states id separated function to avoid a full apply overhead | Rodolfo Bogado | 1 | -1/+1 | |
2018-11-08 | gl_rasterizer_cache: Remove unnecessary memory allocation and copy in CopySurface | Frederic Laing | 1 | -10/+7 | |
2018-11-08 | rasterizer_cache: Remove reliance on the System singleton | Lioncash | 1 | -1/+3 | |
Rather than have a transparent dependency, we can make it explicit in the interface. This also gets rid of the need to put the core include in a header. | |||||
2018-11-06 | gl_rasterizer_cache: Add profiles for Copy and Blit. | Markus Wick | 1 | -2/+6 | |
They were missed, and Copy is very high in profile here. It doesn't block the GPU, but it stalls the driver thread. So with our bad GL instructions, this might block quite a while. | |||||
2018-11-06 | gl_resource_manager: Split implementations in .cpp file. | Markus Wick | 1 | -0/+1 | |
Those implementations are quite costly, so there is no need to inline them to the caller. Ressource deletion is often a performance bug, so in this way, we support to add breakpoints to them. | |||||
2018-11-02 | correct syntax | greggameplayer | 1 | -4/+3 | |
2018-11-02 | Fix ASTC Decompressor to support depth parameter | FernandoS27 | 1 | -11/+10 | |
2018-11-01 | Fix ASTC formats | FernandoS27 | 1 | -4/+11 | |
2018-11-01 | Implemented ASTC 5x5 | FernandoS27 | 1 | -1/+5 | |
2018-11-01 | Implement Cube Arrays | FernandoS27 | 1 | -0/+14 | |
2018-10-31 | Implement SurfaceTarget Texture2DArray | greggameplayer | 1 | -0/+1 | |
( needed by Mario+Rabbids Kingdom Battle ) | |||||
2018-10-30 | video_core: Move surface declarations out of gl_rasterizer_cache | ReinUsesLisp | 1 | -114/+56 | |
2018-10-29 | video_core: Move OpenGL specific utils to its renderer | ReinUsesLisp | 1 | -2/+3 | |
2018-10-29 | Fixed black textures, pixelation and we no longer require to auto-generate mipmaps | FernandoS27 | 1 | -14/+2 | |
2018-10-29 | Fixed mipmap block autosizing algorithm | FernandoS27 | 1 | -4/+4 | |
2018-10-29 | Fixed Invalid Image size and Mipmap calculation | FernandoS27 | 1 | -4/+7 | |
2018-10-29 | Fixed Block Resizing algorithm and Clang Format | FernandoS27 | 1 | -3/+4 | |
2018-10-29 | Zero out memory region of recreated surface before flushing | FernandoS27 | 1 | -0/+2 | |
2018-10-28 | Implement Mipmaps | FernandoS27 | 1 | -94/+146 | |
2018-10-28 | Enable alpha channel for DXT1 texture format | Michael | 1 | -2/+2 | |
2018-10-28 | Implement sRGB Support, including workarounds for nvidia driver issues and QT sRGB support | Rodolfo Bogado | 1 | -14/+77 | |
2018-10-27 | gl_rasterizer_cache: Fix compiler warning | Frederic Laing | 1 | -2/+2 | |
2018-10-23 | Fixed Layered Textures Loading and Cubemaps | FernandoS27 | 1 | -69/+66 | |
2018-10-18 | Implement Reinterpret Surface, to accurately blit 3D textures | FernandoS27 | 1 | -2/+4 | |
2018-10-18 | Implement 3D Textures | FernandoS27 | 1 | -0/+2 | |
2018-10-18 | gl_rasterizer_cache: Remove unnecessary block_depth=1 on Flush. | bunnei | 1 | -1/+0 | |
2018-10-18 | gl_rasterizer_cache: Remove unnecessary temporary buffer with unswizzle. | bunnei | 1 | -5/+2 | |
2018-10-16 | gl_rasterizer_cache: Use AccurateCopySurface for use_accurate_gpu_emulation. | bunnei | 1 | -2/+15 | |
2018-10-16 | config: Rename use_accurate_framebuffers -> use_accurate_gpu_emulation. | bunnei | 1 | -2/+2 | |
- This will be used as a catch-all for slow-but-accurate GPU emulation paths. | |||||
2018-10-16 | rasterizer_cache: Refactor to support in-order flushing. | bunnei | 1 | -2/+1 | |
2018-10-16 | gl_rasterizer_cache: Refactor to only call GetRegionEnd on surface creation. | bunnei | 1 | -14/+18 | |
2018-10-16 | gl_rasterizer_cache: Separate guest and host surface size managment. | bunnei | 1 | -80/+68 | |
2018-10-16 | gl_rasterizer_cache: Rename GetGLBytesPerPixel to GetBytesPerPixel. | bunnei | 1 | -10/+10 | |
- This does not really have anything to do with OpenGL. | |||||
2018-10-16 | gl_rasterizer_cache: Remove unused FlushSurface method. | bunnei | 1 | -4/+0 | |
2018-10-16 | gl_rasterizer_cache: Remove usage of Memory::Read/Write functions. | bunnei | 1 | -13/+8 | |
- These cannot be used within the cache, as they change cache state. | |||||
2018-10-16 | gl_rasterizer_cache: Clamp cached surface size to mapped GPU region size. | bunnei | 1 | -16/+29 | |
2018-10-16 | gl_rasterizer_cache: Reintroduce code for handling swizzle and flush to guest RAM. | bunnei | 1 | -28/+106 | |
2018-10-13 | Fix a Crash on Zelda BotW and Splatoon 2, and simplified LoadGLBuffer | FernandoS27 | 1 | -18/+1 | |
2018-10-13 | Propagate depth and depth_block on modules using decoders | FernandoS27 | 1 | -14/+18 | |
2018-10-13 | Added ASTC 5x4; 8x5 | Hexagon12 | 1 | -1/+15 | |
2018-10-10 | Add memory Layout to Render Targets and Depth Buffers | FernandoS27 | 1 | -15/+15 | |
2018-10-10 | Fixed block height settings for RenderTargets and Depth Buffers, and added block width and block depth | FernandoS27 | 1 | -5/+22 | |
2018-10-06 | gl_rasterizer: Add rasterizer cache code to handle accerated fermi copies. | bunnei | 1 | -0/+42 | |
2018-10-06 | gl_rasterizer_cache: Implement a simpler surface copy using glCopyImageSubData. | bunnei | 1 | -0/+21 | |
2018-09-30 | gl_rasterizer_cache: Fixes to how we do render to cubemap. | bunnei | 1 | -9/+5 | |
- Fixes issues with Splatoon 2. | |||||
2018-09-30 | gl_rasterizer_cache: Add check for array rendering to cubemap texture. | bunnei | 1 | -0/+8 | |
2018-09-30 | gl_rasterizer_cache: Implement render to cubemap. | bunnei | 1 | -119/+182 | |
2018-09-30 | gl_rasterizer_cache: Add support for SurfaceTarget::TextureCubemap. | bunnei | 1 | -1/+34 | |
2018-09-30 | gl_rasterizer_cache: Implement LoadGLBuffer for Texture2DArray. | bunnei | 1 | -0/+8 | |
2018-09-30 | gl_rasterizer_cache: Update BlitTextures to support non-Texture2D ColorTexture surfaces. | bunnei | 1 | -23/+88 | |
2018-09-30 | gl_rasterizer_cache: Workaround for Texture2D -> Texture2DArray scenario. | bunnei | 1 | -3/+15 | |
2018-09-30 | gl_rasterizer_cache: Keep track of surface 2D size separately from total size. | bunnei | 1 | -26/+34 | |
2018-09-23 | Added glObjectLabels for renderdoc for textures and shader programs (#1384) | David | 1 | -0/+3 | |
* Added glObjectLabels for renderdoc for textures and shader programs * Changed hardcoded "Texture" name to reflect the texture type instead * Removed string initialize | |||||
2018-09-23 | correct BC6H | greggameplayer | 1 | -2/+2 | |
2018-09-16 | Implement ASTC_2D_8X8 (Bayonetta 2) | raven02 | 1 | -1/+8 | |
2018-09-15 | Port #4182 from Citra: "Prefix all size_t with std::" | fearlessTobi | 1 | -21/+22 | |
2018-09-13 | gl_rasterizer_cache: B5G6R5U should use GL_RGB8 as an internal format. | bunnei | 1 | -1/+1 | |
- Fixes a regression with Sonic Mania with ARB_texture_storage. | |||||
2018-09-12 | gl_rasterizer_cache: Always blit on recreate, regardless of format. | bunnei | 1 | -6/+10 | |
- Fixes several rendering issues with Super Mario Odyssey. | |||||
2018-09-12 | gl_shader_cache: Remove cache_width/cache_height. | bunnei | 1 | -6/+0 | |
- This was once an optimization, but we no longer need it with the cache reserve. - This is also inaccurate. | |||||
2018-09-11 | gl_rasterizer: Use ARB_texture_storage. | Markus Wick | 1 | -11/+8 | |
It allows us to use texture views and it reduces the overhead within the GPU driver. But it disallows us to reallocate the texture, but we don't do so anyways. In the end, it is the new way to allocate textures, so there is no need to use the old way. | |||||
2018-09-10 | gl_rasterizer_cache: Only use depth for applicable texture formats. | bunnei | 1 | -6/+22 | |
- Fixes an issue with Octopath Traveler leaving stale data here. | |||||
2018-09-10 | gl_rasterizer: Implement multiple color attachments. | bunnei | 1 | -48/+20 | |
2018-09-09 | video_core: fixed arithmetic overflow warnings & improved code style | Patrick Elsässer | 1 | -10/+13 | |
- Fixed all warnings, for renderer_opengl items, which were indicating a possible incorrect behavior from integral promotion rules and types larger than those in which arithmetic is typically performed. - Added const for variables where possible and meaningful. - Added constexpr where possible. | |||||
2018-09-08 | gl_rasterizer_cache: Improve accuracy of RecreateSurface for non-2D textures. | bunnei | 1 | -27/+41 | |
2018-09-08 | gl_rasterizer_cache: Partially implement several non-2D texture types. | bunnei | 1 | -30/+111 | |
2018-09-08 | gl_rasterizer_cache: Track texture depth. | bunnei | 1 | -1/+3 | |
2018-09-08 | gl_rasterizer_cache: Remove impl. of FlushGLBuffer. | bunnei | 1 | -34/+1 | |
- Will not work for non-2d textures, and was not used anyways. | |||||
2018-09-08 | gl_rasterizer_cache: Keep track of texture type per surface. | bunnei | 1 | -31/+49 | |
2018-09-08 | gl_rasterizer_cache: Remove unused DownloadGLTexture. | bunnei | 1 | -50/+0 | |
2018-09-08 | gl_state: Keep track of texture target. | bunnei | 1 | -6/+6 | |
2018-09-05 | gl_rasterizer: Skip TODO log. | Markus Wick | 1 | -1/+1 | |
This is called ~3k times per frame in SMO ingame. My laptop spends ~3ms per frame on allocating and freeing this string. Let's just stop printing this kind of redundant information. | |||||
2018-08-31 | gl_rasterizer_cache: Use accurate framebuffer setting for accurate copies. | bunnei | 1 | -53/+54 | |
2018-08-31 | gl_rasterizer_cache: Also use reserve cache for RecreateSurface. | bunnei | 1 | -12/+15 | |
2018-08-31 | gl_renderer: Cache textures, framebuffers, and shaders based on CPU address. | bunnei | 1 | -57/+21 | |
2018-08-31 | Implement BC6H_UF16 & BC6H_SF16 (#1092) | greggameplayer | 1 | -3/+13 | |
* Implement BC6H_UF16 & BC6H_SF16 Require by ARMS * correct coding style * correct coding style part 2 | |||||
2018-08-28 | gpu: Make memory_manager private | Lioncash | 1 | -8/+8 | |
Makes the class interface consistent and provides accessors for obtaining a reference to the memory manager instance. Given we also return references, this makes our more flimsy uses of const apparent, given const doesn't propagate through pointers in the way one would typically expect. This makes our mutable state more apparent in some places. | |||||
2018-08-28 | gl_rasterizer_cache: Update to use RasterizerCache base class. | bunnei | 1 | -101/+9 | |
2018-08-23 | gl_rasterizer_cache: Blit when possible on RecreateSurface. | bunnei | 1 | -5/+12 | |
2018-08-23 | gl_rasterizer_cache: Reserve surfaces that have already been created for later use. | bunnei | 1 | -3/+28 | |
2018-08-23 | gl_rasterizer_cache: Remove assert for RecreateSurface type. | bunnei | 1 | -1/+0 | |
2018-08-23 | gl_rasterizer_cache: Implement compressed texture copies. | bunnei | 1 | -8/+18 | |
2018-08-22 | renderer_opengl: Namespace OpenGL code | Lioncash | 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. | |||||
2018-08-20 | Rasterizer: Reinterpret the raw texture bytes instead of blitting (and thus doing format conversion) to a new texture when a game requests an old texture address with a different format. | Subv | 1 | -3/+49 | |
2018-08-20 | 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 | 1 | -6/+11 | |
2018-08-20 | Implemented RGBA8_UINT | David Marcec | 1 | -0/+3 | |
Needed by kirby | |||||
2018-08-17 | gl_rasterizer_cache: Remove asserts for supported blits. | bunnei | 1 | -2/+0 | |
2018-08-16 | gl_rasterizer_cache: Treat Depth formats differently from DepthStencil. | bunnei | 1 | -8/+10 | |
2018-08-15 | gl_rasterizer_cache: Cleanup some PixelFormat names and logging. | bunnei | 1 | -15/+15 | |
2018-08-15 | gl_rasterizer_cache: Implement G8R8S format. | bunnei | 1 | -5/+9 | |
- Used by Super Mario Odyssey. | |||||
2018-08-14 | Fix BC7U | greggameplayer | 1 | -1/+1 | |
2018-08-14 | renderer_opengl: Implement RenderTargetFormat::RGBA16_UNORM. | bunnei | 1 | -0/+3 | |
- Used by Breath of the Wild. | |||||
2018-08-13 | Implement RG32UI and R32UI | David Marcec | 1 | -0/+6 | |
Needed for xenoblade | |||||
2018-08-13 | renderer_opengl: Implement RenderTargetFormat::RGBA16_UINT. | bunnei | 1 | -0/+3 | |
- Used by Breath of the Wild. | |||||
2018-08-13 | renderer_opengl: Implement RenderTargetFormat::RG8_UNORM. | bunnei | 1 | -20/+47 | |
- Used by Breath of the Wild. | |||||
2018-08-12 | Implement R8_UINT RenderTargetFormat & PixelFormat (#1014) | greggameplayer | 1 | -20/+23 | |
- Used by Go Vacation | |||||
2018-08-12 | gl_rasterizer: Implement render target format RG8_SNORM. | bunnei | 1 | -3/+5 | |
- Used by Super Mario Odyssey. | |||||
2018-08-12 | gl_rasterizer: Implement render target format RGBA8_SNORM. | bunnei | 1 | -21/+24 | |
- Used by Super Mario Odyssey. | |||||
2018-08-11 | Implement R16S & R16UI & R16I RenderTargetFormats & PixelFormats and more (R16_UNORM needed by Fate Extella) (#848) | greggameplayer | 1 | -7/+14 | |
* 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 | |||||
2018-08-10 | gl_rasterizer_cache: Remove unused viewport parameter of GetFramebufferSurfaces() | Lioncash | 1 | -2/+2 | |
2018-08-10 | textures: Refactor out for Texture/Depth FormatFromPixelFormat. | bunnei | 1 | -10/+21 | |
2018-08-10 | gl_rasterizer_cache: Add bounds checking for gl_buffer copies. | bunnei | 1 | -10/+12 | |
2018-08-10 | Implement SNORM for BC5/DXN2 (#998) | Khangaroo | 1 | -12/+17 | |
* Implement BC5/DXN2 (#996) - Used by Kirby Star Allies. * Implement BC5/DXN2 SNORM UNORM for Kirby Star Allies SNORM for Super Mario Odyssey | |||||
2018-08-09 | gl_rasterizer_cache: Avoid iterator invalidation issues within InvalidateRegion() | Lioncash | 1 | -2/+4 | |
A range-based for loop can't be used when the container being iterated is also being erased from. | |||||
2018-08-09 | Implement BC5/DXN2 (#996) | Khangaroo | 1 | -12/+14 | |
- Used by Kirby Star Allies. | |||||
2018-08-09 | gl_rasterizer_cache: Invert conditional in LoadGLBuffer() | Lioncash | 1 | -5/+5 | |
It's generally easier to follow code using conditionals that operate in terms of the true case followed by the false case (no chance of overlooking the exclamation mark). | |||||
2018-08-09 | gl_rasterizer_cache: Use std::vector::assign in LoadGLBuffer() for the non-tiled case | Lioncash | 1 | -4/+6 | |
resize() causes the vector to expand and zero out the added members to the vector, however we can avoid this zeroing by using assign(). Given we have the pointer to the data we want to copy, we can calculate the end pointer and directly copy the range of data without the need to perform the resize() beforehand. | |||||
2018-08-09 | gl_rasterizer_cache: Make pointer const in LoadGLBuffer() | Lioncash | 1 | -1/+1 | |
This is only ever read from, so we can make the data it's pointing to const. | |||||
2018-08-06 | gl_rasterizer_cache: Avoid superfluous surface copies. | bunnei | 1 | -4/+10 | |
2018-08-02 | Implement RGB32F PixelFormat (#886) (used by Go Vacation) | greggameplayer | 1 | -3/+6 | |
2018-07-26 | Implement R16_G16 | Unknown | 1 | -13/+25 | |
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 | |||||
2018-07-25 | GPU: Use the right texture format for sRGBA framebuffers. | Subv | 1 | -3/+6 | |
2018-07-25 | GPU: Implemented the Z32_S8_X24 depth buffer format. | Subv | 1 | -1/+4 | |
2018-07-24 | GPU: Implemented the R16 and R16F texture formats. | Subv | 1 | -1/+6 | |
2018-07-24 | GPU: Implement texture format R32F. | Subv | 1 | -2/+5 | |
2018-07-24 | gl_rasterizer_cache: Implement RenderTargetFormat RG32_FLOAT. | bunnei | 1 | -3/+5 | |
2018-07-24 | gl_rasterizer_cache: Implement RenderTargetFormat RGBA32_FLOAT. | bunnei | 1 | -3/+7 | |
2018-07-24 | gl_rasterizer_cache: Implement RenderTargetFormat BGRA8_UNORM. | bunnei | 1 | -4/+6 | |
2018-07-22 | gl_rasterizer_cache: Blit surfaces on recreation instead of flush and load. | bunnei | 1 | -2/+83 | |
2018-07-22 | gl_rasterizer_cache: Use GPUVAddr as cache key, not parameter set. | bunnei | 1 | -25/+16 | |
2018-07-22 | gl_rasterizer_cache: Use zeta_width and zeta_height registers for depth buffer. | bunnei | 1 | -8/+8 | |
2018-07-19 | core: Don't construct instance of Core::System, just to access its live instance | Lioncash | 1 | -1/+1 | |
This would result in a lot of allocations and related object construction, just to toss it all away immediately after the call. These are definitely not intentional, and it was intended that all of these should have been accessing the static function GetInstance() through the name itself, not constructed instances. | |||||
2018-07-15 | gl_rasterizer_cache: Implement texture format G8R8. | bunnei | 1 | -5/+26 | |
2018-07-15 | gl_rasterizer_cache: Fix incorrect offset in ConvertS8Z24ToZ24S8. | bunnei | 1 | -1/+2 | |
2018-07-15 | gl_rasterizer_cache: Implement depth format Z16_UNORM. | bunnei | 1 | -1/+4 | |
2018-07-07 | GPU: Implemented the BC7U texture format. | Subv | 1 | -3/+7 | |
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. | |||||
2018-07-04 | GPU: Implemented the 32 bit float depth buffer format. | Subv | 1 | -2/+4 | |
2018-07-04 | GPU: Only configure the used framebuffers during clear. | Subv | 1 | -7/+27 | |
Don't try to configure the color buffer if it is not being cleared, it may not be completely valid at this point. | |||||
2018-07-03 | gl_rasterizer_cache: Implement PixelFormat S8Z24. | bunnei | 1 | -11/+73 | |
2018-07-03 | Rename logging macro back to LOG_* | James Rowe | 1 | -3/+3 | |
2018-07-02 | GPU: Implemented the Z24S8 depth format and load the depth framebuffer. | Subv | 1 | -20/+29 | |
2018-07-02 | GPU: Ignore disabled textures and textures with an invalid address. | Subv | 1 | -0/+5 | |
2018-06-30 | GPU: Implemented the RGBA32_UINT rendertarget format. | Subv | 1 | -4/+7 | |
2018-06-30 | GLCache: Specify the component type along the texture type in the format tuple. | Subv | 1 | -17/+21 | |
2018-06-29 | gl_rasterizer_cache: Only dereference color_surface/depth_surface if valid. | bunnei | 1 | -2/+6 | |
2018-06-27 | gl_rasterizer_cache: Implement caching for texture and framebuffer surfaces. | bunnei | 1 | -7/+109 | |
gl_rasterizer_cache: Improved cache management based on Citra's implementation. gl_surface_cache: Add some docstrings. | |||||
2018-06-27 | gl_rasterizer_cache: Various fixes for ASTC handling. | bunnei | 1 | -29/+34 | |
2018-06-27 | gl_rasterizer_cache: Use SurfaceParams as a key for surface caching. | bunnei | 1 | -30/+39 | |
2018-06-27 | gl_rasterizer: Implement AccelerateDisplay to forward textures to framebuffers. | bunnei | 1 | -0/+26 | |
2018-06-27 | gl_rasterizer_cache: Cache size_in_bytes as a const per surface. | bunnei | 1 | -9/+12 | |
2018-06-27 | gl_rasterizer_cache: Refactor to make SurfaceParams members const. | bunnei | 1 | -39/+24 | |
2018-06-27 | gl_rasterizer_cache: Remove Citra's rasterizer cache, always load/flush surfaces. | bunnei | 1 | -1128/+134 | |
2018-06-26 | gl_state: Fix state management for texture swizzle. | bunnei | 1 | -1/+1 | |
2018-06-26 | gl_rasterizer_cache: Fix inverted B5G6R5 format. | bunnei | 1 | -1/+1 | |
2018-06-20 | Build: Fixed some MSVC warnings in various parts of the code. | Subv | 1 | -1/+1 | |
2018-06-18 | gl_rasterizer: Implement texture format ASTC_2D_4X4. | bunnei | 1 | -1/+27 | |
2018-06-18 | gl_rasterizer_cache: Loosen things up a bit. | bunnei | 1 | -26/+8 | |
2018-06-08 | GLCache: Align compressed texture sizes to their compression ratio, and then align that compressed size to the block height for tiled textures. | Subv | 1 | -2/+7 | |
This fixes issues with retrieving non-block-aligned tiled compressed textures from the cache. | |||||
2018-06-07 | GLCache: Use the full uncompressed size when blitting from one texture to another. | Subv | 1 | -3/+6 | |
This avoids the problem of only copying a tiny piece of the textures when they are compressed. | |||||
2018-06-07 | GLCache: Simplify the logic to copy from one texture to another in BlitTextures. | Subv | 1 | -53/+3 | |
We now use glCopyImageSubData, this should avoid errors with trying to attach a compressed texture as a framebuffer's color attachment and then blitting to it. Maybe in the future we can change this to glCopyTextureSubImage which only requires GL_ARB_direct_state_access. | |||||
2018-06-06 | GPU: Implemented the R11FG11FB10F texture and rendertarget formats. | Subv | 1 | -7/+12 | |
2018-06-04 | GLCache: Corrected a mismatch between storing compressed sizes and verifying the uncompressed alignment in GetSurface. | Subv | 1 | -1/+2 | |
2018-06-02 | GPU: Implemented the DXN1 (BC4) texture format. | Subv | 1 | -2/+4 | |
2018-05-31 | gl_rasterizer_cache: Assert that component type is UNorm or format is RGBA16F. | bunnei | 1 | -1/+2 | |
2018-05-31 | gl_rasterizer_cache: Implement PixelFormat RGBA16F. | bunnei | 1 | -3/+5 | |
2018-05-30 | GPU: Implemented the R8 texture format (0x1D) | Subv | 1 | -2/+4 | |
2018-05-30 | gl_rasterize_cache: Invert order of tex format RGB565. | bunnei | 1 | -1/+1 | |
2018-05-27 | GPU: Implemented the A1B5G5R5 texture format (0x14) | Subv | 1 | -2/+5 | |
2018-04-25 | gl_rasterizer_cache: Use CHAR_BIT for bpp conversions instead of 8. | bunnei | 1 | -3/+3 | |
2018-04-25 | gl_rasterizer_cache: Use GPU PAGE_BITS/SIZE, not CPU. | bunnei | 1 | -5/+5 | |
2018-04-25 | gl_rasterizer_cache: Use new logger. | bunnei | 1 | -4/+4 | |
2018-04-25 | gl_rasterizer_cache: Add a function for finding framebuffer GPU address. | bunnei | 1 | -0/+27 | |
2018-04-25 | gl_rasterizer_cache: Handle compressed texture sizes. | bunnei | 1 | -20/+17 | |
2018-04-25 | gl_rasterizer_cache: Update to be based on GPU addresses, not CPU addresses. | bunnei | 1 | -24/+39 | |
2018-04-24 | memory_manager: Make GpuToCpuAddress return an optional. | bunnei | 1 | -2/+2 | |
2018-04-24 | memory_manager: Use GPUVAdddr, not PAddr, for GPU addresses. | bunnei | 1 | -2/+2 | |
2018-04-22 | GPU: Implement the A2BGR10 texture format. | Subv | 1 | -3/+5 | |
2018-04-21 | opengl: Remove unnecessary header inclusions | Lioncash | 1 | -2/+0 | |
2018-04-21 | gl_rasterizer_cache: Make MatchFlags an enum class | Lioncash | 1 | -4/+9 | |
Prevents implicit conversions and scope pollution. | |||||
2018-04-20 | math_util: Remove the Clamp() function | Lioncash | 1 | -4/+4 | |
C++17 adds clamp() to the standard library, so we can remove ours in favor of it. | |||||
2018-04-19 | GPU: Add support for the DXT23 and DXT45 compressed texture formats. | Subv | 1 | -24/+11 | |
2018-04-19 | GPU: Implemented the B5G6R5 format. | Subv | 1 | -5/+10 | |
2018-04-18 | GLCache: Added boilerplate code to make supporting configurable texture component types. | Subv | 1 | -9/+23 | |
For now only the UNORM type is supported. | |||||
2018-04-18 | GLCache: Unify texture and framebuffer formats when converting to OpenGL. | Subv | 1 | -13/+6 | |
2018-04-18 | GPU: Texture format 8 and framebuffer format 0xD5 are actually ABGR8. | Subv | 1 | -3/+3 | |
2018-04-18 | GLCache: Take into account the texture's block height when caching and unswizzling. | Subv | 1 | -42/+40 | |
2018-04-18 | GPU: Allow using a configurable block height when unswizzling textures. | Subv | 1 | -1/+10 | |
2018-04-14 | renderer_opengl: Use OGLProgram instead of OGLShader. | bunnei | 1 | -1/+1 | |
2018-04-07 | Fix clang format issues | James Rowe | 1 | -1/+1 | |
2018-04-07 | GLCache: Specialize the MortonCopy function for the DXT1 texture format. | Subv | 1 | -1/+15 | |
It will now use the UnswizzleTexture function instead of the MortonCopyPixels128, which doesn't seem to work for textures. | |||||
2018-04-07 | GLCache: Implemented GetTextureSurface. | Subv | 1 | -3/+28 | |
2018-04-07 | GLCache: Support uploading compressed textures to the GPU. | Subv | 1 | -5/+17 | |
Compressed texture formats like DXT1, DXT2, DXT3, etc will use this to ease the load on the CPU. | |||||
2018-04-07 | GL: Remove remaining references to 3DS-specific pixel formats | Subv | 1 | -83/+22 | |
2018-04-07 | RasterizerCache: Remove 3DS-specific pixel formats. | Subv | 1 | -12/+2 | |
We're only left with RGB8 and DXT1 for now. More will be added as they are needed. | |||||
2018-04-04 | gl_rasterizer_cache.cpp: Update from citra to yuzu | N00byKing | 1 | -1/+1 | |
2018-03-27 | gl_rasterizer_cache: Implement UpdatePagesCachedCount. | bunnei | 1 | -7/+36 | |
2018-03-27 | gl_rasterizer_cache: Fix an ASSERT_MSG. | bunnei | 1 | -1/+1 | |
2018-03-27 | gl_rasterizer_cache: MortonCopy Switch-style. | bunnei | 1 | -72/+32 | |
2018-03-27 | gl_rasterizer_cache: Implement GetFramebufferSurfaces. | bunnei | 1 | -3/+94 | |
2018-03-23 | gl_rasterizer_cache: Add missing include for vm_manager. | bunnei | 1 | -0/+1 | |
2018-03-23 | RasterizerCacheOpenGL: FlushAll should flush full memory region. | bunnei | 1 | -1/+1 | |
2018-03-23 | LoadGLBuffer: Use bytes_per_pixel, not bits. | bunnei | 1 | -1/+2 | |
2018-03-23 | gl_rasterizer_cache: LoadGLBuffer should do a morton copy. | bunnei | 1 | -16/+5 | |
2018-03-23 | video_core: Remove usage of PAddr and replace with VAddr. | bunnei | 1 | -18/+18 | |
2018-03-23 | gl_rasterizer: Replace a bunch of UNIMPLEMENTED with ASSERT. | bunnei | 1 | -5/+5 | |
2018-03-20 | renderer_gl: Port boilerplate rasterizer code over from Citra. | bunnei | 1 | -1/+0 | |
2018-03-20 | renderer_gl: Port over gl_rasterizer_cache module from Citra. | bunnei | 1 | -0/+1362 | |
2018-01-13 | Remove references to PICA and rasterizers in video_core | James Rowe | 1 | -799/+0 | |
2017-06-10 | gl_rasterizer_cache: depth write is disabled if allow_depth_stencil_write is false | wwylele | 1 | -4/+5 | |
2017-05-28 | Move screen size constants from video_core to core | Yuri Kunde Schlesner | 1 | -12/+8 | |
video_core didn't even properly use them, and they were the source of many otherwise-unnecessary dependencies from core to video_core. | |||||
2017-03-01 | Input: remove unused stuff & clean up | wwylele | 1 | -0/+1 | |
1. removed zl, zr and c-stick from HID::PadState. They are handled by IR, not HID 2. removed button handling in EmuWindow 3. removed key_map 4. cleanup #include | |||||
2017-02-04 | VideoCore: Split framebuffer regs from Regs struct | Yuri Kunde Schlesner | 1 | -5/+8 | |
2017-02-04 | VideoCore: Split texturing regs from Regs struct | Yuri Kunde Schlesner | 1 | -2/+2 | |
2017-02-04 | Pica/Texture: Simplify/cleanup texture tile addressing | Yuri Kunde Schlesner | 1 | -2/+1 | |
2017-02-04 | VideoCore: Move LookupTexture out of debug_utils.h | Yuri Kunde Schlesner | 1 | -5/+6 | |
2017-01-30 | video_core: gl_rasterizer_cache.cpp removed unused type alias | Kloen | 1 | -1/+0 | |
2017-01-07 | config: Add option for specifying screen resolution scale factor. | bunnei | 1 | -3/+10 | |
2016-12-23 | core: Move emu_window and key_map into core | MerryMage | 1 | -1/+1 | |
* Removes circular dependences (common should not depend on core) | |||||
2016-12-07 | OpenGL: Drop framebuffer completeness check. | Markus Wick | 1 | -14/+7 | |
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 | |||||
2016-12-04 | OpenGL: Non-zero stride only makes sense for linear buffers | Yuri Kunde Schlesner | 1 | -5/+8 | |
2016-12-04 | OpenGL: Ensure framebuffer binding is restored if completion check fails | Yuri Kunde Schlesner | 1 | -10/+7 | |
2016-09-21 | Use negative priorities to avoid special-casing the self-include | Yuri Kunde Schlesner | 1 | -1/+1 | |
2016-09-21 | Remove empty newlines in #include blocks. | Emmanuel Gil Peyrot | 1 | -5/+1 | |
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation. | |||||
2016-09-19 | Manually tweak source formatting and then re-run clang-format | Yuri Kunde Schlesner | 1 | -2/+2 | |
2016-09-18 | Sources: Run clang-format on everything. | Emmanuel Gil Peyrot | 1 | -98/+187 | |
2016-04-30 | VideoCore: Run include-what-you-use and fix most includes. | Emmanuel Gil Peyrot | 1 | -2/+11 | |
2016-04-21 | HWRasterizer: Texture forwarding | tfarley | 1 | -38/+661 | |
2016-04-05 | Common: Remove Common::make_unique, use std::make_unique | MerryMage | 1 | -2/+3 | |
2015-12-07 | OpenGL: Rename cache functions to better match what they actually do | Yuri Kunde Schlesner | 1 | -4/+3 | |
2015-09-11 | video_core: Reorganize headers | Lioncash | 1 | -1/+1 | |
2015-09-03 | OpenGL: Use Sampler Objects to decouple sampler config from textures | Yuri Kunde Schlesner | 1 | -20/+5 | |
Fixes #978 | |||||
2015-09-03 | OpenGL: Remove ugly and endian-unsafe color pointer casts | Yuri Kunde Schlesner | 1 | -1/+1 | |
2015-08-28 | gl_rasterizer_cache: Detect and ignore unnecessary texture flushes. | bunnei | 1 | -5/+13 | |
2015-08-25 | Integrate the MicroProfile profiling library | Yuri Kunde Schlesner | 1 | -0/+5 | |
This brings goodies such as a configurable user interface and multi-threaded timeline view. | |||||
2015-08-06 | OpenGL: Fix state tracking in situations with reused object handles | Yuri Kunde Schlesner | 1 | -0/+1 | |
If an OpenGL object is created, bound to a binding using the state tracker, and then destroyed, a newly created object can be assigned the same numeric handle by OpenGL. However, even though it is a new object, and thus needs to be bound to the binding again, the state tracker compared the current and previous handles and concluded that no change needed to be made, leading to failure to bind objects in certain cases. This manifested as broken text in VVVVVV, which this commit fixes along with similar texturing problems in other games. | |||||
2015-07-23 | Rasterizer/GL: Set the border color when binding a texture. | Subv | 1 | -2/+9 | |
2015-07-21 | GPU: Added registers for min and mag texture filters and implemented them in the hw renderer. | Subv | 1 | -3/+2 | |
2015-05-30 | Move video_core/math.h to common/vector_math.h | archshift | 1 | -1/+1 | |
The file only contained vector manipulation code, and such widely-useable code doesn't belong in video_core. | |||||
2015-05-23 | OpenGL renderer | tfarley | 1 | -0/+77 | |