Commit Graph

62 Commits

Author SHA1 Message Date
OBattler
31abafdfed Some changes to the OpenGL renderer. 2025-11-25 06:21:43 +01:00
Jasmine Iwanek
ca424aed32 clang-format in src/qt 2025-11-07 20:25:29 -05:00
Cacodemon345
c5deff3bd3 Try to fix OpenGL screenshot crashes 2025-10-27 22:10:40 +06:00
Alexander Babikov
ad64553992 Properly fix the workaround for OpenGL 3.0-3.1
It was incorrectly comparing the OpenGL version and the GLSL
version, plus the pointer arithmetic broke with debug builds

Also rename the misleadingly-named array and fix logging
2025-10-21 17:13:38 +05:00
OBattler
5c3f0a4ecc OpenGL Renderer: Remove leftover debug code. 2025-10-12 18:21:08 +02:00
Cacodemon345
f97dea2be6 Try to reduce hacks (#6313) 2025-10-10 11:32:32 +02:00
Miran Grča
02b59c4626 Update qt_openglrenderer.cpp: Update more BGRA's to BGR. 2025-10-10 03:13:00 +02:00
Miran Grča
c0af46af35 Update qt_openglrenderer.cpp: Make the renderer RGB and not RGBA. 2025-10-10 02:58:02 +02:00
Miran Grča
1fe3b18fe3 Update qt_openglrenderer.cpp: Fix the previous fix. 2025-10-10 00:51:33 +02:00
Miran Grča
ef23521a77 Update qt_openglrenderer.cpp: Port the version workaround from PCem. 2025-10-10 00:23:19 +02:00
Jasmine Iwanek
8ac8461dd3 Header cleanups (2/2) (#6275) 2025-10-04 03:40:32 +02:00
Cacodemon345
236007b4c8 Force AlphaBuffer to be 0 (#6217) 2025-09-23 18:31:12 +02:00
RichardG867
1d9f84b025 Revert "Bump GLSL version of default shaders to 1.50"
This reverts commit 999812e9b9.
2025-09-23 12:34:46 -03:00
Cacodemon345
b1e1596e2b Remove other remnants of OpenGL ES support (#6213)
* Remove other remnants of OpenGL ES support

* Force OpenGL surface format if possible
2025-09-23 14:26:32 +02:00
Cacodemon345
999812e9b9 Bump GLSL version of default shaders to 1.50 2025-09-20 12:40:58 +06:00
Cacodemon345
cdd72a18b6 Fix resize glitches while paused 2025-09-19 15:46:36 +06:00
Cacodemon345
1545a80fb7 Save processed screenshots without an alpha channel 2025-09-17 04:32:00 +06:00
Cacodemon345
e29d76f946 Force all processed screenshots to be opaque 2025-09-17 02:52:26 +06:00
Cacodemon345
18cdab52ac Port remaining PCem OpenGL renderer features 2025-08-27 13:01:55 +06:00
Jasmine Iwanek
6d6d5931bf Fix several codeql warns 2025-07-27 20:59:55 -04:00
Jasmine Iwanek
3a26b9d46b Many warning fixes 2025-06-28 23:54:07 -04:00
Cacodemon345
2139e3dd51 Attempt to make OpenGL 3.0 filter settings consistent 2025-05-23 00:34:12 +06:00
Alexander Babikov
46978a808c Disable rich text for ui_msgbox()-generated dialogs
No strings that gets passed to `ui_msgbox()` use HTML, and it causes
newlines to be ignored unless replaced by <br>
`MainWindow::showMessage()` can still accept rich text, but it's now
optional and disabled by default
2025-04-18 01:36:39 +05:00
Cacodemon345
629d976f8e Disable OpenGL 3.x logs 2025-04-17 13:31:28 +06:00
Alexander Babikov
0a2d15db9b qt: Reword some error messages slightly 2025-04-11 23:31:05 +05:00
Cacodemon345
8f94ccec80 Qt: Fix HiDPI scaling on non-software renderers 2025-03-30 21:03:46 +06:00
Cacodemon345
4a9b0e0df8 Apply filter changes to the scene FBO texture as well 2025-03-15 13:17:41 +06:00
Cacodemon345
c166abbbc1 Always use an alpha value of 1.0 for drawing scene to texture
Fixes invisible screenshots and blank screens on certain systems
2025-03-14 14:07:33 +06:00
Cacodemon345
c23114ab8d Attempt fixing OpenGL 3.x screenshot 2025-03-14 04:18:07 +06:00
Cacodemon345
f9572be8a5 Alter #version statements for macOS 2025-03-12 23:54:57 +06:00
OBattler
c73c7212f8 QT OpenGL Renderer: Remove the unused variable "ver". 2025-03-12 18:02:01 +01:00
Cacodemon345
1c54261a1b Fix shader manager dialog crash when using multi-monitors 2025-03-12 21:16:53 +06:00
Cacodemon345
4d5adeae36 Restore older GLSL version code 2025-03-11 20:35:05 +06:00
Cacodemon345
2e77b47f89 Call glViewport with correct function pointer 2025-03-11 00:14:02 +06:00
Cacodemon345
df1f739b90 OpenGL 3.x screenshots are now processed 2025-03-10 23:10:34 +06:00
OBattler
6fa39b3a67 OpenGL Renderer: Explicitly cast const char * to char *. 2025-03-10 17:32:46 +01:00
Cacodemon345
3cad9024c8 Rename the files as well 2025-03-10 21:15:39 +06:00
Cacodemon345
81461f677d Cleanups, copyright headers and name changing for PRing 2025-03-10 20:54:25 +06:00
Jasmine Iwanek
a40630ba63 Even more tabs to spaces 2023-01-07 14:09:51 -05:00
Jasmine Iwanek
3fe4f75108 A bit more clang-format 2022-11-19 11:53:07 -05:00
Cacodemon345
e44e74dd7c qt: fix macOS build 2022-11-01 11:34:42 +06:00
Cacodemon345
65f6f453c0 qt: try another way 2022-11-01 03:15:48 +06:00
Alexander Babikov
94f76ef3c0 Fix some warnings in Qt code 2022-08-13 15:42:22 +05:00
Cacodemon345
dd23397854 qt: Add option to apply fullscreen stretching modes when maximized 2022-08-10 01:27:54 +06:00
Adrien Moulin
68812d4368 qt_openglrenderer: fix fullscreen rendering on mac 2022-08-06 11:51:39 +02:00
Cacodemon345
6351394918 qt: Fix compile on ARM64 with GLES2 headers 2022-08-01 12:45:38 +06:00
Cacodemon345
2d184a50f7 qt_openglrenderer: Fix black area at the bottom of the screen 2022-07-11 15:32:07 +06:00
Cacodemon345
90ba53e4e8 Finish multi-monitor support 2022-07-07 14:34:59 +06:00
ts-korhonen
652d7e6699 qt: gl-core; Use 4.1 core macOS & get glsl version from context
MacOS will use OpenGL 2.1 unless requested 4.1 core. Shader language
version is now set to what is reported by the driver.
2022-03-06 01:06:47 +02:00
ts-korhonen
828accc91d qt: More error handling and tweaking to opengl 3 renderer 2022-03-05 02:57:57 +02:00