summaryrefslogtreecommitdiff
path: root/src/video_core/surface.cpp
AgeCommit message (Collapse)Author
2025-01-14Revert incorrect copyright attribution for non-contributed filesZephyron
- In commit b3facaa6bb30cdc39f2b7d632fef1e3bfeee7785, the copyright header was updated to include "Citron Homebrew Project" across multiple files, regardless of whether any contributions were made. - This commit removes the incorrect attribution and reverts the copyright header to its previous state. - Copyright attribution should only be added when meaningful contributions have been made to the file. - This commit ensures proper compliance with copyright standards and maintains correct attribution to the respective contributors. - Special thanks to Tachi for pointing out the need for these corrections and ensuring that proper attribution practices are followed.
2024-12-31core: Update copyright headersZephyron
- Update copyright headers to include Citron Homebrew Project - Add 2025 to copyright years
2024-02-11texture_cache: avoid overestimation of ASTC texture sizesLiam
2023-10-06Implement X8_D24 formatKelebek1
2023-06-27video_core: Add BCn decoding supportGPUCode
2023-05-03GPU: implement missing ASTCFernando Sahmkow
2022-11-28video_core/surface: Eliminate casts in GetFormatType()Lioncash
We can just compare directly and get rid of verbose casting.
2022-11-24GPU: Implement additional render target formats.Fernando Sahmkow
2022-11-24Fermi2D: Implement Bilinear software filtering and address feedback.Fernando Sahmkow
2022-10-07Update 3D regsKelebek1
2022-10-06Texture Cache: Add ASTC 10x5 Format.Fernando Sahmkow
2022-07-27chore: make yuzu REUSE compliantAndrea Pappacoda
[REUSE] is a specification that aims at making file copyright information consistent, so that it can be both human and machine readable. It basically requires that all files have a header containing copyright and licensing information. When this isn't possible, like when dealing with binary assets, generated files or embedded third-party dependencies, it is permitted to insert copyright information in the `.reuse/dep5` file. Oh, and it also requires that all the licenses used in the project are present in the `LICENSES` folder, that's why the diff is so huge. This can be done automatically with `reuse download --all`. The `reuse` tool also contains a handy subcommand that analyzes the project and tells whether or not the project is (still) compliant, `reuse lint`. Following REUSE has a few advantages over the current approach: - Copyright information is easy to access for users / downstream - Files like `dist/license.md` do not need to exist anymore, as `.reuse/dep5` is used instead - `reuse lint` makes it easy to ensure that copyright information of files like binary assets / images is always accurate and up to date To add copyright information of files that didn't have it I looked up who committed what and when, for each file. As yuzu contributors do not have to sign a CLA or similar I couldn't assume that copyright ownership was of the "yuzu Emulator Project", so I used the name and/or email of the commit author instead. [REUSE]: https://reuse.software Follow-up to 01cf05bc75b1e47beb08937439f3ed9339e7b254
2022-07-05renderer_(gl/vk): Implement ASTC_10x6_UNORMMorph
- Used by Monster Hunter Rise Update 10.0.2
2022-06-13common: Change semantics of UNREACHABLE to unconditionally crashLiam
2022-03-24hle: nvflinger: Migrate android namespace -> Service::android.bunnei
2022-03-24hle: nvflinger: Move PixelFormat to its own header.bunnei
2021-11-17video_core: Add S8_UINT stencil formatMorph
2021-11-16Vulkan Rasterizer: Fix clears on integer textures.FernandoS27
2021-11-16vk_texture_cache: Use nearest neighbor scaling when availableameerj
2021-06-16Reaper: Address Feedback.Fernando Sahmkow
2020-12-30video_core: Rewrite the texture cacheReinUsesLisp
The current texture cache has several points that hurt maintainability and performance. It's easy to break unrelated parts of the cache when doing minor changes. The cache can easily forget valuable information about the cached textures by CPU writes or simply by its normal usage.The current texture cache has several points that hurt maintainability and performance. It's easy to break unrelated parts of the cache when doing minor changes. The cache can easily forget valuable information about the cached textures by CPU writes or simply by its normal usage. This commit aims to address those issues.
2020-12-07video_core: Remove unnecessary enum class casting in logging messagesLioncash
fmt now automatically prints the numeric value of an enum class member by default, so we don't need to use casts any more. Reduces the line noise a bit.
2020-07-13video_core: Rearrange pixel format namesReinUsesLisp
Normalizes pixel format names to match Vulkan names. Previous to this commit pixel formats had no convention, leading to confusion and potential bugs.
2020-07-13video_core: Fix DXT4 and RGB565ReinUsesLisp
2020-07-13video_core: Fix B5G6R5_UNORM render target formatReinUsesLisp
2020-07-13video_core: Implement RGBA32_SINT render targetReinUsesLisp
2020-07-13video_core: Implement RGBA32_SINT render targetReinUsesLisp
2020-07-13video_core: Implement RGBA16_SINT render targetReinUsesLisp
2020-07-13video_core: Implement RGBA8_SINT render targetReinUsesLisp
2020-07-13video_core: Implement RG32_SINT render targetReinUsesLisp
2020-07-13video_core: Implement RG8_SINT render target and fix RG8_UINTReinUsesLisp
2020-07-13video_core: Implement R8_SINT render targetReinUsesLisp
2020-07-13video_core: Implement R8_SNORM render targetReinUsesLisp
2020-07-13video_core/surface: Reorder render target to pixel format switchReinUsesLisp
2020-04-30texture: Implement R8G8UIMorph
- Used by The Walking Dead: The Final Season
2020-03-12video_core: Implement RGBA16_SNORMReinUsesLisp
Implement RGBA16_SNORM with the current API. Nothing special here.
2020-02-25video_core/surface: Add R32_SINT render target formatReinUsesLisp
2019-11-14texture_cache: Use a table instead of switch for texture formatsReinUsesLisp
Use a large flat array to look up texture formats. This allows us to properly implement formats with different component types. It should also be faster.
2019-11-14texture_cache: Drop abstracted ComponentTypeReinUsesLisp
Abstracted ComponentType was not being used in a meaningful way. This commit drops its usage. There is one place where it was being used to test compatibility between two cached surfaces, but this one is implied in the pixel format. Removing the component type test doesn't change the behaviour.
2019-11-14correct the implementation of RGBA16UIgreggameplayer
2019-10-27Video_Core: Implement texture format E5B9G9R9_SHAREDEXP.Fernando Sahmkow
This commit implements the E5B9G9R9 Texture format into the general system and OpenGL backend.
2019-10-17Merge pull request #2966 from FernandoS27/astc-formatsRodrigo Locatti
Implement a series of ASTC formats and R4G4B4A4 format
2019-10-15video_core/surface: Add missing break in PixelFormatFromTextureFormat()Lioncash
Prevents fallthrough into the following case.
2019-10-09Surfaces: Implement R4G4B4A4U format.Fernando Sahmkow
2019-10-09Surfaces: Implement ASTC 6x6 10x10 12x12 8x6 6x5Fernando Sahmkow
2019-09-22video_core: Implement RGBX16F PixelFormatFearlessTobi
2019-09-13video_core/surface: Add function to detect sRGB surfacesReinUsesLisp
This is required for proper conversion to RGBA8_UNORM or RGBA8_SRGB surfaces when a backend can target both native and converted ASTC.
2019-08-21renderer_opengl: Implement RGB565 framebuffer formatReinUsesLisp
2019-06-20surface: Correct format S8Z24Fernando Sahmkow
2019-06-20gl_rasterizer_cache: Use texture buffers to emulate texture buffersReinUsesLisp