citra/src/video_core/renderer_opengl
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
..
frame_dumper_opengl.cpp Prepare frontend for multiple graphics APIs (#6347) 2023-03-27 14:29:17 +03:00
frame_dumper_opengl.h video_core, core: Move pixel download to its own thread 2020-02-27 16:55:08 +08:00
gl_blit_helper.cpp Custom textures rewrite (#6452) 2023-04-27 07:38:28 +03:00
gl_blit_helper.h Custom textures rewrite (#6452) 2023-04-27 07:38:28 +03:00
gl_driver.cpp Custom textures rewrite (#6452) 2023-04-27 07:38:28 +03:00
gl_driver.h Custom textures rewrite (#6452) 2023-04-27 07:38:28 +03:00
gl_format_reinterpreter.cpp gl_format_reinterpreter: Don't release unconditionally (#6459) 2023-04-23 00:35:25 +03:00
gl_format_reinterpreter.h Rasterizer cache refactor (#6375) 2023-04-21 10:14:55 +03:00
gl_rasterizer.cpp Custom textures rewrite (#6452) 2023-04-27 07:38:28 +03:00
gl_rasterizer.h Custom textures rewrite (#6452) 2023-04-27 07:38:28 +03:00
gl_resource_manager.cpp Rasterizer cache refactor (#6375) 2023-04-21 10:14:55 +03:00
gl_resource_manager.h Rasterizer cache refactor (#6375) 2023-04-21 10:14:55 +03:00
gl_shader_decompiler.cpp CI: fix recent build issues (#6148) 2022-10-05 18:43:07 +02:00
gl_shader_decompiler.h video_core: Add missing header guards 2020-04-18 22:06:37 -04:00
gl_shader_disk_cache.cpp gl_shader_disk_cache.cpp: Invalidate Tranferable cache on error (#6392) 2023-04-09 21:16:44 +02:00
gl_shader_disk_cache.h gl_shader_disk_cache: Avoid reopening files every time a shader need to be written. (#6344) 2023-03-25 23:35:17 +02:00
gl_shader_gen.cpp Custom textures rewrite (#6452) 2023-04-27 07:38:28 +03:00
gl_shader_gen.h Custom textures rewrite (#6452) 2023-04-27 07:38:28 +03:00
gl_shader_manager.cpp Custom textures rewrite (#6452) 2023-04-27 07:38:28 +03:00
gl_shader_manager.h Custom textures rewrite (#6452) 2023-04-27 07:38:28 +03:00
gl_shader_util.cpp Rasterizer cache refactor (#6375) 2023-04-21 10:14:55 +03:00
gl_shader_util.h Rasterizer cache refactor (#6375) 2023-04-21 10:14:55 +03:00
gl_state.cpp android: renderer_opengl: Partially implement glLogicOp on GLES. 2021-07-24 23:37:03 +05:30
gl_state.h Custom textures rewrite (#6452) 2023-04-27 07:38:28 +03:00
gl_stream_buffer.cpp Rasterizer cache refactor (#6375) 2023-04-21 10:14:55 +03:00
gl_stream_buffer.h Prepare frontend for multiple graphics APIs (#6347) 2023-03-27 14:29:17 +03:00
gl_texture_runtime.cpp Custom textures rewrite (#6452) 2023-04-27 07:38:28 +03:00
gl_texture_runtime.h Custom textures rewrite (#6452) 2023-04-27 07:38:28 +03:00
gl_vars.cpp video_core: add workarounds to enable GLES support 2019-02-12 16:57:18 -06:00
gl_vars.h video_core: add workarounds to enable GLES support 2019-02-12 16:57:18 -06:00
pica_to_gl.h video_core: Run clang format 2022-08-22 08:00:30 +03:00
post_processing_opengl.cpp citra_android: Storage Access Framework implementation (#6313) 2023-03-23 14:30:52 +01:00
post_processing_opengl.h post_processing_opengl: Make use of std::string_view with GetPostProcessingShaderCode() 2020-04-18 22:27:44 -04:00
renderer_opengl.cpp Custom textures rewrite (#6452) 2023-04-27 07:38:28 +03:00
renderer_opengl.h Custom textures rewrite (#6452) 2023-04-27 07:38:28 +03:00