Commit Graph

24 Commits

Author SHA1 Message Date
Alexander Babikov
224daa92d0 qt: Remove fullscreen status icons 2024-02-13 21:13:25 +05:00
Miran Grča
05ac665ee7 Merge branch 'master' into fullscreenstaticonqt 2023-11-08 07:08:51 +01:00
Jasmine Iwanek
3fe4f75108 A bit more clang-format 2022-11-19 11:53:07 -05:00
Cacodemon345
383bae65e2 qt: force update to happen after hardware renderer is created 2022-11-03 15:42:29 +06:00
Cacodemon345
11f6fee8ca qt_hardwarerenderer: Don't update the entire texture on blits 2022-09-01 16:55:12 +06:00
Cacodemon345
dd23397854 qt: Add option to apply fullscreen stretching modes when maximized 2022-08-10 01:27:54 +06:00
Cacodemon345
c577aa85f2 qt: Add fullscreen status icons support and option 2022-02-16 01:42:11 +06:00
ts-korhonen
279cbdbf97 qt: also fix typos in the file references to RendererCommon 2022-01-30 22:13:41 +02:00
ts-korhonen
8c8e2219d8 qt: Refactor renderers buffer ownership
Invert the way buffers are created; make renderer create buffers for
renderer stack.
Use QImage bits as the buffer for software renderer.
2022-01-15 21:45:34 +02:00
Cacodemon345
17e657f0ee Add support for Qt6 2021-12-31 16:47:49 +06:00
Cacodemon345
1bdff37e38 * Turned the software renderer into a window as well
* Fix inability to move window on GNOME
* Fix status bar icons being frozen after icon set switch
2021-12-29 23:49:09 +06:00
Cacodemon345
814aaf08a7 Add OpenGL 3.0 Core renderer 2021-12-27 16:32:03 +06:00
Cacodemon345
33d2844de6 Fix OpenGL ES renderer not actually creating OpenGL ES contexts 2021-12-26 11:52:50 +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
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
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
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
Cacodemon345
2aa93d2e17 Merge remote-tracking branch 'winqt/qt' into winqt5 2021-12-17 16:36:47 +06:00
Cacodemon345
30376341d1 Start of windowed OpenGL rendering 2021-12-17 12:17:54 +06:00
ts-korhonen
7c2cd35965 qt: Add overload protection to renderers
Added atomic_flags for renderer buffers to prevent concurrent usage and
overloading the renderer with draw requests when it's busy.
2021-12-15 00:37:48 +02:00
Cacodemon345
7934d90039 libevdev mouse support 2021-12-10 01:22:13 +06:00
Joakim L. Gilje
61a2cf986b implemented fullscreen stretch modes 2021-12-07 13:47:42 +01:00
Joakim L. Gilje
a74afc3f1e added software renderer. split common functions prev.
in gleswidget to renderstack (a QStackWidget), which in
turn calls an actual renderer. added ability to target GLES
directly, but this is maybe uneeded.
2021-12-04 21:33:04 +01:00