Commit Graph

174 Commits

Author SHA1 Message Date
ts-korhonen
7a90cb4c8b qt: add missing include 2021-12-27 14:25:18 +02:00
Cacodemon345
814aaf08a7 Add OpenGL 3.0 Core renderer 2021-12-27 16:32:03 +06:00
Cacodemon345
b40b3a56ae Compare against MAP_FAILED for Qt plat_mmap 2021-12-26 15:48:06 +06:00
Cacodemon345
33d2844de6 Fix OpenGL ES renderer not actually creating OpenGL ES contexts 2021-12-26 11:52:50 +06:00
Cacodemon345
b192518386 Respect filtering options 2021-12-26 01:34:34 +06:00
Cacodemon345
fa70dda2c0 Fix screenshots being cut off 2021-12-26 00:49:21 +06:00
Cacodemon345
033abed3fe Use shader-based hardware rendering 2021-12-25 21:49:25 +06:00
Cacodemon345
07af487acb * Fix rare crash when switching renderers
* Abandon QPainter in hardware renderers in favour of OpenGL
* Disable VSync in the application globally
2021-12-25 15:34:00 +06:00
Cacodemon345
9291f23461 * Fix black screen on Wayland when setting resizable options
* Fix incorrect fixed size at startup when status bar is disabled
* Fix incorrect fixed size when it is set from Specify Dimensions
2021-12-25 15:28:48 +06:00
Cacodemon345
2c4fe15539 Implement rest of Action checkable options 2021-12-24 16:31:36 +06:00
Cacodemon345
9671469778 * Implement settings-only mode
* Show correct directory to place ROMs in on macOS
2021-12-24 15:02:16 +06:00
Cacodemon345
0402048629 Use platform string comparison functions 2021-12-24 14:16:10 +06:00
Cacodemon345
13d75c2e4f Close the main window after ACPI/APM shutdown 2021-12-24 12:59:10 +06:00
Cacodemon345
ff175e399e Fix screenshots 2021-12-24 11:53:24 +06:00
Cacodemon345
fddae6b11f * Remember windows geometry correctly
* Disable maximize button when window isn't resizable
2021-12-24 01:57:26 +06:00
ts-korhonen
f1b6f81b7d Merge branch 'winqt5' of https://github.com/Cacodemon345/86Box into qt 2021-12-23 20:35:30 +02:00
ts-korhonen
b3876ee934 qt: create opengl context on hardware renderer
Prevent OpenGLES renderer crashing on windows
2021-12-23 20:31:51 +02:00
Cacodemon345
eb84dc6ef4 Make OpenGL ES only available on macOS if ANGLE is loaded 2021-12-24 00:26:47 +06:00
Cacodemon345
4002149d4d * Menus invoked from status bar now appear inside the window 2021-12-24 00:15:30 +06:00
Cacodemon345
5a59d4eb05 * Fix wrong title bar text for Windows 2021-12-24 00:14:48 +06:00
Cacodemon345
17c3e803a4 Qt UI improvements
* Port 209b5d9cd1 to Qt UI
* Remove dividers from status bar
* Make OpenGL ES available as an option only if ANGLE is used
2021-12-23 17:05:11 +06:00
Cacodemon345
f481574a0f Port 3 out of 4 recent Win32 commits 2021-12-23 01:59:22 +06:00
Cacodemon345
67a0f7a85f Blitting improvements
* Use a single QImage copy for actual drawing
* Use std::array and std::unique_ptr for image buffers
* Signal immediately after copying the buffer to internal image
2021-12-21 16:38:13 +06:00
ts-korhonen
bbb0b38d31 qt: Remove a workaround that is now obsolete 2021-12-21 00:28:52 +02:00
ts-korhonen
a99b556b14 qt: string.h inclusion predicate was backwards 2021-12-20 22:51:39 +02:00
ts-korhonen
a9ecd17f5c Improve clang fixes 2021-12-20 21:54:25 +02:00
ts-korhonen
b6b43a13a0 Merge branch 'winqt5' of https://github.com/Cacodemon345/86Box into qt 2021-12-20 00:15:02 +02:00
ts-korhonen
3b16136142 qt: Fix windows clang & vcpkg build 2021-12-19 23:49:47 +02:00
Cacodemon345
63f07b8957 * Fix another show-stopper bug where the cards wouldn't show their true selections when Other Peripherals settings page was opened 2021-12-20 01:38:58 +06:00
Cacodemon345
da9b8f4b64 * Fix files not appearing because of filter strings being wrong
* Implement settings save prompt
2021-12-20 00:30:42 +06:00
ts-korhonen
d3467568b0 qt: port atomic_flag doresize from master 2021-12-17 22:23:08 +02:00
ts-korhonen
31fe83072e qt: remove redundant files 2021-12-17 21:33:11 +02:00
Cacodemon345
227e177b11 Implement action exclusivity in menus 2021-12-18 01:03:05 +06:00
Cacodemon345
0313d02073 Delegate input events of HardwareRenderer to RendererStack 2021-12-18 00:37:30 +06:00
ts-korhonen
ffde0ea254 qt: fix mouse grab on opengl renderer (for windows) 2021-12-17 18:37:57 +02:00
ts-korhonen
0c7450a08a Merge branch 'winqt5' of https://github.com/Cacodemon345/86Box into qt 2021-12-17 16:48:31 +02:00
ts-korhonen
265abedb3b Merge branch 'qt' of https://github.com/jgilje/86Box into qt 2021-12-17 16:23:59 +02:00
Cacodemon345
2aa93d2e17 Merge remote-tracking branch 'winqt/qt' into winqt5 2021-12-17 16:36:47 +06:00
Joakim L. Gilje
c3c5a87a70 fixups after latest merge: plat_midi_ => rtmidi_, framebuffer is now 2048x2048 2021-12-17 11:10:32 +01:00
Cacodemon345
30376341d1 Start of windowed OpenGL rendering 2021-12-17 12:17:54 +06:00
ts-korhonen
e686a0ad87 qt: Buffer/texture size to 2048x2048 2021-12-17 07:52:30 +02:00
ts-korhonen
2e4c5fd94c Merge branch 'qt' of https://github.com/jgilje/86Box into qt 2021-12-17 07:37:04 +02:00
Joakim L. Gilje
f8cd957aac missing include for unique_ptr 2021-12-16 22:30:48 +01:00
ts-korhonen
b3c0485515 qt: import plugins only for win32 build 2021-12-16 23:05:55 +02:00
ts-korhonen
bb4859e55e Merge branch 'qt' of https://github.com/jgilje/86Box into qt 2021-12-16 19:35:34 +02:00
Joakim L. Gilje
92b7ea8536 simplified (from @OBattler) 2021-12-16 13:52:37 +01:00
Joakim L. Gilje
17a75137de include <algorithm> for std::min 2021-12-16 12:53:04 +01:00
ts-korhonen
07e0b54171 qt: Set vsync off for hardware renderers 2021-12-16 07:52:33 +02:00
ts-korhonen
9d313fde17 qt: clear buffers_in_use flags when changing renderer 2021-12-15 21:19:46 +02:00
ts-korhonen
75c045c103 Merge branch 'qt' of https://github.com/jgilje/86Box into qt 2021-12-15 21:09:59 +02:00