citra/src/core
GPUCode 06f3c90cfb
Custom textures rewrite (#6452)
* common: Add thread pool from yuzu

* Is really useful for asynchronous operations like shader compilation and custom textures, will be used in following PRs

* core: Improve ImageInterface

* Provide a default implementation so frontends don't have to duplicate code registering the lodepng version

* Add a dds version too which we will use in the next commit

* rasterizer_cache: Rewrite custom textures

* There's just too much to talk about here, look at the PR description for more details

* rasterizer_cache: Implement basic pack configuration file

* custom_tex_manager: Flip dumped textures

* custom_tex_manager: Optimize custom texture hashing

* If no convertions are needed then we can hash the decoded data directly removing the needed for duplicate decode

* custom_tex_manager: Implement asynchronous texture loading

* The file loading and decoding is offloaded into worker threads, while the upload itself still occurs in the main thread to avoid having to manage shared contexts

* Address review comments

* custom_tex_manager: Introduce custom material support

* video_core: Move custom textures to separate directory

* Also split the files to make the code cleaner

* gl_texture_runtime: Generate mipmaps for material

* custom_tex_manager: Prevent memory overflow when preloading

* externals: Add dds-ktx as submodule

* string_util: Return vector from SplitString

* No code benefits from passing it as an argument

* custom_textures: Use json config file

* gl_rasterizer: Only bind material for unit 0

* Address review comments
2023-04-27 07:38:28 +03:00
..
arm externals: bump dynarmic to 6.4.6 (#6423) 2023-04-09 21:03:48 +02:00
cheats Custom textures rewrite (#6452) 2023-04-27 07:38:28 +03:00
dumping Custom textures rewrite (#6452) 2023-04-27 07:38:28 +03:00
file_sys Custom textures rewrite (#6452) 2023-04-27 07:38:28 +03:00
frontend Custom textures rewrite (#6452) 2023-04-27 07:38:28 +03:00
gdbstub Custom textures rewrite (#6452) 2023-04-27 07:38:28 +03:00
hle Merge pull request #6395 from ian-h-chamberlain/feature/gdbstub-hio 2023-04-11 20:32:48 +05:30
hw Custom textures rewrite (#6452) 2023-04-27 07:38:28 +03:00
loader core\loader\ncch.cpp: skip parsing Region info, if user has already... (#6463) 2023-04-26 00:13:21 +02:00
rpc core: Remove unnecessary enum casts in log calls 2020-12-29 06:39:21 +01:00
tracer CI: fix recent build issues (#6148) 2022-10-05 18:43:07 +02:00
3ds.h Move screen size constants from video_core to core 2017-05-27 18:41:24 -07:00
CMakeLists.txt Custom textures rewrite (#6452) 2023-04-27 07:38:28 +03:00
core_timing.cpp Port yuzu-emu/yuzu#4437: "core_timing: Make use of uintptr_t to represent user_data" (#5499) 2022-11-06 02:24:45 +01:00
core_timing.h Port yuzu-emu/yuzu#4437: "core_timing: Make use of uintptr_t to represent user_data" (#5499) 2022-11-06 02:24:45 +01:00
core.cpp Custom textures rewrite (#6452) 2023-04-27 07:38:28 +03:00
core.h Custom textures rewrite (#6452) 2023-04-27 07:38:28 +03:00
global.h Refactored out the horrible static var in CoreTiming 2020-03-28 15:47:36 +00:00
memory.cpp Add 3GX plugin loader (#6172) 2022-12-11 10:08:58 +02:00
memory.h Add 3GX plugin loader (#6172) 2022-12-11 10:08:58 +02:00
mmio.h clang-format fixes 2020-02-13 17:39:15 +08:00
movie.cpp Add per game configuration options (#6187) 2022-12-08 13:27:25 +02:00
movie.h Minor improvements to the UX 2021-02-08 11:25:38 +08:00
perf_stats.cpp Add per game configuration options (#6187) 2022-12-08 13:27:25 +02:00
perf_stats.h citra_qt: Allow enabling frame advance before emulation start 2021-02-08 11:25:37 +08:00
precompiled_headers.h Port yuzu-emu/yuzu#9300: "CMake: Use precompiled headers to improve compile times" (#6213) 2022-12-17 16:06:38 +01:00
savestate.cpp savestates: various changes 2023-04-10 00:51:02 -03:00
savestate.h savestates: various changes 2023-04-10 00:51:02 -03:00
system_titles.cpp Rework system title handling with up-to-date title list and region detection support. (#6356) 2023-03-29 13:55:29 +02:00
system_titles.h Rework system title handling with up-to-date title list and region detection support. (#6356) 2023-03-29 13:55:29 +02:00
telemetry_session.cpp Prepare frontend for multiple graphics APIs (#6347) 2023-03-27 14:29:17 +03:00
telemetry_session.h common/telemetry: Migrate namespace into the Common namespace 2021-01-04 05:17:13 +01:00