Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gl_rasterizer_cache: Refactor to make SurfaceParams members const. | bunnei | 2018-06-27 | 1 | -39/+24 |
| | |||||
* | gl_rasterizer_cache: Remove Citra's rasterizer cache, always load/flush surfaces. | bunnei | 2018-06-27 | 1 | -1128/+134 |
| | |||||
* | Merge pull request #593 from bunnei/fix-swizzle | bunnei | 2018-06-27 | 1 | -1/+1 |
|\ | | | | | gl_state: Fix state management for texture swizzle. | ||||
| * | gl_state: Fix state management for texture swizzle. | bunnei | 2018-06-26 | 1 | -1/+1 |
| | | |||||
* | | gl_rasterizer_cache: Fix inverted B5G6R5 format. | bunnei | 2018-06-26 | 1 | -1/+1 |
|/ | |||||
* | Build: Fixed some MSVC warnings in various parts of the code. | Subv | 2018-06-20 | 1 | -1/+1 |
| | |||||
* | gl_rasterizer: Implement texture format ASTC_2D_4X4. | bunnei | 2018-06-18 | 1 | -1/+27 |
| | |||||
* | gl_rasterizer_cache: Loosen things up a bit. | bunnei | 2018-06-18 | 1 | -26/+8 |
| | |||||
* | GLCache: Align compressed texture sizes to their compression ratio, and then align that compressed size to the block height for tiled textures. | Subv | 2018-06-08 | 1 | -2/+7 |
| | | | | This fixes issues with retrieving non-block-aligned tiled compressed textures from the cache. | ||||
* | GLCache: Use the full uncompressed size when blitting from one texture to another. | Subv | 2018-06-07 | 1 | -3/+6 |
| | | | | This avoids the problem of only copying a tiny piece of the textures when they are compressed. | ||||
* | GLCache: Simplify the logic to copy from one texture to another in BlitTextures. | Subv | 2018-06-07 | 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. | ||||
* | GPU: Implemented the R11FG11FB10F texture and rendertarget formats. | Subv | 2018-06-06 | 1 | -7/+12 |
| | |||||
* | GLCache: Corrected a mismatch between storing compressed sizes and verifying the uncompressed alignment in GetSurface. | Subv | 2018-06-04 | 1 | -1/+2 |
| | |||||
* | GPU: Implemented the DXN1 (BC4) texture format. | Subv | 2018-06-02 | 1 | -2/+4 |
| | |||||
* | gl_rasterizer_cache: Assert that component type is UNorm or format is RGBA16F. | bunnei | 2018-05-31 | 1 | -1/+2 |
| | |||||
* | gl_rasterizer_cache: Implement PixelFormat RGBA16F. | bunnei | 2018-05-31 | 1 | -3/+5 |
| | |||||
* | Merge pull request #483 from bunnei/sonic | Sebastian Valle | 2018-05-30 | 1 | -1/+1 |
|\ | | | | | Several GPU fixes to boot Sonic Mania | ||||
| * | gl_rasterize_cache: Invert order of tex format RGB565. | bunnei | 2018-05-30 | 1 | -1/+1 |
| | | |||||
* | | GPU: Implemented the R8 texture format (0x1D) | Subv | 2018-05-30 | 1 | -2/+4 |
|/ | |||||
* | GPU: Implemented the A1B5G5R5 texture format (0x14) | Subv | 2018-05-27 | 1 | -2/+5 |
| | |||||
* | gl_rasterizer_cache: Use CHAR_BIT for bpp conversions instead of 8. | bunnei | 2018-04-25 | 1 | -3/+3 |
| | |||||
* | gl_rasterizer_cache: Use GPU PAGE_BITS/SIZE, not CPU. | bunnei | 2018-04-25 | 1 | -5/+5 |
| | |||||
* | gl_rasterizer_cache: Use new logger. | bunnei | 2018-04-25 | 1 | -4/+4 |
| | |||||
* | gl_rasterizer_cache: Add a function for finding framebuffer GPU address. | bunnei | 2018-04-25 | 1 | -0/+27 |
| | |||||
* | gl_rasterizer_cache: Handle compressed texture sizes. | bunnei | 2018-04-25 | 1 | -20/+17 |
| | |||||
* | gl_rasterizer_cache: Update to be based on GPU addresses, not CPU addresses. | bunnei | 2018-04-25 | 1 | -24/+39 |
| | |||||
* | memory_manager: Make GpuToCpuAddress return an optional. | bunnei | 2018-04-24 | 1 | -2/+2 |
| | |||||
* | memory_manager: Use GPUVAdddr, not PAddr, for GPU addresses. | bunnei | 2018-04-24 | 1 | -2/+2 |
| | |||||
* | GPU: Implement the A2BGR10 texture format. | Subv | 2018-04-22 | 1 | -3/+5 |
| | |||||
* | Merge pull request #375 from lioncash/header | bunnei | 2018-04-21 | 1 | -2/+0 |
|\ | | | | | opengl: Remove unnecessary header inclusions | ||||
| * | opengl: Remove unnecessary header inclusions | Lioncash | 2018-04-21 | 1 | -2/+0 |
| | | |||||
* | | gl_rasterizer_cache: Make MatchFlags an enum class | Lioncash | 2018-04-21 | 1 | -4/+9 |
|/ | | | | Prevents implicit conversions and scope pollution. | ||||
* | math_util: Remove the Clamp() function | Lioncash | 2018-04-20 | 1 | -4/+4 |
| | | | | | C++17 adds clamp() to the standard library, so we can remove ours in favor of it. | ||||
* | GPU: Add support for the DXT23 and DXT45 compressed texture formats. | Subv | 2018-04-19 | 1 | -24/+11 |
| | |||||
* | GPU: Implemented the B5G6R5 format. | Subv | 2018-04-19 | 1 | -5/+10 |
| | |||||
* | GLCache: Added boilerplate code to make supporting configurable texture component types. | Subv | 2018-04-18 | 1 | -9/+23 |
| | | | | For now only the UNORM type is supported. | ||||
* | GLCache: Unify texture and framebuffer formats when converting to OpenGL. | Subv | 2018-04-18 | 1 | -13/+6 |
| | |||||
* | GPU: Texture format 8 and framebuffer format 0xD5 are actually ABGR8. | Subv | 2018-04-18 | 1 | -3/+3 |
| | |||||
* | GLCache: Take into account the texture's block height when caching and unswizzling. | Subv | 2018-04-18 | 1 | -42/+40 |
| | |||||
* | GPU: Allow using a configurable block height when unswizzling textures. | Subv | 2018-04-18 | 1 | -1/+10 |
| | |||||
* | renderer_opengl: Use OGLProgram instead of OGLShader. | bunnei | 2018-04-14 | 1 | -1/+1 |
| | |||||
* | Fix clang format issues | James Rowe | 2018-04-07 | 1 | -1/+1 |
| | |||||
* | GLCache: Specialize the MortonCopy function for the DXT1 texture format. | Subv | 2018-04-07 | 1 | -1/+15 |
| | | | | It will now use the UnswizzleTexture function instead of the MortonCopyPixels128, which doesn't seem to work for textures. | ||||
* | GLCache: Implemented GetTextureSurface. | Subv | 2018-04-07 | 1 | -3/+28 |
| | |||||
* | GLCache: Support uploading compressed textures to the GPU. | Subv | 2018-04-07 | 1 | -5/+17 |
| | | | | Compressed texture formats like DXT1, DXT2, DXT3, etc will use this to ease the load on the CPU. | ||||
* | GL: Remove remaining references to 3DS-specific pixel formats | Subv | 2018-04-07 | 1 | -83/+22 |
| | |||||
* | RasterizerCache: Remove 3DS-specific pixel formats. | Subv | 2018-04-07 | 1 | -12/+2 |
| | | | | We're only left with RGB8 and DXT1 for now. More will be added as they are needed. | ||||
* | gl_rasterizer_cache.cpp: Update from citra to yuzu | N00byKing | 2018-04-04 | 1 | -1/+1 |
| | |||||
* | gl_rasterizer_cache: Implement UpdatePagesCachedCount. | bunnei | 2018-03-27 | 1 | -7/+36 |
| | |||||
* | gl_rasterizer_cache: Fix an ASSERT_MSG. | bunnei | 2018-03-27 | 1 | -1/+1 |
| | |||||
* | gl_rasterizer_cache: MortonCopy Switch-style. | bunnei | 2018-03-27 | 1 | -72/+32 |
| | |||||
* | gl_rasterizer_cache: Implement GetFramebufferSurfaces. | bunnei | 2018-03-27 | 1 | -3/+94 |
| | |||||
* | gl_rasterizer_cache: Add missing include for vm_manager. | bunnei | 2018-03-23 | 1 | -0/+1 |
| | |||||
* | RasterizerCacheOpenGL: FlushAll should flush full memory region. | bunnei | 2018-03-23 | 1 | -1/+1 |
| | |||||
* | LoadGLBuffer: Use bytes_per_pixel, not bits. | bunnei | 2018-03-23 | 1 | -1/+2 |
| | |||||
* | gl_rasterizer_cache: LoadGLBuffer should do a morton copy. | bunnei | 2018-03-23 | 1 | -16/+5 |
| | |||||
* | video_core: Remove usage of PAddr and replace with VAddr. | bunnei | 2018-03-23 | 1 | -18/+18 |
| | |||||
* | gl_rasterizer: Replace a bunch of UNIMPLEMENTED with ASSERT. | bunnei | 2018-03-23 | 1 | -5/+5 |
| | |||||
* | renderer_gl: Port boilerplate rasterizer code over from Citra. | bunnei | 2018-03-20 | 1 | -1/+0 |
| | |||||
* | renderer_gl: Port over gl_rasterizer_cache module from Citra. | bunnei | 2018-03-20 | 1 | -0/+1362 |
| | |||||
* | Remove references to PICA and rasterizers in video_core | James Rowe | 2018-01-13 | 1 | -799/+0 |
| | |||||
* | gl_rasterizer_cache: depth write is disabled if allow_depth_stencil_write is false | wwylele | 2017-06-10 | 1 | -4/+5 |
| | |||||
* | Move screen size constants from video_core to core | Yuri Kunde Schlesner | 2017-05-28 | 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. | ||||
* | Input: remove unused stuff & clean up | wwylele | 2017-03-01 | 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 | ||||
* | VideoCore: Split framebuffer regs from Regs struct | Yuri Kunde Schlesner | 2017-02-04 | 1 | -5/+8 |
| | |||||
* | VideoCore: Split texturing regs from Regs struct | Yuri Kunde Schlesner | 2017-02-04 | 1 | -2/+2 |
| | |||||
* | Pica/Texture: Simplify/cleanup texture tile addressing | Yuri Kunde Schlesner | 2017-02-04 | 1 | -2/+1 |
| | |||||
* | VideoCore: Move LookupTexture out of debug_utils.h | Yuri Kunde Schlesner | 2017-02-04 | 1 | -5/+6 |
| | |||||
* | video_core: gl_rasterizer_cache.cpp removed unused type alias | Kloen | 2017-01-30 | 1 | -1/+0 |
| | |||||
* | config: Add option for specifying screen resolution scale factor. | bunnei | 2017-01-07 | 1 | -3/+10 |
| | |||||
* | core: Move emu_window and key_map into core | MerryMage | 2016-12-23 | 1 | -1/+1 |
| | | | | * Removes circular dependences (common should not depend on core) | ||||
* | OpenGL: Drop framebuffer completeness check. | Markus Wick | 2016-12-07 | 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 | ||||
* | OpenGL: Non-zero stride only makes sense for linear buffers | Yuri Kunde Schlesner | 2016-12-04 | 1 | -5/+8 |
| | |||||
* | OpenGL: Ensure framebuffer binding is restored if completion check fails | Yuri Kunde Schlesner | 2016-12-04 | 1 | -10/+7 |
| | |||||
* | Use negative priorities to avoid special-casing the self-include | Yuri Kunde Schlesner | 2016-09-21 | 1 | -1/+1 |
| | |||||
* | Remove empty newlines in #include blocks. | Emmanuel Gil Peyrot | 2016-09-21 | 1 | -5/+1 |
| | | | | | | | 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 | -98/+187 |
| | |||||
* | VideoCore: Run include-what-you-use and fix most includes. | Emmanuel Gil Peyrot | 2016-04-30 | 1 | -2/+11 |
| | |||||
* | HWRasterizer: Texture forwarding | tfarley | 2016-04-21 | 1 | -38/+661 |
| | |||||
* | Common: Remove Common::make_unique, use std::make_unique | MerryMage | 2016-04-05 | 1 | -2/+3 |
| | |||||
* | OpenGL: Rename cache functions to better match what they actually do | Yuri Kunde Schlesner | 2015-12-07 | 1 | -4/+3 |
| | |||||
* | video_core: Reorganize headers | Lioncash | 2015-09-11 | 1 | -1/+1 |
| | |||||
* | OpenGL: Use Sampler Objects to decouple sampler config from textures | Yuri Kunde Schlesner | 2015-09-03 | 1 | -20/+5 |
| | | | | Fixes #978 | ||||
* | OpenGL: Remove ugly and endian-unsafe color pointer casts | Yuri Kunde Schlesner | 2015-09-03 | 1 | -1/+1 |
| | |||||
* | gl_rasterizer_cache: Detect and ignore unnecessary texture flushes. | bunnei | 2015-08-28 | 1 | -5/+13 |
| | |||||
* | Integrate the MicroProfile profiling library | Yuri Kunde Schlesner | 2015-08-25 | 1 | -0/+5 |
| | | | | | This brings goodies such as a configurable user interface and multi-threaded timeline view. | ||||
* | OpenGL: Fix state tracking in situations with reused object handles | Yuri Kunde Schlesner | 2015-08-06 | 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. | ||||
* | Rasterizer/GL: Set the border color when binding a texture. | Subv | 2015-07-23 | 1 | -2/+9 |
| | |||||
* | GPU: Added registers for min and mag texture filters and implemented them in the hw renderer. | Subv | 2015-07-21 | 1 | -3/+2 |
| | |||||
* | Move video_core/math.h to common/vector_math.h | archshift | 2015-05-30 | 1 | -1/+1 |
| | | | | The file only contained vector manipulation code, and such widely-useable code doesn't belong in video_core. | ||||
* | OpenGL renderer | tfarley | 2015-05-23 | 1 | -0/+77 |