azahar/src/video_core/renderer_opengl
David Griswold aca8b45664
android: Implement secondary display support (#617)
* Enable the SecondScreenPresentation class

* Update everything to enable second screen on android under GL and Vulkan. Still some issues!

* Some attempts to enable surface changes

* OpenGL is working on surface change, vulkan still no

* release surfaces (also fixed vulkan?)

* added and enabled layout setting

* resolve merge conflict

* rearrange switch cases to satisfy linux compiler

* openGL is working!

* several vk changes to try to fix crashes

* maybe vulkan is working?

* removing unnecessary code attempts

* Simplified secondscreen for better performance

* vk_platform.cpp: Fixed build failure caused by bad rebase

* vk_present_window.h: Removed stray newline

* Applied clang-format

* bug fix for odin 2

* Applied clang-format

* Updated license headers

* Moved SecondScreen class to org.citra.citra_emu.display

* Various formatting and readability improvements

* Added brackets where previously absent for readability

* Additional readability improvement

* RendererVulkan::NotifySurfaceChanged: Simplified condition checking

* change all references to "secondary screen" to "secondary display" to limit confusion with top screen / bottom screen

* rename main_window to main_present_window and second_window to secondary_present_window

* Reverted accidentally downgraded compatibility list submodule

* Removed unnecessary log message

* Applied clang-format

* Added a description to the Secondary Display Screen Layout setting

* Added `_ptr` suffix to `secondary_present_window`

This distinguishes it as a pointer, as `main_present_window` isn't a pointer, so there could be confusion on whether to use `.` or `->`

---------

Co-authored-by: OpenSauce04 <opensauce04@gmail.com>
2025-08-08 21:41:52 +01:00
..
frame_dumper_opengl.cpp frame_dumper: Use jthread (#6855) 2023-08-07 18:21:28 -07:00
frame_dumper_opengl.h frame_dumper: Use jthread (#6855) 2023-08-07 18:21:28 -07:00
gl_blit_helper.cpp video_core: Remove assert in OpenGL LoadProgram and better logging (#1200) 2025-06-30 13:34:16 +02:00
gl_blit_helper.h code: Add texture sampling option (#7118) 2023-11-23 02:04:47 +02:00
gl_driver.cpp gl_driver.cpp: Minimum OpenGLES version is actually 3.2 2024-11-10 19:01:21 +00:00
gl_driver.h Workaround a performance bug in older Mali GPUs (#185) 2024-11-07 14:44:07 +01:00
gl_rasterizer.cpp rasterizer: Increase uniform buffer size (#1174) 2025-06-20 22:10:04 +02:00
gl_rasterizer.h video_core: Refactor state tracking (#1059) 2025-05-26 14:37:03 +02:00
gl_rasterizer_cache.cpp Rasterizer cache refactor v2 (#6479) 2023-05-07 02:34:28 +03:00
gl_resource_manager.cpp video_core: Remove assert in OpenGL LoadProgram and better logging (#1200) 2025-06-30 13:34:16 +02:00
gl_resource_manager.h video_core: Remove assert in OpenGL LoadProgram and better logging (#1200) 2025-06-30 13:34:16 +02:00
gl_shader_disk_cache.cpp Allow shader cache to switch to different titles at runtime (#978) 2025-04-24 19:03:48 +02:00
gl_shader_disk_cache.h Allow shader cache to switch to different titles at runtime (#978) 2025-04-24 19:03:48 +02:00
gl_shader_manager.cpp Allow shader cache to switch to different titles at runtime (#978) 2025-04-24 19:03:48 +02:00
gl_shader_manager.h Allow shader cache to switch to different titles at runtime (#978) 2025-04-24 19:03:48 +02:00
gl_shader_util.cpp video_core: Remove assert in OpenGL LoadProgram and better logging (#1200) 2025-06-30 13:34:16 +02:00
gl_shader_util.h video_core: Remove assert in OpenGL LoadProgram and better logging (#1200) 2025-06-30 13:34:16 +02:00
gl_state.cpp video_core: Merge tex0 and tex_cube (#7173) 2023-11-17 03:14:10 -08:00
gl_state.h video_core: Merge tex0 and tex_cube (#7173) 2023-11-17 03:14:10 -08: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_mailbox.cpp Add vulkan backend (#6512) 2023-09-13 01:28:50 +03:00
gl_texture_mailbox.h rasterizer_cache: Remove runtime allocation caching (#6705) 2023-08-01 03:35:41 +03:00
gl_texture_runtime.cpp Applied clang-format-18 to codebase 2024-11-10 21:02:54 +00:00
gl_texture_runtime.h renderer_vulkan: Rewrite descriptor set management and various small fixes (#77) 2024-11-07 14:43:54 +01: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 Remove the telemetry (#45) 2024-11-07 14:42:32 +01:00
post_processing_opengl.cpp Fix post processing shaders crashing on Intel GPUs (#6890) 2023-08-17 22:17:24 +02: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 android: Implement secondary display support (#617) 2025-08-08 21:41:52 +01:00
renderer_opengl.h video_core: Fix LCD color fill (#1198) 2025-06-29 13:51:29 +02:00