Commit Graph

367 Commits

Author SHA1 Message Date
Henrik Rydgård d43b1d4618 String function cleanup 2025-08-31 14:45:41 +02:00
Henrik Rydgård 9218fe9b59 Rework the shutdown logic in the OpenGL backend. Eliminated race conditions. 2025-08-31 10:57:06 +02:00
Henrik Rydgård b813a6c30f Logging improvements 2025-08-31 00:59:51 +02:00
Henrik Rydgård 539abb8d4f More minor cleanups 2025-08-31 00:59:51 +02:00
Henrik Rydgård 00a13bfb14 Fix static analysis warnings (pointless move, empty instead of size) 2025-08-31 00:59:51 +02:00
Henrik Rydgård 6cfea96e58 Remove D3D9 support, to make future changes easier 2025-06-10 15:07:16 +02:00
Henrik Rydgård dbe6ec80a0 Fix some bad "for (auto x : y)" usage 2025-04-29 16:46:14 +02:00
Henrik Rydgård 41b77bf1ae More log cleanup 2025-04-14 22:27:51 +02:00
Henrik Rydgård 4dd3621fa0 Remove some unnecessary <algorithm> includes. 2024-12-18 17:04:27 +01:00
Henrik Rydgård 111d0c872d Global rename of FBChannel to Aspect, also make it a class enum 2024-12-15 22:24:05 +01:00
Henrik Rydgård 6763c13f88 ImGui: Finish implementing pipeline switching for all backends 2024-11-27 01:19:05 +01:00
Henrik Rydgård 09779e0f44 ImGui drawing: Allow varying the pipeline when binding textures 2024-11-26 19:59:09 +01:00
Henrik Rydgård eaff38f161 Implement ImGui clipped batch texturing support in the other backends too 2024-11-26 09:38:30 +01:00
Henrik Rydgård c6c9e32d15 Fix the ImDebugger on OpenGL 2024-11-21 15:48:18 +01:00
Henrik Rydgård 472103d460 Back out the 32-bit index buffer support. Not actually needed for ImGui. 2024-11-04 23:14:39 +01:00
Henrik Rydgård 184a3ecf2a Code fixes. Correct the UWP fix 2024-11-04 23:14:39 +01:00
Henrik Rydgård 17a7c80cb1 Get it rendering on Vulkan and D3D11 (OpenGL is bugged though) 2024-11-04 23:14:39 +01:00
Henrik Rydgård d37c04079d Change the 2D matrix generation to query the coordinate convention from the draw context 2024-11-04 23:14:23 +01:00
Henrik Rydgård 8f8598c347 thin3d: Add partial support for 32-bit index buffers. Add DrawIndexedUP. 2024-11-04 23:14:22 +01:00
Henrik Rydgård a545d3074f Do some renaming, dedupe some strings (old commit resurrected), add an assert 2024-10-22 22:28:06 +02:00
Henrik Rydgård a6a189c24d An old version of android had strict JNI validation of UTF-8 strings enabled. Let's pass it. 2024-10-22 11:02:26 +02:00
Henrik Rydgård e1527233d9 Add the EmuScreen pass assert on OpenGL as well 2024-10-14 14:35:35 +02:00
Henrik Rydgård 4d6905672e Bunch more linting 2024-10-10 11:57:10 +02:00
Henrik Rydgård e0c12c9547 More lint warning fixes 2024-10-10 10:52:45 +02:00
Henrik Rydgård b2d9ac54dd Make InfoField an "enum class", extract function FormatAPIVersion 2024-09-25 16:34:33 +02:00
Henrik Rydgård a6dbb4dfdb Merge pull request #19468 from hrydgard/german-static-const-override
Code cleanup: Add some const and static modifiers
2024-09-17 17:35:06 +02:00
Henrik Rydgård 0bb69a0ccf Merge pull request #19464 from hrydgard/german-align-struct-64
Partial application of GermanAizek's PR #19047
2024-09-17 15:29:15 +02:00
Henrik Rydgård 2ba4eaf3dd First part of the const changes etc 2024-09-17 15:13:13 +02:00
Henrik Rydgård 9d48e51205 Merge pull request #19467 from hrydgard/german-check-before-delete
[Common/Core/Windows] Removed excess check pointer before delete or free
2024-09-17 14:27:41 +02:00
Henrik Rydgård ed8f0c560a Merge branch 'master' into fix-core-gpu-always-true 2024-09-17 13:03:26 +02:00
Herman Semenov 3c66f149d3 [Common/Core/Windows] Removed excess check pointer before delete or free() 2024-09-17 11:34:42 +02:00
Herman Semenov dcb8b4f81b [GPU/Core/Debugger] Reduced struct sizes using align for x64 platforms, fields carefully moved
Then revert changes that aren't worth it
2024-09-16 13:32:48 +02:00
Henrik Rydgård 665f03ff62 Add provoking vertex to caps, flip the flag around 2024-07-17 14:40:52 +02:00
Henrik Rydgård e01ca5b057 Logging API change (refactor) (#19324)
* Rename LogType to Log

* Explicitly use the Log:: enum when logging. Allows for autocomplete when editing.

* Mac/ARM64 buildfix

* Do the same with the hle result log macros

* Rename the log names to mixed case while at it.

* iOS buildfix

* Qt buildfix attempt, ARM32 buildfix
2024-07-14 14:42:59 +02:00
Luboš V 8120d4c10c OpenGL - Remove unused code 2024-06-24 19:12:01 +02:00
Lubos ffca688f99 OpenXR - Remove multiview 2024-06-24 17:00:56 +02:00
Henrik Rydgård 3065979528 iOS: Fix hang when task switching in GL mode 2024-05-29 18:21:58 +02:00
Henrik Rydgård f864f52b64 More app lifecycle work. Switching between Vulkan and OpenGL now works. 2024-05-24 11:48:44 +02:00
Henrik Rydgård 9dc8c05fae Merge pull request #19038 from GermanAizek/all-fields-init-refactor
[Core/GL/UI] Not all fields initilize and minor code refactor
2024-05-12 17:05:39 +02:00
Herman Semenov 8e580045cd Fixed condition always false using unsigned int and logical AND 0 & 4 2024-04-11 16:56:59 +03:00
Herman Semenov c901e8c9bb [Core/GPU] Fixed condition blocks where result always true 2024-04-11 16:05:11 +03:00
Herman Semenov 0d1f7e2e6c [Core/GL/UI] Not all fields initilize and minor code refactor 2024-04-11 15:50:42 +03:00
Henrik Rydgård c0bc6446dd Improve assert, cleanup 2024-02-01 16:33:01 +01:00
Henrik Rydgård 7af6501a6f UI: ScrollView: Improve interaction with the scroll bar thingy, avoid accidental clicks 2024-01-31 09:37:11 +01:00
Henrik Rydgård cbb4236cd8 Vulkan: Attempt to fix some more shutdown race conditions, simplify. 2024-01-17 14:49:49 +01:00
Henrik Rydgård e3177ac870 Make some global string pointers const, not just the strings.
Minor cleanup.
2023-12-29 14:09:45 +01:00
Henrik Rydgård 126d88ecfc Back out clearly inconsequential/useless .reserve() calls 2023-12-29 08:27:56 +01:00
Herman Semenov b8748ae9e5 [Common/File/GPU/Render/Input] Using reserve if possible 2023-12-15 14:00:51 +03:00
Henrik Rydgård 31c85ae0a5 Add the basics of a played-time tracker. 2023-11-26 19:15:38 +01:00
Jools Wills 82ce83185e Fix building on OpenGL ES 2.0 (RPI VideoCore IV)
GL_COMPRESSED_RGBA_ASTC_4x4_KHR is not defined and looks to be an OpenGL ES 3.0 extension.

This fixes building on the Raspberry Pi 1-3 using VideoCore IV OpenGL ES 2.0 headers.
2023-11-21 20:16:09 +00:00